Repository navigation
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: blocked before merge. Reviewed September 28, 2026, 6:13 AM ET / 10:13 UTC (Revision 5). ClawSweeper reviewWhat this changesThe branch changes the update-repair process-test fixture to advance its polling clock to the recorded restart deadline, stabilizing the expected recovery-timeout output. Merge readiness⛔ Blocked before merge - 3 items remain Current Priority: P3 Review scores
Verification
How this fits togetherThe CLI process test runs an isolated flowchart LR
A[Process test scenario] --> B[Update repair CLI]
B --> C[Doctor failure]
C --> D[Gateway recovery observation]
D --> E[Fixture polling clock]
E --> F[CLI output and recovery record]
Decision needed
Why: The supplied review state marks the author as MEMBER, which prevents automatic closure, and the merged replacement does not formally close this PR. Before merge
Agent review detailsSecurityNone. PR surfaceTests +19. Total +19 across 1 file. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the merged current-main fixture regression as the single test path and retarget the dependent provider refactor to Do we have a high-confidence way to reproduce the issue? No on current main: the earlier CI failure is documented, while the merged replacement reports a controlled pre-fix failure and a passing after-fix process run. Is this the best way to solve the issue? No for merging this branch now. The merged fixture repair addresses the same timeout race and includes a deterministic loaded-runner regression case. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against db566b093981; fix evidence: commit ae3c05addca8, main fix timestamp 2026-09-28T09:26:06Z. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
345e04d to
e52b9fe
Compare
e52b9fe to
9aec913
Compare
|
Closing as superseded by main commit ae3c05a (#160319), which fixes the same recovery polling/native-inspection race. Our fixture variant passed 20 full-file and three original-shard repetitions, but it is no longer needed. Native merge admission detected the conflicting main repair before sending a merge request; this PR was not merged. The provider refactor will retain main's fix and drop this duplicate commit. |
What Problem This Solves
The update repair process-output test intermittently records a port-inspection timeout instead of the intended managed-service timeout, failing otherwise unrelated PRs.
User Impact
No production behavior changes. The fixture keeps real service/port observations and their full budgets, then advances time at the polling boundary that this output case intends to exercise. Existing exact output, exit-status, recovery-ledger, and failure-report assertions remain unchanged.
Why This Change Was Made
The fixture added simulated 500ms polling ticks to a real clock. Native inspection also consumed real time, so a final inspection could start with only a fractional deadline remaining and produce a different diagnostic under load. The fixture now records each real restart deadline by its signal and exhausts that deadline when the first completed observation reaches polling. Only the doctor-error scenario registers these deadlines; production deadline, cancellation, cleanup, and classification logic remains real.
Found while validating #160038. This is a separate fixture repair so the provider refactor can be reviewed independently.
Evidence
update repair process output > doctor-error preserves the output and exit contract. Expected the managed-service timeout detail; receivedGateway restart observation timed out during health-wait:port-inspection.tbx_01m3kcbncar29q72a7qqen8wa6: all 20 complete process-output repetitions passed (360 cases), followed by three original 15-file shard repetitions (400 passed, 7 existing skips each). Deadline/output siblings also passed. The frozen-baseline changed check reached an unrelated duplicatedataImageClipboardFileexport in the UI; main fixed it inbb05e779e2a, already included in the rebased stack. Final combined checks passed on fresh Testboxtbx_01m3khbkk3wff7b31bs9c7xwc2(tree38bd681eb276934b98741820e8c78e870f75c299); the lease was stopped. The original unmodified shard passed this replay; the earlier CI failure remains the observed intermittent reproduction.pnpm test src/cli/update-finalization-output.process.test.ts --maxWorkers=1took a median 82.35s wall across 20 runs (range 76.08–99.18s; initial run 97.39s). This existing process suite verifies complete CLI stdout/stderr, exit, subprocess cleanup, and durable failure records; no test cases or process boots were added.345e04d8e22ec3614d980f195dbda850b80ec514passed CI 36390412255. Current head9aec913af5245579b06f9d61b47a3e39f7e785eerebases the identical fixture patch onto current main, including the existing UI, reliability-export, and Node-selection repairs; current-head CI 36396359192 passed. The combined current-tree Testbox run passed all 18 process-output cases again, the full changed check, build, and SDK checks.The temporary test-import PR was closed unmerged after main restored the export in
da2efd83b8a. Its edits are absent here. The separate convergence fixture failure is fixed on this base by8b549de1e0c; no additional repair was needed.