Skip to content

Bug: utilitiescs-test-hygiene-residuals #817

Description

@drmoisan
  • Work Mode: full-bug

Summary

Standing residuals issue for low-severity hygiene findings in UtilitiesCS.Test that reviews surface
but that do not each warrant their own issue. Opened with one entry: the pre-existing 1067-line
FolderPredictorTests.cs, which is more than twice the repository's 500-line file cap.

Environment

  • OS/version: Windows 11 Pro 10.0.26200, .NET Framework 4.8
  • Python version: not applicable
  • Command/flags used: file line counts taken during issue 809's [P4-T5] gate
  • Data source or fixture: not applicable

Steps to Reproduce

  1. Count the lines in UtilitiesCS.Test/OutlookObjects/Folder/FolderPredictorTests.cs.
  2. Compare against the 500-line cap in .claude/rules/general-code-change.md, "File Size Limit".

Expected Behavior

No test file exceeds 500 lines. The cap has no test-code exemption; the listed exemptions are
throwaway agent scripts, raw text fixtures for language-processing test data, and Markdown.

Actual Behavior

UtilitiesCS.Test/OutlookObjects/Folder/FolderPredictorTests.cs is 1067 lines.

This is pre-existing and was not introduced by issue 809; that item's line-count gate simply recorded
it. Splitting the file along its existing behavioural groupings is the obvious remedy, but it touches
a file several in-flight items depend on, so it should be sequenced rather than done opportunistically.

Logs / Screenshots

  • Attached minimal logs or screenshot
  • Snippet: issue 809 evidence/qa-gates/p4-t5-line-counts.md.

Impact / Severity

  • Blocker
  • High
  • Medium
  • Low

Low: a maintainability cost, with no behavioural defect. Recorded so it is not rediscovered by every
subsequent review of this assembly.

Source

From: docs/features/potential/2026-09-08-utilitiescs-test-hygiene-residuals.md

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions