fix: restore release validation on main#102516
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 9, 2026, 4:04 AM ET / 08:04 UTC. Summary PR surface: Tests +74, Other +98. Total +172 across 5 files. Reproducibility: yes. from source inspection and the focused tests in the PR, but I did not execute the failing release checks locally. Current main uses the async ClawHub log capture and raw Bun smoke package path that this PR changes. Review metrics: 1 noteworthy metric.
Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Land the focused release-validation repair after maintainer review accepts or refreshes exact-head package, install-smoke, and ClawHub validation while keeping runtime product behavior unchanged. Do we have a high-confidence way to reproduce the issue? Yes from source inspection and the focused tests in the PR, but I did not execute the failing release checks locally. Current main uses the async ClawHub log capture and raw Bun smoke package path that this PR changes. Is this the best way to solve the issue? Yes, this looks like the right fix shape: it reuses the existing package-openclaw-for-docker contract, pins only the candidate @openclaw/ai package, and keeps product runtime behavior unchanged. The remaining condition is exact-head release-validation proof before merge. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ea8076a091b4. Label changesLabel justifications:
Evidence reviewedPR surface: Tests +74, Other +98. Total +172 across 5 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
|
Land-ready verification complete. Commands and proof:
Known proof gap: the monolithic |
|
Merged via squash.
|
* test(qqbot): assert approval fence exactly * fix(release): wait for ClawHub publish logging * fix(ci): repair Bun global install smoke * test(slack): fix app identity fixture
What Problem This Solves
Resolves release-validation failures where ClawHub publish retries could lose their temporary log before it was consumed, Bun could not install the candidate package because its bundled workspace runtime was unavailable through local-tarball resolution, the QQBot approval-fence test parsed the closing fence incorrectly, and the Slack event-scope fixture used an event-envelope field for an
auth.testresponse.Why This Change Was Made
ClawHub logging is now synchronous under the existing pipefail contract. The Bun smoke builds the canonical root package, extracts and version-checks its exact bundled AI package, repacks that candidate, and pins only that package through Bun's global override while leaving public registry resolution unchanged. QQBot now asserts the complete fenced block. Slack's fixture now uses the documented
auth.testfieldapp_idwhile continuing to validate incomingapi_app_idscoping.User Impact
No product behavior changes. Maintainers get deterministic release checks for ClawHub publishing, Bun global installation, prebuilt package reuse, and messaging-extension tests.
Evidence
tbx_01kx2wsgyzahgrand4dh6sfqr9(delegated run).OpenClaw 2026.6.11booted, and all 11 image providers loaded on Testboxtbx_01kx2w8s62p7kwsy405j3w0s22(delegated run).tbx_01kx2smdhxvt1mjjzrn9kz75m7.cbx_f3d007d2cc89/run_b3583b7368ff.245b91b83de0f5cdc2b9447422caf9ad0a4acbef(run).OPENCLAW_TESTBOX=1 scripts/pr prepare-run 102516: passed on exact-head hosted evidence.