Repository navigation
fix(ci): reconcile remaining seven-line test budget debt - #192905
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 SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Integrate main to resolve the scalar conflict after #192766 absorbed the earlier debt. Retain the distinct peer-publication lease-write and iOS diagnostics-retention proof. Raise the current scalar by exactly seven; final PR delta remains one numeric line with no production or test LOC growth.
|
Codex review: needs maintainer review before merge. What this changesRaises the shared test-line budget scalar by seven without changing tests or allocation records. Example: The pinned tree contains 6,467,538 tracked test LF bytes.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR makes the smallest complete correction to the remaining seven-line budget deficit, preserves all tests, and has no actionable findings; broader exact-head CI remains pending. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherRepository validation counts tracked test LF bytes and compares them with the shared scalar plus allocation records to determine whether test growth is allowed. flowchart LR
A[Tracked test files] --> D[Test line checker]
B[Shared scalar] --> D
C[Allocation records] --> D
D --> E[Budget result]
E --> F[CI ratchet gate]
Technical reviewBest possible solution: Retain the exact seven-line scalar correction while preserving the existing checker, allocation records, and regression tests. Do we have a high-confidence way to reproduce the issue? Read-only LF counting independently confirms the seven-line deficit, and checker source shows why an absolute or prune check rejects it; no target code was executed during review. Is this the best way to solve the issue? The existing scalar is the correct owner for this approved inherited-debt reconciliation, and the one-number change restores the exact ceiling without duplicate credit or unnecessary machinery. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d4f79d57d59e. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceOther 0. Total 0 across 1 file. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
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 November 4, 2026, 12:46 PM ET / 17:46 UTC. |
|
Merged via squash auto-merge.
|
Keep distinct route, ordering, trigger, publication, custody, and fixture-lifecycle contracts from openclaw#192769, openclaw#192540, openclaw#192250, openclaw#192812, openclaw#191643, openclaw#192584, openclaw#192588, and openclaw#192083. Raise only the scalar by the exact measured inherited deficit; production and test LOC remain unchanged.
What Problem This Solves
Fixes main's remaining seven-line test-budget deficit: 6,467,538 tracked LF against a 6,467,531 ceiling at
513c12703ad9.User Impact
No user-visible behavior change. The ceiling becomes exactly 6,467,538, with zero slack and all existing tests preserved.
Why This Change Was Made
Maintainer-requested red-main repair, with an explicitly authorized exact ceiling raise after test-audit. Raise only the shared scalar from 6,326,278 to 6,326,285 (+7); allocation records remain unchanged.
The original 191-line debt was audited to eight merges adding 258 unallocated LF, less 59 LF of cleanup and eight lines of prior slack. During this repair, #192766 landed a 480-line scalar raise: 264 lines for its own tests and 216 for inherited debt. This PR was refreshed solely to resolve that scalar conflict and avoid granting the original debt twice.
Subsequent audit retained #192140's 34 lines: a real child publishes the deferred schema while an existing-schema lease writer waits for its transaction, which reader-adoption tests cannot prove. #191282 allocated 14 Fastlane fixture lines but omitted one existing workflow assertion extended to retain screenshot diagnostic logs. These are distinct contracts, with no safe redundant proof to delete. #192401 allocates its full 155 lines and adds no debt.
Exact reconciliation from the earlier measured parent: 191 + (15 − 14) iOS − 2 infer + 34 update + (264 − 480) Workshop + (114 − 114) CI − 1 UI + (155 − 155) worker = 7.
Collision searches found no other current reconciliation. The budget reconciliation embedded in the broader #192766 was identified when it landed; the final grant here covers only the measured remainder.
Evidence
pnpm check:changed --staged --base origin/main: passed for the refreshed one-file tooling diff.513c12703ad9; no findings in the final +7 scalar change.30abb1fb8ec623fac9b8488d0bbcf5548fa3a6ce, with no failed jobs. Merged asc4cef32628ec40b6365472b50b124f49d59ed9fb. The earlier head's inherited improve(ui): clarify browser and link reader feedback #192281 typecheck failure was repaired independently by fix(ui): restore browser panel type checks #192868 on the integrated main; that earlier failed run is superseded.