Repository navigation
fix(release): candidate checks drift with moving main - #168681
Conversation
Reuse authenticated FRV package Telegram coverage and pin supplemental Telegram and local Parallels qualification to candidate code. Preserve bound requests while allowing pre-dispatch planning updates, match saved tooling tags to P, clarify Windows attachment recovery, and retain Git worktree registrations until cleanup succeeds.
|
🦞👀 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. What this changesThis PR reuses authenticated package Telegram qualification, pins supplemental checks to the frozen candidate, and preserves bound release requests during recovery. Example: Qualify v2026.10.1 at e178c39 after main advances.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR fixes qualification drift still present on main, and no actionable introduced defect was found. Priority: P2 Before mergeNone. FindingsNone. Provenance
Tests
Agent review detailsHow this fits togetherThe release-candidate coordinator consumes frozen source, saved requests, and authenticated FRV artifacts, runs supplemental checks, and emits evidence plus a publication command. flowchart TD
A[Frozen candidate] --> B[Release candidate coordinator]
C[Trusted tooling] --> B
D[Authenticated FRV evidence] --> B
B --> E[Candidate supplemental checks]
E --> F[Candidate evidence bundle]
B --> F
F --> G[Publication preflight]
Technical reviewBest possible solution: Keep qualification tied to the frozen candidate and authenticated package while preserving independent trusted publication tooling and bound-request recovery. Do we have a high-confidence way to reproduce the issue? Current-main source dispatches Telegram with workflowRef=main and selects Parallels from trusted tooling, establishing the drift path; this review ran no target code. Is this the best way to solve the issue? The change repairs the existing coordinator and consumes the existing authentication owner rather than introducing another qualification authority. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 948e76d89203. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +280, Docs +40, Other +113. Total +433 across 8 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes: No label 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 HistoryReviewed October 11, 2026, 2:52 AM ET / 06:52 UTC (Revision 3). |
Reuse authenticated FRV package Telegram coverage and pin supplemental Telegram and local Parallels qualification to candidate code. Preserve bound requests while allowing pre-dispatch planning updates, match saved tooling tags to P, clarify Windows attachment recovery, and retain Git worktree registrations until cleanup succeeds.
Related: #160695
What Problem This Solves
Fixes: release-candidate checks pick up a different harness when main advances, so a frozen package can fail a new Telegram check despite passing its candidate-owned qualification.
User Impact
Release operators can reuse authenticated package Telegram proof and run supplemental Telegram or local Parallels checks with the frozen candidate's code. Explicit live-provider checks and separately packed historical tarballs still need their own proof; a missing or moved qualification ref produces recovery instructions instead of using main.
Unbound planning flags and tooling pins can be corrected without moving the saved state aside. Already-bound requests remain locked. Windows not selected in the original admission must be attached afterward through
windows-node-release.ymlor covered by newly admitted evidence.Why This Change Was Made
Stable
npm-stable-v1and admitted stable/full coverage already include mock-provider package Telegram qualification. Reuse that evidence only for the exact FRV-qualified package and without a Telegram waiver; beta stays deferred, never passed. Supplemental checks verify the retained candidate ref before dispatch, pin the harness SHA, and verify the returned run SHA. Their run IDs remain in candidate evidence, not the publisher's optional diagnostic input. Parallels uses the candidate checkout and dependency graph, while trusted helper/publication tooling remains independently pinned.The same bounded helper repair matches saved publication tags to the selected tooling SHA and removes temporary worktrees through Git before deleting their root. The dispatch audit found fresh FRV already uses Q=C and the old npm-preflight fallback is absent from current main.
Evidence
Head
ce8b2939: CI attempt 1 succeeded (34 passing jobs, 25 selected skips; all 59 finished).openclaw/ci-gate,openclaw/dependency-review, andopenclaw/security-sensitive-revieware green. All 189 affected cases passed in the Node shard: 140 checklist, 43 FRV-validator, and 6 SDK-report cases, including the Linux-only compiler-lifetime case. The authored eight-file +490/-57 patch is unchanged.Red/green regression: stable
--workflow-sha <P>with no--workflow-refdispatched Telegram on main before the fix; it now reuses FRV proof with zero dispatches. Coverage also checks exact producer binding, live/waived/separate-pack qualification, missing/moved refs, returned-SHA mismatch, beta deferral, candidate Parallels execution, saved-state locking, stale P tags, Windows guidance, and recoverable cleanup.Original single-file proof passed with
pnpm test <file> --maxWorkers=1:test/scripts/release-candidate-checklist.test.tstest/scripts/validate-full-release-validation-evidence.test.tsThe longer checklist suite proves real Git revision/worktree and owned-dependency cleanup behavior; remote workflow effects are stubbed. Timings were collected alongside static checks. All 17 state/Telegram regressions passed again after lint-only corrections. CI seconds are sums of the reported per-case durations, excluding collection/setup; the complete shared Node job took 96 s. SDK-report cases contributed 8.469 s across six passing cases. One canonical job log was used, without double-counting its per-step copies.
Script and root-test typechecks, focused type-aware lint, script erasability, selected guards, docs lint/MDX/links, and diff checks passed. Independent Codex autoreview of the unchanged authored patch was scoped-clean through P2.
Fresh completed ClawSweeper review covers
ce8b2939with no actionable findings and no before-merge code blocker; it remains ready for maintainer review. No patched-CLI live GitHub qualification is claimed.The original inherited Knip gap is closed on the integrated head: production, full-tree and script scans all report zero unused exports. No dead-code exclusion was added.
Read-only incident evidence: helper Telegram runs 38085957302 and 38087435756 failed on main; the FRV package Telegram job succeeded at candidate
e178c39e9aae. The FRV manifest records Q=C,npm-stable-v1, and package Telegram enabled.CI repair attribution and integrated-head proof
CI Repair
The completed original run 38092468166 has ten failed leaves. All are inherited from the tested main base, not from this release-helper patch:
8fc31c9113296b17243b6dbff9940dc88fc31c91Local replay also found a newer main-only Doctor prompt export collision; the independently landed
3f08ea94repairs it. The remaining SQLite/Lobster unused exports and stale Discord export inventory are repaired byd4e9d09e. The branch integrates the landed owner repairs. Signed headce8b2939f7b19c7857312f8564905bd98292271aagainst pinned main8267c24051ff695a239b27ca768820274b5936b7retains the original eight-file delta, +490/-57, with identical added/deleted feature content.Final integrated-head proof: the two release suites and SDK-report suite passed together with
--maxWorkers=1(188 passed, one Linux-only skip on macOS; 353.430 s command wall, 312.63 s Vitest duration). The SDK surface check passed in 37.600 s: 152 public entrypoints, 3661 exports, 2127 callable exports, and no unauthorized shipped-SDK removal. Timings were collected on a concurrently busy host, not as a performance comparison. The full selected changed gate passed in 1330.898 s, including all three zero-entry export scans and focused lint. Docs sanity also passed: Markdown lint (1321 files; 19.932 s), RELEASING MDX (3.112 s), and 15334 internal links with zero broken links (37.686 s). Exact-head hosted CI attempt 1 succeeded with all 59 jobs terminal and the three required status contexts green. No CI rerun was used. No check was disabled or weakened by the release-helper patch.No release qualification or publication workflow was dispatched.
release/2026.10.1,v2026.10.1, protectedrelease-publish/*tags, and running release workflows were not mutated.