Repository navigation
fix: pin shared Bun to signed Windows rebuild - #169532
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 maintainer review before merge. What this changesThis PR pins the shared Bun runtime to its signed Windows rebuild and updates the artifact documentation. Example: Windows packaging needs the shared windows-x64 Bun artifact.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR provides a useful, narrowly scoped runtime repin that current main still lacks; no actionable introduced defects remain. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe shared pin supplies release identities and artifact hashes to runtime staging for CI and desktop packaging; Windows packaging integration remains separate. flowchart TD
A[Bun release artifacts] --> B[Shared runtime pin]
B --> C[Darwin and Linux stager]
C --> D[CI test runtime]
C --> E[Desktop runtime packaging]
B --> F[Pending Windows integration]
Technical reviewBest possible solution: Land the shared same-source repin while keeping Windows packaging and native platform qualification in their owning integration. Do we have a high-confidence way to reproduce the issue? This is a runtime artifact update rather than a reproduced product failure; source inspection confirms current main lacks the signed Windows entries. Is this the best way to solve the issue? Updating the existing shared pin is the appropriate owner-level solution, preserving independent hashes and avoiding competing desktop or CI pins. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f054d03022e0. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceDocs +4, Other +16. Total +20 across 3 files. Added test files: 0. View PR surface stats
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 HistoryReview history (3 earlier review cycles)
Reviewed October 11, 2026, 11:42 PM ET / October 12, 2026, 03:42 UTC (Revision 4). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
* fix: pin shared Bun to signed Windows rebuild * docs: clarify pending Windows Bun integration
What Problem This Solves
The shared Bun pin predates the signed Windows release assets needed by the desktop runtime.
User Impact
Makes Authenticode-signed Windows x64 and arm64 binaries from the OpenClaw Foundation available through the shared pin, with
authenticodeSigned: trueandtestOnly: false. This PR only repins the runtime; Windows packaging integration is separate.Why This Change Was Made
Pins
openclaw-v1.4.3-20261010-65d94e7156-webkit-01f208ae7a-r2, a same-commit rebuild of Bun65d94e7156da4b6aca649dac5f19b8294b757570with the same WebKit01f208ae7a87661e7503f514c946a37bc76ad1d1. The Darwin hashes change; the Linux archive and executable hashes remain identical. The existing platform-keyed schema accommodates both Windows entries without a reader change.Regenerated the pin from the release manifest using the documented jq projection, updated the old tag reference, and taught that projection to retain Windows signing fields. Release-note context: desktop runtimes can consume the signed Windows rebuild without changing the Bun or WebKit source revision.
Production code: +0/-0; pin data: +21/-5; docs: +21/-17; tests: +0/-0.
Evidence
SHA256SUMS; checked both Windows signing declarations and the unchanged source identities.scripts/stage-openclaw-bun.sh(the current replacement for the former macOS-only stager). Both passed archive, executable, architecture, and revision validation..github/actions/setup-test-bun; hash/ELF verification passed. Native Linux execution is left to CI.--revision(1.4.3-canary.1+65d94e715) andBun.revision(full source commit above).OPENCLAW_VITEST_RUNTIME=bun node scripts/run-vitest.mjs <file> --maxWorkers=1, with a private HOME/TMPDIR and the selected Bun first on PATH.src/utils/safe-json.test.tssrc/infra/process-env.test.tspackages/terminal-core/src/display-string.test.tssrc/process/windows-command.test.tssrc/infra/node-sqlite.test.tsThe command-parser file paid the compiled-worker preparation cost (152.55 s cold, 49.69 s cached); no tests were added or changed.
lint:scriptspassed (156.22 s) after installing the omitted, already-lockedtools/solid-lintdependencies. The initial attempt failed on a missing tooling package, not a source defect. The remaining full macOS app suite was not run for this requested same-source light gate.git diff --checkpassed.No native Windows execution or Authenticode trust-chain validation was performed in this macOS repin lane; the published signing declarations are pinned and the Windows lane owns platform execution. The requested same-source light gate is used rather than full release qualification.
ClawSweeper follow-up: corrected the guide to describe the Windows entries as available for pending packaging integration. The follow-up changes one documentation sentence only; the tested Bun pin is byte-identical (Git blob
1e5b58d6adbad0985272c1a18e0339048a858d0d). Existing runtime proof remains applicable, and fresh autoreview is scoped-clean.Final-head checks: CI run passed, including
openclaw/ci-gate. ClawSweeper reviewed1e843e8dd7fa44d5d7f60afc85ae8770d57c8168with no findings or Before merge items; ready for maintainer review.