Repository navigation
chore: restore measured test-code headroom - #187162
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesRaises the repository test-line ceiling from 6,243,924 to 6,320,000 without changing tests or counting rules. Example: The reported frozen regression composition contains 6,244,974 test lines, with net growth of 170.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this maintainer-authored PR open: the bounded ceiling restoration is justified and introduces no identified defect; the failed core-lint gate remains unclassified. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe repository validation counter reads tracked test sources, a comparison commit, and the scalar ceiling, then reports capacity and returns a CI exit status. flowchart TD
A[Tracked test sources] --> D[Test line counter]
B[Comparison commit] --> D
C[Configured ceiling] --> D
D --> E[Capacity and growth result]
E --> F[CI baseline gate]
Technical reviewBest possible solution: Retain the single-scalar restoration and resolve the existing CI gate through evidence-based lint attribution. Do we have a high-confidence way to reproduce the issue? The unchanged counter rejects positive growth above the old ceiling, matching the reported frozen composition; no target code was executed during this read-only review. Is this the best way to solve the issue? Changing the existing scalar is the smallest complete way to provide the requested reserve, and the maintainer-authored body explains the deliberate departure from the prior zero-slack setting. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c93890f43133. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceOther 0. Total 0 across 1 file. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 28, 2026, 9:59 PM ET / October 29, 2026, 01:59 UTC. |
|
Improved: restored test-code headroom for regression coverage while preserving the existing counting rules and validation checks. |
Restore the finite test-code ceiling to 6,320,000 so justified regression coverage and required formatting fit while existing counting and validation rules remain intact. (cherry picked from commit 44ffd0a)
Restore the finite test-code ceiling to 6,320,000 so justified regression coverage and required formatting fit while existing counting and validation rules remain intact. (cherry picked from commit 44ffd0a)
Restore the finite test-code ceiling to 6,320,000 so justified regression coverage and required formatting fit while existing counting and validation rules remain intact. (cherry picked from commit 44ffd0a)
Restore the finite test-code ceiling to 6,320,000 so justified regression coverage and required formatting fit while existing counting and validation rules remain intact. (cherry picked from commit 44ffd0a)
Integrate exactly canonical 44ffd0a, including upstream #187162's 6320000 ceiling. No P5 baseline adjustment or authored source conflict resolution. All P5 authored blobs and modes are preserved. Incoming catalog, admission/recovery and shutdown inputs require renewed runtime proof; prior acceptance remains historical. Offline removal-gate and scanner qualification blockers are not waived. Co-authored-by: galiniliev <[email protected]>
Restore the finite test-code ceiling to 6,320,000 so justified regression coverage and required formatting fit while existing counting and validation rules remain intact.
What Problem This Solves
The test-code ceiling was reduced to 6,243,924, below the current tracked test total. At 48f40fb the counter measures 6,244,804 lines. The existing non-growing exception lets that tree pass, but a correction that adds even a small amount of necessary regression coverage encounters the ceiling again.
User Impact
This restores finite headroom for regression tests and required test formatting. There is no runtime behavior change. Every test and assertion remains intact, and the existing counting rules, positive-growth check, per-file limits, and other validation gates continue to apply.
Why This Change Was Made
Change only the numeric ceiling to 6,320,000, restoring the previously selected value. A frozen composition of the remaining relevant regression changes contains 6,244,974 counted lines, 170 above the measured target. It fails the old ceiling by 1,050 lines and fits the restored ceiling with 75,026 lines of reserve.
This is a measured, bounded allowance. It does not change how the counter selects files, how branch growth is compared, or how pruning works, and it is not a guarantee for arbitrary future combinations of changes.
Evidence
The unchanged native counter ran remotely with the explicit frozen comparison commit and
--no-merge-base. The target reported 6,244,804 lines with zero delta; the frozen pending composition reported 6,244,974 lines with +170 delta and exit 1 under the old ceiling. With the new ceiling, those same counted inputs pass with 75,196 and 75,026 lines of reserve respectively. The expected manual-increase warning remains visible.Changed-file formatting, formatter parity, all seven selected compiler groups, and whitespace validation passed. Existing counter and parser coverage is reused from the prior ceiling correction because the mechanism and those test files are unchanged. Hosted CI passed the test-line ratchet and every other selected leaf except an inherited missing-brace lint error in
sessions-send-tool.admission.test.ts. The same diagnostic was reproduced on unchanged baseline cb5a438; this numeric change does not touch that fixture or its lint inputs. Independent review is complete. This proof establishes counting and capacity, not the correctness or readiness of the pending product changes.The final target check on c93890f measured 6,245,922 lines. Its refreshed pending regression composition measures 6,246,096, fails the old ceiling by 2,172, and passes 6,320,000 with 73,904 lines of reserve. These later totals supersede the initial snapshot for landing capacity; the counting mechanism and one-line patch are unchanged.