Skip to content

chore(deps): bump JavaScriptKit to 0.56.1 in the wasm bridge - #1244

Merged
JimWallace merged 1 commit into
mainfrom
claude/package-dependency-updates-fapnmg
Jul 30, 2026
Merged

JimWallace merged 1 commit into
mainfrom
claude/package-dependency-updates-fapnmg

Conversation

@JimWallace

Copy link
Copy Markdown
Owner

What

Bumps the wasm/ sub-package's JavaScriptKit floor 0.53.0 → 0.56.1 (swift-syntax follows 603.0.1 → 603.0.2 transitively). Follow-up to #1242, which deliberately left this out.

Relevant upstream changes:

Tested with the real toolchain

Installed Swift 6.3.2 + the pinned Embedded wasm SDK (exactly the runner-wasm-vendor CI recipe) and ran the full pipeline locally:

  • scripts/build-runner-wasm.shcompiles clean, zero bridge changes needed (Embedded mode, Extern feature, Unicode-tables linkage all fine)
  • node --test Tests/BrowserRunnerJSTests against the rebuilt artifact — 141/141 passing, including output-contract.test.mjs and the runtime/grading-worker drift tests
  • Size: gzip 503,910 bytes, +3,006 bytes (0%) vs baseline — within budget (warn 540,672 / fail 688,128)

Why Public/runner-wasm/ is untouched here

By design. The runner-wasm-vendor workflow's source hash covers wasm/Package.resolved; on merge it detects the drift, rebuilds with the canonical CI toolchain, and commits the re-vendored artifact to main itself (same pipeline as every RunnerCore change). Shipping container-built bytes from this PR would bypass that provenance. Note the documented one-release lag: the fresh artifact ships with the release after the vendor commit lands.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SrX4NqzzxXSbQnu3XCFZM6


Generated by Claude Code

Raises the wasm/ package floor from 0.53.0 (and swift-syntax moves
603.0.1 -> 603.0.2 transitively). Picks up the upstream Embedded-Swift
fixes: JavaScriptEventLoop on newer toolchains (#784) and
Embedded-compatible error descriptions (#759). JavaScriptKit's minimum
Swift is now 6.3, which matches the pinned
swift-6.3.2-RELEASE_wasm-embedded SDK. The rest of the 0.54-0.56 delta
is BridgeJS work Chickadee does not use (the bridge is manual interop).

Validated with the real toolchain: installed Swift 6.3.2 + the pinned
Embedded wasm SDK, ran scripts/build-runner-wasm.sh — compiles clean
with no bridge changes — and ran the browser contract suite
(node --test Tests/BrowserRunnerJSTests) against the rebuilt artifact:
141/141 passing, including output-contract and the drift tests.
Size: gzip 503910 bytes, +3006 (0%) vs baseline, within budget.

Public/runner-wasm/ is deliberately NOT re-vendored in this PR: the
runner-wasm-vendor workflow's source hash covers wasm/Package.resolved,
so it rebuilds and commits the canonical artifact on main post-merge.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SrX4NqzzxXSbQnu3XCFZM6
@JimWallace
JimWallace marked this pull request as ready for review July 30, 2026 23:44
@JimWallace
JimWallace merged commit 9ef27bd into main Jul 30, 2026
13 checks passed
@JimWallace
JimWallace deleted the claude/package-dependency-updates-fapnmg branch July 30, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants