Skip to content

fix(ci): reconcile 81 newly unallocated test lines - #192207

Merged
steipete merged 1 commit into
mainfrom
steipete/fix-test-budget-followup-2156
Nov 3, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/fix-test-budget-followup-2156

Conversation

@steipete

@steipete steipete commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

What Problem This Solves

The exact reconciliation in #192026 landed with green CI, but newer main changes left the shared test-line budget 81 lines short. Fully allocated regression additions then fail the ratchet. This approved follow-up raises the scalar to the exact current total, with no reserve.

Exact Count And Attribution

Fresh main b0c014629908565c774a59fafeeadb01ba3bade7 has 6,441,546 tracked test LF lines. Its scalar6,325,211 plus allocations116,254 gives6,441,465: exactly81 lines short. Raise only the scalar to 6,325,292, giving 6,325,292 + 116,254 = 6,441,546, exactly the current total and zero slack. No test, runtime, checker, configuration or schema changes.

Since the prior exact anchor f08cd31621a9:

Source Test LF Allocation LF Unfunded net
#191470 / 104530d43ebc, iroh Node binding +533 +453 +80
#156399 / 258c4edd5338 +10 0 +10
#192172, #192169, #192170, #191409, #191411 -9 0 -9
#192026 +10 +10 0

The earlier scalar reduction18 in #192026 consumed the original anchor's18 spare lines. The remaining debt is80+10-9=81. The historical976-line deficit and introducing PRs are documented in #192026; this follow-up does not fund that debt again.

The separate retirement-attribution PR #191985 has its own49-line test allocation. Those lines are excluded from this exact main total and remain separately funded.

Evidence

Native pnpm check:test-lines-ratchet --base b0c014629908565c774a59fafeeadb01ba3bade7 reports Test lines OK: 6441546; ceiling: 6441546; slack: 0. Independent literal-LF accounting agrees. Codex review and exact-head hosted CI are required before native landing. Production LOC delta0, test LOC delta0.

@clawsweeper

clawsweeper Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T19:31:21.543712Z 9015cdb PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete enabled auto-merge (squash) November 3, 2026 19:39
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 3, 2026
@steipete
steipete merged commit 135c63e into main Nov 3, 2026
86 checks passed
@steipete
steipete deleted the steipete/fix-test-budget-followup-2156 branch November 3, 2026 19:48
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 3, 2026
@clawsweeper

clawsweeper Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

This PR raises the shared test-line scalar by 81 to match its base tree exactly.

Example: The pinned base contains 6,441,546 test LF lines and 116,254 allocated lines.

  • Before: Scalar 6,325,211 leaves an 81-line deficit that blocks positive test growth even with matching allocations.
  • After: Scalar 6,325,292 yields an exact 6,441,546-line ceiling with zero slack.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The minimal patch and its pinned-base arithmetic are sound; its remaining value is limited because newer main already satisfies the budget.
Proof confidence 🦞 diamond lobster (5/6) The maintainer-authored PR is outside the ordinary contributor proof gate; it supplies native ratchet output showing 6441546 total and ceiling with zero slack, corroborated by independent LF accounting and a successful exact-head ratchet job; inspected UI images are unrelated.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: No · Fix scope: Complete
User problem: Contributors adding fully allocated regression tests can fail the ratchet because inherited test growth exhausted the shared ceiling.
Reason: The maintainer-authored direction is accepted and the pinned-base arithmetic is correct, but fetched main has already removed the deficit, making this increase unnecessary.

Merge readiness

⛔ Blocked before merge - 2 items remain

This PR correctly reconciles its pinned base, but fetched main already has 30 spare test lines; retain it for maintainer disposition under the maintainer-authored keep-open guard.

Priority: P3
Reviewed head: 9015cdb7ddcefb038dca0f72a8b3057bc4519dee
Owner decision: Required. See Decision needed.

Decision needed

  • Question: Should this PR be retired now that fetched main has eliminated the 81-line deficit?
  • Recommendation: Retire the reconciliation: Close this PR because current main already accommodates fully allocated test additions.
  • Why: The pinned-base repair is correct, but newer main has 30 spare lines and the maintainer-authored guard reserves closure for maintainer judgment.

Before merge

  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
  • Product: not worth merging - The maintainer-authored direction is accepted and the pinned-base arithmetic is correct, but fetched main has already removed the deficit, making this increase unnecessary.

Findings

None.

Agent review details

How this fits together

The repository validation CLI counts tracked test LF bytes and compares them with the shared scalar plus scoped allocations, producing a CI result and diagnostics.

flowchart LR
  A[Tracked test files] --> D[Test line checker]
  B[Shared scalar] --> D
  C[Scoped allocations] --> D
  E[Comparison base] --> D
  D --> F[CI result and diagnostics]
Loading

Technical review

Best possible solution:

Have the maintainer retire this now-unneeded raise, preserving fetched main's already sufficient ceiling.

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

The pinned-base deficit is independently verified, but fetched main is already 30 lines below its ceiling; no target code was executed.

Is this the best way to solve the issue?

The scalar-only adjustment is the smallest complete reconciliation for the pinned base, but its increase is unnecessary on fetched main.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Shared test-line scalar keeps the original intent (a4d7594: The preceding reconciliation set the effective ceiling to the exact tracked total while funding its fixture changes separately.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

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 repository budget maintenance with no runtime impact, and fetched main already clears the ceiling.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.

Label justifications:

  • P3: This is repository budget maintenance with no runtime impact, and fetched main already clears the ceiling.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Resolve whether this reconciliation should be retired given fetched main's 30-line surplus.

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 November 3, 2026, 2:47 PM ET / 19:47 UTC.

@steipete

steipete commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash auto-merge.

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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant