Repository navigation
fix(release): publish preflight stalls silently, frv continue is silent, and the SDK acknowledgement is reported late - #161633
Conversation
…ue, and surface SDK acknowledgement early
|
🦞👀 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: needs maintainer review before merge. Reviewed September 30, 2026, 2:27 AM ET / 06:27 UTC (Revision 3). ClawSweeper reviewWhat this changesThe branch adds progress and bounded GitHub reads to release preflight, reports Full Release Validation continuation progress, speeds temporary worktree cleanup, and checks Plugin SDK acknowledgement earlier. Merge readiness✅ Ready for maintainer review Current main and v2026.9.7 retain the reported release-helper behavior. The earlier replay-command finding is addressed, and this review found no definite new blocking defect. Priority: P2 Review scores
Verification
How this fits togetherRelease operators use these helpers to inspect validation evidence and GitHub release state before publication. The helpers return gate results, rerun progress, and commands for the operator’s next step. flowchart TD
A[Release operator] --> B[Candidate helper]
B --> C[Validation evidence]
C --> D[SDK acknowledgement]
D --> F[Publish preflight]
E[GitHub releases and runs] --> F
A --> G[FRV continuation]
G --> E
F --> H[Operator guidance]
G --> H
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +328, Docs +11, Other +173. Total +512 across 11 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep progress and early acknowledgement checks in the existing release helpers, with explicit warnings and replay commands for incomplete GitHub observations. Do we have a high-confidence way to reproduce the issue? Yes. Current-main source shows the preflight and FRV continuation paths without the branch’s progress and budget handling, and the PR reports a v2026.9.7 preflight measurement. This read-only review did not execute the helpers. Is this the best way to solve the issue? Yes. The branch changes the existing release-tooling owners and keeps the SDK acknowledgement in its existing validator; focused tests cover the main new decisions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against fad7d345a0c7. 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
History |
|
Merged via squash.
|
…nt, and the SDK acknowledgement is reported late (#161633) * fix(release): bound publish preflight observation, narrate frv continue, and surface SDK acknowledgement early * fix(release): replay failed preflight reads with their exact filter * test(release): model the exact-tag release lookup in preflight inventory fixtures (cherry picked from commit 9dc08b1)
…nt, and the SDK acknowledgement is reported late (openclaw#161633) * fix(release): bound publish preflight observation, narrate frv continue, and surface SDK acknowledgement early * fix(release): replay failed preflight reads with their exact filter * test(release): model the exact-tag release lookup in preflight inventory fixtures
What Problem This Solves
Fixes: local release helpers went silent or wasted operator time during the 2026.9.7 release.
release:publish-preflighthung atgithub.observationfor more than 10 minutes.frv continueprinted nothing while waiting. The candidate helper spent minutes deleting its temp worktree, and it reported a missing Plugin SDK acknowledgement only after a ~15-minute run.User Impact
User impact: none for end users. Release operators see what each helper is waiting on, get a bounded preflight with explicit reasons, and learn about a needed SDK acknowledgement (with the exact rerun command) as soon as the evidence is downloaded.
Why This Change Was Made
observeReleaseGitHubState):OPENCLAW_RELEASE_OBSERVATION_BUDGET_MS). Once the budget runs out, unread items become WARN rows that name the exact read command. Per-call errors carry gh's stderr instead of vanishing.--jq(4.74 MB down to 0.11 MB).frv continue: prints waiting and state-change lines, a five-minute heartbeat, and each verified child or parent rerun attempt with its URL. It goes to stderr and reusesfrv watch's formatter. Rerun semantics and mutation counts are unchanged.runFromTrustedToolingnow deletes its ownmkdtemproot before the targetedgit worktree remove. Git then doesn't walk the installed graph. Measured on fresh 2.5 GiB installs: 167 s before, 26–53 s after (the host was under contention).--plugin-sdk-api-acknowledgementadded or replaced. The dispatch path still runs the local generated check before dispatching FRV. Digest logic stays in its one validator.regular-release.mdnow says to run the candidate from a clean worktree at the Release SHA, with the command shape, because it relaunches trusted tooling itself. It also covers thepnpm store prunelock and thenode --import ./scripts/tsx.mjs scripts/<helper>.mtsfallback.Production LOC: +267/−97 (net +170). It pays for the observation budget, error surfacing and progress reporting; duplicate caching and formatting were removed where possible. Tests: net +285. Docs: net +11.
Evidence
frv continuewaiting and started-attempt lines.release-candidate-checklist.test.ts: 155 passed (58 s).release-publish-state.test.ts+release-publish-closeout-preflight.test.ts: passed (46 s).frv.test.ts: 85 passed (4 s).plugin-sdk-api-release-evidence.test.ts: 10 passed.pnpm tsgo:scripts,pnpm tsgo:test:root,check:script-erasability,check:line-cap-ratchet,check-deadcode-exports, scoped oxlint/oxfmt,git diff --check: pass.