Repository navigation
fix(ci): remove duplicate inherited test-line credit - #196526
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Codex Review Summary: ✅ CompletedThis 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. |
|
@clawsweeper review Please review final head |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. What this changesReduces the relay regression-test allocation from 280 to 210 lines by removing inherited debt already covered elsewhere. Example: The relay ownership change adds 210 test lines after inherited debt has already been reconciled.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR makes the smallest complete correction to duplicate test-line credit; no actionable defects were found, and exact-head CI passes. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe CI test-line ratchet combines a baseline with tracked allocations, compares that ceiling with test-source line counts and base-relative growth, and returns a pass or failure. flowchart LR
A[Test sources] --> D[Test line ratchet]
B[Baseline and allocations] --> D
C[Selected Git base] --> D
D --> E[CI result]
Technical reviewBest possible solution: Use the existing 210-line allocation correction while preserving the shared baseline, checker, and regression tests. Do we have a high-confidence way to reproduce the issue? The checker’s credit bound and merged allocations establish the failure path; the PR records native-checker rejection before the edit and zero-slack success afterward. Is this the best way to solve the issue? This is the smallest complete fix: correct the allocation that duplicates reconciled debt rather than weaken the guard or remove tests. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 19aa98b9258b. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceOther -1. Total -1 across 1 file. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. 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 10, 2026, 3:41 AM ET / 08:41 UTC. |
|
Merged via squash.
|
PR openclaw#196173 already reconciled the inherited test-line debt. Keep openclaw#196496 allocation at its exact 210 regression lines instead of counting 70 inherited lines twice. Production and test LOC are unchanged.
What Problem This Solves
Main's test-line guard rejects the merge of #196496 because its allocation still includes 70 lines of inherited debt already covered by #196173. Related: #196173, #196496.
User Impact
Restores the main test-line ratchet without changing production behavior or removing regression coverage.
Why This Change Was Made
Reduce
relay-member-principal.txtfrom 280 to exactly #196496's 210 added test lines. Its old 70-line inherited grant overlaps the 293-line reconciliation landed by #196173. The shared scalar and all other allocations remain unchanged. Production and test LOC deltas are both zero.The original reported 293-line deficit predates the nominally green main
d3027457406b: #194996 added 71 unallocated lines, #194429 removed one, and #188748 added 223. The ratchet intentionally tolerates inherited debt on zero-growth commits; the green run did not mean a balanced budget. #196504 and #196493 covered their own growth. #196173 subsequently covered 402 own lines plus all 293 inherited lines. #196509 covered its own 56. #196496 then added 210 lines but granted 280, causing the new over-allocation failure.Evidence
604aacb6cdf4using CI's exact--base d3027457406b7c694ba00dd0f1cd506567f43878 --no-merge-base: 6,619,127 lines, ceiling 6,618,834, debt 293, delta +138; exit 1.802f67d8d410against its exact parent7cba067c24b4: allocation credit 280 exceeds allowed growth 210; exit 1.802f67d8d410: 6,619,966 lines / 6,619,966 ceiling; zero slack.802f67d8d410, P0–P2: scoped-clean; zero actionable findings.git diff --checkpasses.pnpm check:changedpasses.Simplification: one allocation record, no new state, configuration, cache, runtime path, or schema. Team-scale runtime benchmarks and UI browser proof do not apply to this metadata-only correction; no performance claim is made. Hosted ClawSweeper and exact-head CI are required before landing.