Repository navigation
test(release): restore native candidate discovery clock - #137634
vincentkoc wants to merge 1 commit into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
ca8403b to
d10461a
Compare
|
Codex review: blocked before merge. Reviewed September 3, 2026, 9:47 PM ET / September 4, 2026, 01:47 UTC. ClawSweeper reviewWhat this changesThe branch removes a fixed Regression provenancePossible regression — probable (reviewed change; known regression link). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 1 item remains The patch correctly reunifies the CLI test with the native clock that owns discovery deadlines. Keep this MEMBER-authored, Priority: P3 Review scores
Verification
How this fits togetherThe release-candidate reuse script searches GitHub Actions artifacts and rejects candidates that cannot survive the remaining release-validation window. Its tests synthesize trusted artifact metadata and invoke the real CLI through a fake GitHub client. flowchart LR
A[Candidate request] --> B[Discovery CLI]
B --> C[Time budget and artifact lookup]
C --> D[Trusted candidate checks]
D --> E[Release validation reuse]
F[Test artifact fixtures] --> B
Before merge
Agent review detailsSecurityNone. PR surfaceTests -5. Total -5 across 1 file. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep the test child on native time while its real-time CLI fixtures retain a bounded future artifact lifetime. Do we have a high-confidence way to reproduce the issue? Yes—source shows the child CLI computes its deadline from Is this the best way to solve the issue? Yes—the obsolete preload is at the test entrypoint that caused the clock split, so deleting it restores one clock without changing production code. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 7ea7ada95ef3. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles)
|
d10461a to
839767a
Compare
|
@clawsweeper re-review\n\nRebased onto current main and resolved the clock conflict through the existing |
|
🦞👀 I queued a lightweight read-only assist pass. It will post a separate answer comment and will not edit the durable ClawSweeper review comment or trigger close, merge, repair, label, or branch changes. Request: re-review\n\nRebased onto current main and resolved the clock conflict through the existing |
|
ClawSweeper assist: The prior review is stale after the rebase; this request needs a full correctness re-review. Evidence:
Suggested next action: request a full review with Source: #137634 (comment) |
|
@clawsweeper review Exact-head b839 changes fixture clock behavior after the prior d104 review. Please run the full correctness review; focused candidate-reuse test, format/lint, and scoped autoreview are green. The current CI failures are independent: pnpm registry 504, known security advisory timeout, and a current-main daemon test red in an untouched source shard. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
839767a to
393e1a6
Compare
393e1a6 to
74aa691
Compare
|
@clawsweeper re-review Please review exact head |
1 similar comment
|
@clawsweeper re-review Please review exact head |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
What Problem This Solves
#137633 pinned child time to keep fixed-expiry candidate fixtures from aging out. #137456 subsequently made the CLI fixture creation and expiry timestamps coherent with current
Date.now(), but retained the old staticSCRIPT_ARGSclock preload. That left child discovery on frozen time and prevented bounded deadline accounting from advancing.Canonical Fix
Remove the obsolete clock preload.
SCRIPT_ARGSnow invokesscripts/full-release-candidate-reuse.mjsdirectly, so dynamically created fixture timestamps and child discovery share native time. Candidate age remains coherent and discovery deadlines advance normally.Production candidate policy and release behavior are unchanged.
Evidence
node scripts/run-vitest.mjs test/scripts/full-release-candidate-reuse.test.ts --reporter=dot- 30/30 passed.oxfmt, targetedoxlint, andgit diff --checkpassed.ClawSweeper Disposition
The prior option-1 disposition from #137634 (comment) was superseded by #137456's dynamic fixture timestamps. This head changes behavior beyond a mechanical rebase, so a fresh exact-head ClawSweeper review is required before landing.
Run https://github.com/openclaw/openclaw/actions/runs/33825317231 exercised the obsolete
393e1a6design and is not landing evidence. One fresh exact-head CI graph remains required.No config, schema, protocol, dependency, or release behavior changes.