Skip to content

fix(ci): reconcile approved inherited test-line debt - #193183

Merged
RomneyDa merged 1 commit into
mainfrom
fix/focus-week-test-budget-debt
Nov 5, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/focus-week-test-budget-debt

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Already-landed changes leave main 93 test lines above its effective test budget, so unrelated PRs adding fully allocated regression coverage fail the ratchet. The current-head failure is reproduced in PR #189600 CI.

User Impact

Unblocks accurate test-budget checks for the desktop focus-week repairs without deleting tests, weakening assertions, changing the checker, or granting future slack.

Why This Change Was Made

Explicitly approved, exact scalar reconciliation: config/test-lines-baseline.txt changes from 6326473 to 6326566. Existing per-change allocations remain unchanged.

The inherited debt is independently attributed from 32 lines of slack: #193101 adds 83 unallocated lines; #193100 removes 2; #187104 adds 111 with a 94-line grant; #128175 adds 25 unallocated; #193123 removes 5; #188344 adds 8 unallocated; #193162 removes 1. Net debt is exactly 93. Later main changes have matching allocations and do not change this debt.

Evidence

  • Canonical LF-byte scanner on parent 2270152d224ae48de9a10f3fe26b4c594ac9e87d: total 6,479,093; effective ceiling 6,479,000; inherited debt 93.
  • Same scanner after the one-line correction: total and ceiling both 6,479,093; zero slack.
  • Independent attribution and source inspection completed; ordinary commit hooks and git diff --check pass.
  • No production code, tests, allocations, checker behavior or dependencies changed. No runtime test is needed for this metadata-only correction.
  • Direct main push was rejected because repository rules require a PR; this uses that required route.

Attributed inherited CI failure

Current attempt 41970384879 fails only the tooling test checks release fast lane test growth against the shallow pull request merge base, plus its aggregate gate. The fixture copies the ratchet and shrink helper but omits the imported scripts/lib/check-limits.mts introduced by #192806. It writes its own zero baseline; this PR's scalar is not an input. The relevant test/checker/workflow blobs are identical between base 2270152d224a and tested merge 9678751da67af. Local reproduction failed identically (1 failed, 197 skipped), so no passing replay is claimed.

The exact +93 correction and landing were explicitly approved. The native inherited-failure route is selected with pinned checkout, source equality, failed-job and aggregate evidence; no test, security requirement or checker is suppressed, and this is not green CI. The prior auto request was explicitly retired before this supported recovery.

Raise the shared scalar by exactly 93 lines, from 6326473 to 6326566, under explicit maintainer approval for this baseline exception. Do not change tests, allocations, or checker policy.

Main crossed the ceiling at #193101 (+83 against 32 available). Subsequent net debt: #193100 -2, #187104 +17 beyond its allocation, #128175 +25, #193123 -5, #188344 +8, and #193162 -1. The resulting inherited debt is exactly 93 lines; #192587 adds 73 lines with its own matching grant.

At parent 2270152 the canonical LF scanner measured 6479093 test lines against ceiling 6479000. After correction the ceiling equals 6479093 with zero slack. Per-change allocations remain bounded by actual added lines.
@clawsweeper

clawsweeper Bot commented Nov 5, 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.

@RomneyDa
RomneyDa enabled auto-merge (squash) November 5, 2026 04:59
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 5, 2026
@RomneyDa
RomneyDa disabled auto-merge November 5, 2026 05:05
@clawsweeper

clawsweeper Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Raises the shared test-line baseline from 6,326,473 to 6,326,566.

Example: The tracked tree contains 6,479,093 test lines and 152,527 allocated lines.

  • Before: The effective ceiling is 6,479,000, leaving 93 inherited lines of debt.
  • After: The effective ceiling is 6,479,093, leaving zero slack.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A minimal, verified maintenance correction with relevant CI passing and an independently attributable inherited fixture failure.
Proof confidence 🐚 platinum hermit (4/6) This maintainer-authored metadata correction has independently verified zero-slack arithmetic and a passing exact-head baseline-ratchets job; the prepared UI screenshots concern linked repairs and do not prove this change.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: Unrelated contributors can fail the test-budget check despite fully allocating their own regression coverage.
Reason: The maintainer-authored direction is explicit, the inherited deficit is independently verified, and the correction grants no spare allowance.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR precisely reconciles inherited test-budget debt without changing tests or checker policy; no introduced defect was found.

Priority: P2
Reviewed head: f4b6fa10efbdb4d30d8d56b46da40260694813cc

Before merge

None.

Findings

None.

Agent review details

How this fits together

The repository CI ratchet compares tracked test-source LF counts with the shared baseline plus per-change allocations and reports whether added coverage exceeds that ceiling.

flowchart LR
  A[Tracked test sources] --> B[LF counter]
  C[Shared baseline] --> D[Effective ceiling]
  E[Per-change allocations] --> D
  B --> F[Test-line ratchet]
  D --> F
  F --> G[CI result]
Loading

Technical review

Best possible solution:

Merge the exact 93-line reconciliation while preserving all tests, allocation records, and checker behavior.

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

Independent read-only LF and allocation counts confirm the exact 93-line parent deficit; no target code was executed.

Is this the best way to solve the issue?

The single scalar correction is the smallest complete approved repair and leaves the existing ratchet as the sole policy owner.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Shared test-line baseline keeps the original intent (58293c5: The prior approved reconciliation accounted for Discord regression coverage and remaining inherited debt while leaving allocation records unchanged.)

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

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P2: Inherited budget debt blocks unrelated PRs adding fully allocated regression coverage, with no product-runtime impact.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: Inherited budget debt blocks unrelated PRs adding fully allocated regression coverage, with no product-runtime impact.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • 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 November 5, 2026, 12:05 AM ET / 05:05 UTC.

@RomneyDa
RomneyDa merged commit 6f975af into main Nov 5, 2026
94 of 97 checks passed
@RomneyDa
RomneyDa deleted the fix/focus-week-test-budget-debt branch November 5, 2026 05:10
@RomneyDa

RomneyDa commented Nov 5, 2026

Copy link
Copy Markdown
Member Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

roboclaw-bot added a commit that referenced this pull request Nov 5, 2026
Integrate the landed canonical #193183 baseline reconciliation and #193170 guard-fixture repair for the named inherited CI blockers. Candidate feature, cache, browser and backup blobs remain byte-identical to the validated b99bcba tree; preserve the exact remaining ratchet outcome without a local baseline edit or gate waiver.

Co-authored-by: galiniliev <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 6, 2026
Raise the shared scalar by exactly 93 lines, from 6326473 to 6326566, under explicit maintainer approval for this baseline exception. Do not change tests, allocations, or checker policy.

Main crossed the ceiling at openclaw#193101 (+83 against 32 available). Subsequent net debt: openclaw#193100 -2, openclaw#187104 +17 beyond its allocation, openclaw#128175 +25, openclaw#193123 -5, openclaw#188344 +8, and openclaw#193162 -1. The resulting inherited debt is exactly 93 lines; openclaw#192587 adds 73 lines with its own matching grant.

At parent 21ac250 the canonical LF scanner measured 6479093 test lines against ceiling 6479000. After correction the ceiling equals 6479093 with zero slack. Per-change allocations remain bounded by actual added lines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant