Repository navigation
fix(release): backport retrospective repairs through batch 9 - #190034
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: needs real behavior proof before merge. What this changesBackports release validation, publication recovery, monitoring, approval, and package-verification improvements to release/2026.11.1. Example: Publication run 301 has child run 701 waiting for npm-release approval.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 3 items remain Keep open: this maintainer-authored backport brings useful, already-merged repairs to the release branch; no concrete introduced correctness bug was established. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherRelease tooling consumes pinned source identities, retained orchestration state, package inventories, and GitHub observations to validate artifacts, monitor publication, and perform explicitly authorized release operations. flowchart TD
A[Release operator] --> B[Release CLI]
C[Retained release state] --> B
B --> D[Validation and publication owners]
D --> E[GitHub authority checks]
E --> F[Approval and publication effects]
D --> G[Status and recovery guidance]
Technical reviewBest possible solution: Retain the backport through existing release owners, establish the final authority boundaries, and resolve the required-check disposition before release inclusion. Do we have a high-confidence way to reproduce the issue? Base-source inspection confirms the stale-request rejection, checkout-dependent plugin inventory, and missing monitoring paths; linked repairs provide focused regressions and one live Linux rejection trace, but this review executed no target code. Is this the best way to solve the issue? The backport preserves established owners and coherent upstream repairs, including the release-specific verifier import adaptation; the watcher remains observational and the approval helper delegates final authorization to GitHub. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b1615fd4432c. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: shipped entry point. SecurityNeeds attention: No concrete authorization bypass was established, but the changed final authority boundaries remain incompletely qualified. EvidenceSecurity concerns:
What I checked:
Likely related people:
PR surfaceTests +1162, Docs +99, Config +8, Other +1120. Total +2389 across 50 files. Added test files: 2. View PR surface stats
Review metrics
LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 October 31, 2026, 11:53 PM ET / November 1, 2026, 03:53 UTC. |
48f9f01 to
7dc3350
Compare
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)
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]>
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
77951cd to
6770998
Compare
) Reserve a Gateway continuation through debounce dispatch completion so adoption cannot leave the later agent enqueue under a released HTTP request root. Preserve restart and suspension admission checks. Fixes #178554. (cherry picked from commit 223654c) Co-authored-by: RomneyDa <[email protected]>
* fix: keep adopted channel turns admitted through completion Retain the existing Gateway root through the core channel turn. Telegram releases durable ingress at adoption while dispatch continues, so the debounce root must remain live until provider execution and cleanup settle. Preserve suspension and restart admission checks. * fix: keep Telegram replies owned through dispatch cleanup Own the full spooled dispatch with the existing detached-work helper while ingress still returns at durable adoption. Include post-core draft cleanup and fallback delivery, and settle refused detached admission retryably. Replace the incomplete core-only retention and prove suspension and restart behavior at the Telegram processor. * test: keep Telegram ownership proof on public SDK surfaces Exercise complete detached dispatch and refused settlement through the public SDK in Telegram tests. Keep root ownership, suspension, restart, and inherited-owner negative controls in the core-side helper suite. Remove direct core imports and the repo-only temp-dir bridge. (cherry picked from commit 7d73272)
Retain dispatch completion ownership without blocking adoption-based steering, and settle skipped queue jobs before draining. Adapt the existing main fix to the release branch's extracted message run queue. (cherry picked from commit 4f1d233)
(cherry picked from commit 5e6d9a2)
Restore the submitting async context before final queue admission and transport dispatch. Preserve live authority checks and cover real grammY/Bottleneck queues for direct and group chats, including caller revocation. Adapt the regression into a separate release test file to retain the existing account-throttler suite within its lint size budget. (cherry picked from commit f78c529)
What Problem This Solves
Fixes release validation, publication recovery, and queued channel processing failures on
release/2026.11.1by backporting the applicable retrospective repairs through Batch 9.User Impact
Release operators get current admission, recovery, and verification behavior. Telegram and Discord keep accepted messages admitted through processing instead of refusing them during normal dispatch. No version, tag, candidate, or publication state is changed.
Why This Change Was Made
The backport preserves individual source commits and adapts fixtures to the older release contracts. It also includes the immediate inbound ownership fix (#179200), Telegram continuation fix (#179385), Discord queue ownership fix (#179704), the queued Telegram send context fix (#189457), and the main-first OIDC authority repair (#191641). Publishing recovery rechecks current source and protected tooling authority after acquiring the GitHub token and before requesting an npm credential.
Evidence
mock-openaiand the crabline Telegram adapter.46af8dcca613(190 MB peak RSS).The tests use isolated Gateway state and synthetic GitHub/npm transports. No live publication, production credentials, or release approval was exercised. Broad checks and required owner reviews remain GitHub gates.
Retrospective backport inventory
Earlier retrospective batches
Retrospective Batch 8
Retrospective Batch 9
#180219is already contained in the release branch.openclaw/releases#46belongs to the separateopenclaw/releasesrepository and is not part of this branch.