Repository navigation
fix: accept running release parents GitHub reports as queued and retry GitHub 5xx - #4939
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. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Codex review: needs maintainer review before merge. What this changesThis PR accepts unfinished release parents without conclusions and retries GitHub authorization lookups after transient server errors. Example: Publishing @openclaw/synology-chat 2026.11.7 while its bound release parent reports queued with no conclusion.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this maintainer-authored PR open: current main still contains both reported failure paths, and the focused patch has no concrete blocking code findings. Priority: P1 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherClawHub verifies GitHub OIDC identity, release-parent receipts, package inventory, and live workflow state before issuing scoped publication credentials and promoting staged releases. flowchart TD
A[Release child workflow] --> B[Trusted publishing HTTP endpoint]
B --> C[Shared authorization verifier]
C --> D[GitHub runs and receipt artifacts]
C --> E[Scoped credentials and staged release]
E --> F[Scheduled finalizer]
F --> C
F --> G[Public package release]
Technical reviewBest possible solution: Keep the repair in the existing shared verifier, preserving exact transaction checks and terminal-only public promotion. Do we have a high-confidence way to reproduce the issue? Source deterministically rejects queued/no-conclusion parents and aborts on the first HTTP 502; linked release jobs corroborate publication failures, but no reproduction was executed during this read-only review. Is this the best way to solve the issue? This is the best fix location: the shared verifier covers minting and publication checks, whereas workflow-side retries would duplicate policy and leave other callers exposed. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c30d473c7b35. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
Likely related people:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel 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 22, 2026, 9:54 PM ET / November 23, 2026, 02:54 UTC. |
Problem
The OpenClaw 2026.11.7 plugin release (child run 45099063286, parent 45086700124) failed 7 of ~200 ClawHub publish jobs, at trusted-publishing authorization rather than in the security scans:
release parent state queued/none is not authorized by automated-sealed. The parent run was still running its "Publish plugins, then OpenClaw" job. GitHub reports a running workflow run asqueued,waitingorpendingwhenever another of its jobs is waiting for a runner or an environment approval.validateParentStatetreated onlyin_progressas active.GitHub authorization lookup failed with HTTP 502.githubRequestfailed the whole authorization on a single transient GitHub 5xx, while the sibling packages in the same wave staged fine.Both failures leave a package absent while its siblings are staged, so an operator has to recover it by hand.
Solution
completedwith an authorized conclusion, so cancellation still can't race promotion.Evidence
convex/lib/openClawPublishAuthorization.test.ts(42), plus consumer suitespackages.public,httpApiV1.handlersandpackages.publishRetry(992), all pass.tsc --noEmit, oxlint and oxfmt are clean.