Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.

fix(opencode): bundle Bun 1.4.4 security update - #407

Merged
brentyates-swx merged 20 commits into
swxtchfrom
fm/oc-bun-update-392
Nov 5, 2026
Merged

brentyates-swx merged 20 commits into
swxtchfrom
fm/oc-bun-update-392

Conversation

@brentyates-swx

@brentyates-swx brentyates-swx commented Nov 4, 2026 •

Copy link
Copy Markdown

Closes swxtchio/swx-opencode#392.

Backports anomalyco/opencode#58087 from 37d973754ba6cc31732f93421c0c18b675841573 with git cherry-pick -x, adapting the Bun 1.4.4 runtime/type pins and Solid TSX test setup to this fork. The donor-only fixture and Figma package paths remain omitted. Fork workflow guards and FFF sidecar packaging are preserved. The donor's BUN_COMPILE_RELEASE export remains inert in publish.yml: neither build script consumes it, and the publish jobs are guarded to anomalyco/opencode.

This PR is separately scoped to #392 and merges the swxtch base through #406 (including #399) without rebasing.

Verification

  • Fresh Bun 1.4.4 bun install --frozen-lockfile passed on the combined Solid 1.9.15 / Seroval 1.5.6 lock (2,356 packages); focused UI Solid JSX, photon WASM, App transition/session-router cleanup, and Console Seroval codec/forged-Promise tests passed.
  • On the fix(core): coordinate OAuth credential refreshes #406 merge tree, the focused Core credential-lock and integration-refresh failure-sharing tests passed, and Core bun typecheck passed.
  • Pre-push bun turbo typecheck: 30/30 packages passed on commit bdea406bed. Current-head GitHub typecheck run 41938651389 passed after its first attempt hit a transient HTTP 5xx downloading @solidjs/start from pkg.pr.new.
  • FFF native matrix run 41891323416 passed all four Nix hash/package builds and both Windows FFF jobs; previous current-head run 41938651318 passed. New-head FFF run 41950834172 is queued.
  • New-head PR typecheck run 41950834116 and unit/e2e run 41950834253 are queued. Firstmate's final pre-merge suite remains the merge gate.

Round-two Bun 1.4.4 validation

Native candidate evidence

  • ARM64, current fix(core): coordinate OAuth credential refreshes #406-merged source: commit be97d389ea855ee8d209f2d66a68a8d8dbcc7793, version 1.18.32-swxtch.be97d389; archive 79,293,696 bytes, SHA-256 70855564b4a0845ba52c2ec02df5e4df8b00a7975cd4aba4d6bee8ff03532649. Native FFF/session/database probes passed. Full evidence: docs/verification/bun-1.4.4-candidate/final/arm64/evidence/.
  • x86_64, same fix(core): coordinate OAuth credential refreshes #406-merged source as ARM64: commit be97d389ea855ee8d209f2d66a68a8d8dbcc7793, version 1.18.32-swxtch.be97d389, qualified on abbe-build-001; archive 79,891,319 bytes, SHA-256 4c8b10337d1da27ee0803947a890bfab6ba648ef056d4d0c5e713c9db5c91b03, executable SHA-256 78029fec8a2d5b6398e5cdb93b60c5e06e1da30aeba926f68d7718c3dd06894c, sidecar SHA-256 977a96fc9911edd8cabacb098e90229c6a2dde7384f3291e5beccaf1ee93fef5. Native FFF/session/database probes passed. Full evidence: docs/verification/bun-1.4.4-candidate/final/x64/evidence/.

Both final embedded-Bun proofs report matches_compiler:false because they literally compare the full compiler revision with Bun's abbreviated --revision output; --version is 1.4.4 and fallback binary strings match the full revision, so these are successful proofs.

Neither candidate was installed on a fleet host or published.

Task: swxtchio/swx-opencode#392; donor anomalyco#58087 at 37d9737 with the required -x provenance.

- Cherry-pick the donor and resolve fork-path conflicts in the existing runtime, workflow, dependency, and test owners.
- Preserve the fork dependency graph, workflow guards, FFF packaging, and native fetch integrity; record the backport in CHANGESET.md.
- Prove fresh-install photon behavior and Solid TSX component behavior with focused red/green tests, package typechecks, and the workflow guard.
- Qualify clean, source-pinned native candidate bytes on the authorized build box; leave fleet installation to Firstmate after merge.
@brentyates-swx

Copy link
Copy Markdown
Author

Session ID: unknown
Working repo: /home/byates/fm-worktrees/fm-llmrouter/oc-bun-update-392/swx-opencode

@brentyates-swx
brentyates-swx marked this pull request as ready for review November 5, 2026 04:40
@brentyates-swx
brentyates-swx merged commit 02013d1 into swxtch Nov 5, 2026
12 of 14 checks passed
@brentyates-swx
brentyates-swx deleted the fm/oc-bun-update-392 branch November 5, 2026 05:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update bundled Bun 1.4.2 -> 1.4.4 for networking security fixes and qualify a native release

1 participant