Skip to content

chore(ci): allocate recovery regression test budget - #186456

Merged
vincentkoc merged 1 commit into
mainfrom
chore/recovery-test-budget-20261028
Oct 28, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
chore/recovery-test-budget-20261028

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Related: #186077

What Problem This Solves

Allocates the test-line allowance for three reviewed recovery fixes independently, so repeated updates to the shared ceiling do not keep replacing an otherwise qualified recovery PR's head.

User Impact

Internal maintenance only; no runtime behavior changes. The recovery fixes retain their own review, test, and landing requirements.

Why This Change Was Made

Change only config/test-lines-baseline.txt from 6,294,048 to 6,295,000, adding 952 lines of capacity. This is the same file content and mode already reviewed in PR #186077.

Pinned main dafda2f722f19dfc1a56216e8be5af4ff9fe46a3 contains 6,293,800 counted test lines. The reviewed fixes add:

The combined total is 6,294,568, leaving 432 lines under this allowance. The existing ceiling has only 248 lines of room, 44 short of the thaw regressions alone. The ratchet explicitly permits a justified allowance increase; PR #185857 provides the existing rounded-allocation precedent.

Production delta: 0. Test delta: 0. This allocation changes no checker, CI routing, tests, or assertions. The two pending fixes reuse the allowance.

Evidence

  • Independent reviews counted literal newlines using the ratchet's exact filename patterns: 21 changed matching blobs from the previously verified 2262f3d2 base total 6,293,974 give a delta of -174, establishing the pinned total above.
  • The committed file is mode 100644, blob bfe83c14d018a2f70af68bd9ca5a16fffaf55754, identical to the ceiling in PR #186077 head 8793a69450f42e58b04440fe31004d9e506a473d.
  • git diff --check passed. The author simplification pass retained only this allocation.
  • Codex autoreview of the complete staged change against dafda2f722f19dfc1a56216e8be5af4ff9fe46a3 completed with P0–P2 coverage and no findings. Normal commit hooks passed; commit a29a0f391a1260ef7e1666e67facf605ba62d84c preserves the reviewed one-line diff.
  • Ordinary exact-head PR CI and native landing gates remain required. No runtime regression execution or fix is claimed by this allocation.

@vincentkoc vincentkoc self-assigned this Oct 28, 2026
@clawsweeper

clawsweeper Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vincentkoc
vincentkoc marked this pull request as ready for review October 28, 2026 02:33
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head a29a0f391a1260ef7e1666e67facf605ba62d84c. This maintainer-approved one-file allocation adds 952 lines of test allowance for the three reviewed recovery fixes described in the PR body. The source and tests are unchanged, and ordinary CI/native landing gates remain required.

@clawsweeper

clawsweeper Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 28, 2026
@clawsweeper

clawsweeper Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR raises the test-line ceiling from 6,294,048 to 6,295,000 for three recovery fixes.

Example: The three planned recovery fixes bring the stated test-line total to 6,294,568.

  • Before: That total exceeds the existing ceiling by 520 lines.
  • After: The new ceiling accommodates it with 432 lines remaining.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A minimal, policy-supported maintenance change with no actionable finding; exact-head CI acceptance remains pending.
Proof confidence 🐚 platinum hermit (4/6) This maintainer-authored allocation changes only CI budget metadata and claims no runtime recovery result; those fixes retain their separate proof requirements.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: Recovery PRs repeatedly need new heads when concurrent work changes their shared test-budget ceiling.
Reason: The maintainer-approved allocation separates shared budget maintenance from recovery code while preserving the ratchet and each fix's landing requirements.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-approved allocation follows the documented test-budget policy, and the exact one-line patch has no actionable findings; ordinary CI remains pending.

Priority: P3
Reviewed head: a29a0f391a1260ef7e1666e67facf605ba62d84c

Before merge

None.

Findings

None.

Agent review details

How this fits together

The CI test-line ratchet reads tracked tests and the committed ceiling, then reports whether test growth exceeds the available allowance.

flowchart TD
  A[Tracked test sources] --> C[Test-line ratchet]
  B[Committed ceiling] --> C
  D[Comparison base] --> C
  C --> E[CI budget result]
Loading

Technical review

Best possible solution:

Retain the focused ceiling allocation and let each recovery fix satisfy its own review and validation requirements.

Do we have a high-confidence way to reproduce the issue?

No runtime bug is claimed; source inspection confirms how the existing checker consumes the ceiling, and no target code was executed.

Is this the best way to solve the issue?

The single scalar edit is the smallest complete allocation using the existing budget owner, without changing tests, assertions, or checker behavior.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 97a5eb7189f0.

Provenance checked

  • Test-line ceiling keeps the original intent (ab8293d: Preserve test-reduction gains while allowing justified manual increases and permitting non-growing changes on an over-ceiling tree.)

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit ab8293d adds scripts/check-test-lines-ratchet.mts:113 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ab8293de67db; files: scripts/check-test-lines-ratchet.mts)

PR surface

Other 0. Total 0 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 1 1 0
Total 1 1 1 0

Labels

Label changes:

  • add P3: This is a bounded internal test-budget allocation with no runtime change.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is a bounded internal test-budget allocation with no runtime change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 27, 2026, 10:41 PM ET / October 28, 2026, 02:41 UTC.

@vincentkoc
vincentkoc merged commit f4ae274 into main Oct 28, 2026
144 checks passed
@vincentkoc
vincentkoc deleted the chore/recovery-test-budget-20261028 branch October 28, 2026 02:53
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

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

Labels

P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant