Repository navigation
fix(release): backport retrospective repairs through batch 9 to 2026.11.5 - #191633
Conversation
Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit b6c36ed)
Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 0f359b3)
Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit d8265d0)
* fix(release): revalidate exact npm versions Co-authored-by: RomneyDa <[email protected]> * test(release): handle exact-version fixture request Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 3580c9f)
* fix(release): explain staged npm recovery Co-authored-by: RomneyDa <[email protected]> * fix(release): recover exact staged npm package Co-authored-by: RomneyDa <[email protected]> * fix(release): avoid portable here-string Co-authored-by: RomneyDa <[email protected]> * fix(release): preserve npm publish diagnostics Co-authored-by: RomneyDa <[email protected]> * test(release): simplify staged publish coverage Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit f708b8b)
* fix(release): pin Linux builder to request SHA Co-authored-by: RomneyDa <[email protected]> * test(release): remove duplicate request harness Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit ca897ec)
* fix(release): require SDK removal notes Co-authored-by: RomneyDa <[email protected]> * fix(release): warn on SDK removal note gaps Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 0453b8c)
Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit dbc44d3)
Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit a07be30)
* fix(release): enable OIDC recovery preflight Co-authored-by: RomneyDa <[email protected]> * fix(release): enable OIDC recovery preflight OpenClaw-Publication: 220142ee-cd27-4dc4-9521-b3af12106dce * fix(release): scope OIDC recovery preflight Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 8100edf)
* fix(ci): mark pending security reviews Co-authored-by: RomneyDa <[email protected]> * fix(ci): fail terminal security reviews Co-authored-by: RomneyDa <[email protected]> * fix(ci): settle standalone guard timeouts Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 84133d3)
Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 48b46f1)
* feat(release): add publication watcher Co-authored-by: RomneyDa <[email protected]> * fix(release): satisfy watcher lint Co-authored-by: RomneyDa <[email protected]> * fix(release): enforce watcher contracts Co-authored-by: RomneyDa <[email protected]> * fix(release): preserve zero-backoff retries Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 3c67c5c)
Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 749df76)
* feat(release): add bound gate approval helper Co-authored-by: RomneyDa <[email protected]> * fix(release): satisfy approval helper guards Co-authored-by: RomneyDa <[email protected]> * fix(release): make gate approval recoverable Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit fc719e9)
Release adaptation: #180203 removes the release branch inventory builder import. Its source parent also used a later bundler-region helper, but this release branch keeps its existing parser and does not need that broad dependency-update companion. Co-authored-by: RomneyDa <[email protected]>
Include the runtime error-classification dependency closure introduced by shutdown-aware retries in the verified publication source inventory. Co-authored-by: steipete <[email protected]> (cherry picked from commit 6370e01) Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit f861722)
Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 571b8f8)
Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit f3bbc7e)
Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 7d27f73)
Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 34bb969)
Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 73df503)
Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit ec6e32f)
Route mock-provider request artifact collection through the plugin SSRF guard, with bounded loopback access and deterministic resource release. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit bfa3e10)
Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 24f5971)
Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 122d8e4)
Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit c938b9b)
Record the Kitchen Sink npm fixture version on each release branch and use it across the plugin and RPC Docker lanes instead of resolving latest. Preserve explicit package overrides and fail closed when a frozen target lacks its version record. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 414e610)
Co-authored-by: RomneyDa <[email protected]>
|
Codex review: needs real behavior proof before merge. What this changesBackports release qualification, publication recovery, approval, monitoring, and Gateway diagnostic improvements to release/2026.11.5. Example: A release operator starts a Gateway whose service remains stopped for 45 seconds.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 15 items remain Keep open: this maintainer-directed beta backport has clear release value, but introduces a checklist crash, misleading FRV completion behavior, broken compiled fixtures, and regressions in existing release tests and reporting. Priority: P2 Before merge
Findings
Provenance
Tests
Agent review detailsHow this fits togetherRelease tooling consumes pinned source identities, retained orchestration state, GitHub observations, and npm metadata to qualify candidates, authorize publication, monitor progress, and explain recovery. flowchart TD
A[Release operator] --> B[Release commands]
C[Pinned source and retained state] --> B
B --> D[Qualification and publication owners]
D --> E[GitHub authority checks]
E --> F[Approval and registry effects]
D --> G[Progress and recovery output]
Technical reviewBest possible solution: Complete the backport through existing release owners while preserving beta contracts, repairing integration defects, and qualifying final authorization boundaries. Do we have a high-confidence way to reproduce the issue? Source inspection establishes the checklist crash, terminal-state bypass, and missing compiled asset; current-head CI independently confirms the checklist and changed-fixture failures. Is this the best way to solve the issue? Reusing the established upstream release owners is appropriate, but the backport must retain the beta branch's newer contracts and include each new module's runtime assets. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 1a74a80617cf. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: shipped entry point. SecurityNeeds attention: No concrete authorization bypass was established, but recovery authority through the final credential exchange remains unqualified. EvidenceSecurity concerns:
What I checked:
Likely related people:
PR surfaceSource +53, Tests +2730, Docs +104, Config +13, Other +1155. Total +4055 across 77 files. Added test files: 5. 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 Reviewed November 2, 2026, 10:45 PM ET / November 3, 2026, 03:45 UTC. |
Preserve release-base contracts and original retry authority checks while repairing changelog, terminal status and Kitchen Sink asset handling. Co-authored-by: RomneyDa <[email protected]>
Preserve source admission semantics and recheck live source and tooling authority after token acquisition, immediately before each npm exchange. Co-authored-by: RomneyDa <[email protected]>
This comment has been minimized.
This comment has been minimized.
Keep exact screenshot selection and failure evidence checks while removing the obsolete fixture-test guard and retired per-capture resource snapshot expectation. Guard against blocking resource sampling and reduce the test allocation by 15 lines. Both original failures reproduce; all 15 cases pass under isolated Ruby and pinned Bun. Co-authored-by: RomneyDa <[email protected]>
This comment has been minimized.
This comment has been minimized.
Backport the existing upstream fixture fix to release/2026.11.5. Preserve all caption and scrolling assertions. Co-authored-by: RomneyDa <[email protected]>
Move existing worker preparation to collection through the documented SDK test seam. Preserve the real payload assertions and their deadlines. Co-authored-by: RomneyDa <[email protected]>
Keep existing pending file and identity queues in the targeted-sync dirty calculation. Make the existing interruption regression exercise the delta route after startup catchup; preserve publication and resume assertions. Co-authored-by: RomneyDa <[email protected]>
Preserve scenario assertions and timeouts while recording synthetic inbound identities and existing lifecycle debug boundaries for the repeated hosted restart failure. Co-authored-by: RomneyDa <[email protected]>
Exercise the registry-backed transport with a valid Matrix sender and retain both cleanup phases. Hosted CI exposed the invalid fixture and the dropped timeout hook; this correction does not claim to fix Matrix restart delivery. Co-authored-by: RomneyDa <[email protected]>
Adopt all reviewed constituents of #191633 and #191838, including the #192297 intake and merged #192586 prerequisite, with the reviewed security parser bounds and Matrix patch serialization correction. These are adapted backports, not exact cherry-picks. Original sources: 191633 5cbabca (origin b6c36ed): fix(release): warn before rollback drill expiry (#180164) 191633 ca8c103 (origin 0f359b3): fix(release): require macOS release source branch (#180169) 191633 12abd6c (origin d8265d0): fix(release): verify published plugin inventory (#180203) 191633 65df344 (origin 3580c9f): fix(release): revalidate exact npm versions (#180201) 191633 ae3a92b (origin f708b8b): fix(release): explain staged npm recovery (#180191) 191633 08c61ca (origin ca897ec): fix(release): pin Linux builder to request SHA (#180211) 191633 f7b8f22 (origin 0453b8c): fix(release): warn on undocumented SDK removals (#180180) 191633 2b7fd53 (origin dbc44d3): fix(release): retry compatibility tarball downloads (#189712) 191633 d313a91 (origin a07be30): docs(release): tighten deterministic failure triage (#189720) 191633 3180471 (origin 8100edf): fix(release): enable OIDC recovery preflight (#187991) 191633 fc52d94 (origin 84133d3): fix(ci): mark pending security reviews (#180183) 191633 9a30fd9 (origin 48b46f1): feat(release): add FRV job log reader (#189718) 191633 5aeb8bf (origin 3c67c5c): feat(release): add publication watcher (#187994) 191633 a5c1376 (origin 749df76): fix(release): unify plugin OIDC recovery preflight (#189748) 191633 4bd0d61 (origin fc719e9): feat(release): add bound gate approval helper (#189715) 191633 fc6a003: fix(release): adapt postpublish verifier imports 191633 0fea084 (origin 6370e01): fix(release): retain publication retry diagnostics (#189130) 191633 13f02f8 (origin f861722): fix(release): keep diagnostic FRV blocks pending 191633 a715d58 (origin 571b8f8): fix(release): verify notes against pushed branch 191633 3fbc547 (origin f3bbc7e): fix(release): explain shallow release-note history 191633 6fe3921 (origin 7d27f73): test(git): isolate nested repository fixtures 191633 74579f0 (origin 34bb969): ci: add base scheduled upgrade survivor 191633 39b9209 (origin 73df503): ci: support empty admission args on Bash 3.2 191633 e585646 (origin ec6e32f): test(qa): retain mock provider request artifacts 191633 dbae3ad (origin bfa3e10): fix(qa): guard mock artifact fetch 191633 7a1456b (origin 24f5971): ci(ios): explain screenshot Xcode mismatch 191633 86591a7 (origin 122d8e4): docs(release): identify FRV parent publish input 191633 0f81562 (origin c938b9b): fix(cli): report observed gateway start failure 191633 e140fb5 (origin 414e610): test(release): pin Kitchen Sink fixture versions 191633 07b1810: test(release): preserve retrospective backport coverage 191633 5ae88b0: test(ci): align retrospective guard backport coverage 191633 793e231: test(release): adapt retrospective fixtures to stable 191633 611d61f: test(release): adapt retrospective fixtures to beta 191838 4df8007 (origin d0cf0e2): fix(file-transfer): share one workspace command import between memory and skills 191838 fb52e5d (origin 24b9e76): fix(matrix): defer ready status through startup 191838 82ac58e (origin 76d4717): fix(matrix): let Matrix CLI commands exit after their client stops 191838 342fec0 (origin 73fe789): fix(matrix): report late in-room verification failures instead of crashing 191838 5a67ff1 (origin f75c29a): test(qa): align Matrix E2EE scenarios with offline ownership contracts 191838 f77062a (origin 2c0d224): fix(process): preserve loaded startup cleanup 191838 263a67a (origin fa2b24b): fix(process): keep stdio startup failures ahead of cleanup errors 191838 deb2b8f (origin 2d8931e): fix(process): share inherited process lineage across module copies 191838 7649f46 (origin 9b25ff9): fix(codex): preserve loaded one-shot cleanup 191838 37007d7 (origin c71bf33): fix(codex): unload canonical forks before child turns resume them 191838 fcb5687 (origin ebca499): fix(codex): resolve native follow-ups by task name across parent turns 191838 2627a7f (origin 84e1365): fix(codex): name usable agent IDs when a native target is unidentified 191838 9f78f29 (origin f591228): fix(codex): wait for a live previous owner to unload before resuming 191838 cc216fb (origin a6ec514): fix(codex): allow Codex's shutdown window when confirming a thread unload 191838 85b8598 (origin 6b4e757): fix(cron): run jobs added before scheduler start without startup deferral 191838 1693080 (origin df43e79): fix(state): retry lease cleanup after offline maintenance contention 191838 018d506 (origin 3c7cde0): fix(sqlite): wait for a cold database turn before the shared worker open queue 191838 683b89f (origin d7f8560): fix(gateway): flush startup evidence before readiness 191838 22dbc18 (origin d569839): fix(config): ignore empty default plugin entries when widening allowlists Reviewed source packet: 08890ffe0399fcc102a67c6fe3ea8c8bada74128d85dd826c9ee5d8a03f92520 Batch/security slice: cf4a56d8df38cc11818b961b51b9a2756f755b084cdc27ffeb88cf4365bed0bc Native/auth/updater remainder is intentionally not part of this commit. Co-authored-by: RomneyDa <[email protected]>
Preserve canonical release tests, all 18 native postimages, and the reviewed Matrix diagnostic delta while merging original #191633. Final candidate qualification remains required. Co-authored-by: RomneyDa <[email protected]>
Summary
release/2026.11.5, preserving the original PR and backport history.Verification
Historical initial backport evidence: focused release suites 370/370 and security/dependency suites 308/308 passed. Those results are not claimed as fresh final-head CI.
Repair evidence:
Remaining qualification and retained failures
Fresh CI must qualify the pushed head; historical or focused successes do not replace that gate. Broader local workflow runs retained eight failures: six Ruby/Fastlane execution cases lacked Ruby, and two scratch/workflow cases exhausted host
/tmpinodes (176/184 passed). Two additional compiled subprocess suites could not build with a borrowed dependency installation (get-east-asian-widthexport mismatch); their aggregate recorded 423 passing tests but is not a passing run. Workflow-lint tooling was unavailable. The historical Ruby gap is now resolved for the full 15-test iOS fixture file as documented below; the inode and compiled-suite gaps remain recorded. No dependency workaround or blanket local success is claimed. The separately reviewed #191838 has now merged into the same release branch. Full beta.2 release/native qualification remains separate from landing this original PR.Stable-channel counterpart: #190034.
Follow-up: iOS CI fixture repair
The previous pushed head exposed two stale iOS test contracts. The repair removes the nonexistent
fixture-testguard while retaining the exact four-test selection assertion, and replaces a retired per-capture resource snapshot expectation with an exact sanitized diagnostic record plus a guard against blocking resource sampling. The allocation decreases by 15 lines. Both original failure signatures were reproduced; the full 15-test file passes under isolated Ruby/Node and under the pinned Bun runtime. Targeted typecheck, lint, formatting, and test-line ratchet pass. No iOS production behavior or live Xcode result is claimed.The previous head also failed five identical Android caption-visibility cases in each of two lanes; the entire Android source/dependency/configuration tree and Android CI execution configuration are unchanged from the exact release base. Three xAI payload tests also failed: the exact-base replay reproduces the failing case set, but a local compiler/dependency error prevents claiming an exact three-timeout match. That attribution limitation is retained; no speculative xAI production patch or CI-success claim is made. Fresh CI must evaluate this pushed head.
Android fixture follow-up (#192273)
Backported the exact seven-line upstream fixture initialization fix as f33c1f5, preserving Peter Steinberger's authorship. The plain-Application reader fixture initializes the existing NativeStringResources owner before each test, matching production startup without weakening caption or scrolling assertions. Independent source review found no actionable issue; the file matches upstream and the passing scheduled-main fixture exactly, and diff checks pass. No local Android runtime was available; fresh exact-head CI is required. Prior f515 Android caption failures and xAI timeouts remain historical failed evidence, not new-head results.
xAI cold-worker repair (d9ad345)
The three xAI payload timeouts occurred while one compiled-worker preparation ran for 34.9 seconds inside the first test deadline. The existing SDK compiled-subprocess-testing import now prepares that generation at collection; all real payload assertions and 10-second deadlines remain unchanged. One setup line is allocated explicitly.
Independent source review, targeted lint/format, test-line ratchet and whitespace checks pass. At d9ad345, all three real payload tests passed in job127149531809 (3.671s, 146ms, 94ms); local compiled-worker replay remains unavailable due the borrowed dependency export mismatch. New-head CI remains required.
The preceding f33c run also exposed the memory session-delta dirty-status failure repaired below. No complete green CI or release qualification is claimed.
Deferred memory delta repair (82b3336)
An interrupted targeted indexing pass retained its published rows but cleared dirty status while unfinished work remained in the existing file/identity queues. The targeted-sync owner now includes those queues in its dirty calculation. The existing regression drains startup catchup and no longer forces an unrelated full rebuild; its published-index, dirty, resume, and clean assertions remain intact. One net test line is explicitly allocated.
Fresh independent review found no actionable issue. Package-boundary typecheck, targeted lint/format, test-line ratchet and whitespace checks pass. The borrowed-dependency local command stopped before tests, but exact-head CI run 42000023511, job 127154049874, subsequently passed all three session-delta tests, including dirty retention, quiet-period resume, and incremental turns. The owner selection passed 176 tests with 22 skipped. This is runtime proof of the memory repair, not complete CI or release qualification.
At preceding d9ad, Android play/third-party caption lanes and ktlint pass; xAI payload tests pass. Other jobs failed acquiring pinned Bun/opengrep via HTTP504 before tests/scanning. Those setup failures are not passing security or runtime evidence and are not waived.
Current exact-head CI limitations
Run 42000023511 attempt 1 finished red on 82b3336. Ten failed jobs stopped before tests during pinned Bun HTTP504 or Gradle distribution downloads. Separately, the Matrix
matrix-restart-replay-dedupeQA scenario failed to deliver fresh messages after an in-process restart; the same scenario passed on scheduled main. That failure is unresolved, not attributed as inherited and not waived. Local exact-merge reproduction obtained clean frozen dependencies, but stopped before the scenario at host temporary-inode exhaustion and then at unavailable service-manager inspection in an isolated container; neither setup failure is behavioral proof.One failed-job retry was accepted for the unchanged head to recover download failures and reproduce the Matrix scenario on a fresh runner. Attempt 2 completed with the same Matrix failure; the original evidence is retained. No complete green CI, merge, or beta.2 publication is claimed.
Hosted Matrix restart diagnosis (58c8cdc)
The prior exact-head CI retry repeats the Matrix post-restart delivery failure. This follow-up preserves every scenario assertion, restart operation and deadline. It adds bounded synthetic Matrix inbound IDs through the existing Crabline timeout hook and enables existing lifecycle debug logging only for this isolated scenario. Generic/live transport diagnostics are unchanged; no bodies, senders, rooms or foreign-account IDs are added.
Fresh independent source review found no P0–P2 issues. Whitespace, formatting and semantic scenario comparison passed. The focused test and runtime scenario remain CI-owned: local test setup did not reach execution, and no local runtime pass is claimed. This observation-only change is not presented as a product fix or an unchanged retry.
The prior 82b3336 memory owner CI completed with 176 passing and 22 skipped tests; all three session-delta cases passed. Prior dependency-download failures recovered on retry. Matrix remains the unresolved product-path failure; the three separate Periphery failures were traced to Swift-tools download and missing downstream artifacts.
Latest qualification — 3c820c5 (November 5, 17:06 UTC)
The 58c hosted run 42068354939 confirmed the Matrix restart/replay failure (job 127390012495). Its diagnostic regression also failed before assertions because the synthetic sender ID was invalid (job 127390021679). Inspection found the timeout callback was not carried through the real adapter factory.
Commit 3c820c5 fixes both diagnostic defects: a valid Matrix sender, a regression through the actual adapter registry/factory, and exposure of the existing bounded timeout callback on the returned definition. The eight-ID/account/privacy limits and scenario assertions/deadlines are unchanged. Fresh independent review found no actionable issues; formatting and whitespace checks pass. One focused local invocation stopped in compilation because the borrowed installation lacks @lancedb/lancedb and quickjs-wasi; no tests executed and no dependency workaround was made.
Exact-head hosted CI 42071059222 is pending. The diagnostic correction is not a fix for the Matrix product failure. This PR remains unqualified for merge until that failure is resolved and the final head is qualified. No beta package/tag publication has occurred.
Final exact-head qualification — November 5, 17:40 UTC
CI42071059222 attempt1 completed on exact3c820c58ebbaa39ffe0dee8a65264563a224e2f8:153 successful jobs,18 skipped, two nonaggregate failures and their aggregate gate. Actual tested merge1d1cf16bd228876ce03c77e83e46e136776ce037 has ordered parents release-base792 plus3c. Matrix replay dedupe, room continuation and restart resume all passed without retries; build, security, source tests and static checks passed. This supersedes pending qualification above, without asserting the diagnostic change fixed the prior intermittent cause.
Remaining failures are retained, not relabeled green:
Scoped source/input and failure-phase inspection attributes these failures as unrelated to this change. No retry, assertion weakening or baseline update was performed. Final exact beta2 candidate FRV remains required before publication.