Skip to content

chore: bump Swift to 6.4.2 - #9

Merged
Vithanco merged 1 commit into
mainfrom
swift-6.4.2
Nov 12, 2026
Merged

Vithanco merged 1 commit into
mainfrom
swift-6.4.2

Conversation

@Vithanco

@Vithanco Vithanco commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

 .swift-version
-6.4.1
+6.4.2
 .github/workflows/ci.yml          # swift, wasm and engine jobs
-container: swift:6.4.1-noble
+container: swift:6.4.2-noble
-key: <job>-6.4.1-…
+key: <job>-6.4.2-…
 scripts/ci-wasm-sdk.sh
-CHECKSUM=783e6128…   # swift.org, 6.4.1 wasm-sdk
+CHECKSUM=83baca83…   # swift.org, 6.4.2 wasm-sdk

The checksum comes from _data/builds/swift_releases.yml in swift-org-website. The old value matches that file's 6.4.1 wasm-sdk entry, so the new value comes from the same field.

Evidence

Run on macOS with swift-6.4.2-RELEASE and swift-6.4.2-RELEASE_wasm-embedded:

  • Before: with only 6.4.2 installed, swiftly can't run a toolchain for a .swift-version of 6.4.1.
    After: just test passes: lint, the Swift suites (about 2,400 tests; RequestIDTests' 3 known issues are unchanged), the wasm smoke tests, 216 editor browser tests and the shell tests.
  • ./build-wasm.sh --release --skip-smoke followed by check-wasm-optimized.sh gives an optimized engine of 4.5 MB, under the 5 MB limit.

The Linux CI jobs are the first run against the swift:6.4.2-noble image.

Merge Danger

Door: two-way

Reverting the commit restores the 6.4.1 pins.

Blast Radius: toolchain

The plugin CI builds read .swift-version from the VGraph ref, so they move to 6.4.2 with this commit. The server Dockerfile stays on swift:6.3. Open PR #8 edits other lines of ci.yml, so the two merge cleanly.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the Swift version used for automated builds and checks to 6.4.2, including the WebAssembly SDK validation data.
    • This keeps the project’s build and verification environment aligned with the updated Swift release.

The CI containers and cache keys follow .swift-version. The wasm SDK
checksum is swift.org's for the 6.4.2 bundle, from
_data/builds/swift_releases.yml in swift-org-website.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The project updates its Swift version to 6.4.2. Three CI jobs use the matching container version and cache keys. The wasm SDK checksum also changes.

Changes: Swift toolchain update

Layer / File(s) Summary
Toolchain and CI configuration
.swift-version, .github/workflows/ci.yml, scripts/ci-wasm-sdk.sh
The project version pin and three CI jobs change to Swift 6.4.2. The job cache keys and restore-key prefixes match the updated version. The wasm SDK checksum is replaced.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Possibly related PRs

Suggested labels: dependencies

Merge Risk: Minimal · up to 08f4c

This is a routine toolchain bump from Swift 6.4.1 to 6.4.2 with matching CI and checksum updates. The author reports local tests passing, and no actionable merge-blocking risk was found. CI will confirm the Linux image.

Security architecture risk: Low · up to 08f4c

The update preserves the existing checksum control, installation order and CI permissions. No introduced security weakness was established. The new checksum’s official provenance and the external installer’s interruption and recovery guarantees were not independently verified.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — A compromised selected toolchain or SDK could affect build execution and generated wasm outputs. The shown workflow has read-only repository authority. Plugin CI also consumes the installer from its selected VGraph ref, but its credentials, persistence and downstream distribution scope are not established by the available evidence.

Trust Boundaries and Controls

  • observed — The network-to-build trust transition remains an HTTPS download from download.swift.org passed to swift sdk install with an explicit expected checksum. The PR changes the trusted integrity value without adding a bypass or fallback. Official provenance for that new value remains unverified by repository evidence.

Resilience and Maintainability Implications

  • observed — The repository preserves install-before-use failure handling but delegates staging, locking, repeat-install behavior and recovery to Swift. No repository-owned cleanup or rollback is implemented in this installer. This delegation predates the PR; whether interrupted installation can expose reusable partial state remains unresolved, not an established introduced defect.
Pre-merge checks: Passed 7

Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: updating Swift from 6.4.1 to 6.4.2.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Swiftgraphviz Compatibility Passed Not applicable. The PR changes only CI configuration, .swift-version, and the WASM SDK script. It does not change the specified package files or Sources/VGraphvizLib.
Wasm Engine Export Break Disclosure Passed The PR does not change VGraphWasm/Sources/Main.swift. Its base and head blobs are identical, so no specified export signature changed.
Adr Conflicts Are Explicit Passed The PR changes the Swift 6.4 patch version, CI container and cache keys, and WASM SDK checksum. No ADR decision is contradicted. ADR 0035, lines 23–25, explicitly allows plugin CI to use the checked-o…
Full details: Adr Conflicts Are Explicit

Explanation

The PR changes the Swift 6.4 patch version, CI container and cache keys, and WASM SDK checksum. No ADR decision is contradicted. ADR 0035, lines 23–25, explicitly allows plugin CI to use the checked-out ref's .swift-version.

Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between adbe651 and 08f4ca8.

Files selected for processing: 3

  • .github/workflows/ci.yml
  • .swift-version
  • scripts/ci-wasm-sdk.sh
Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@Vithanco
Vithanco merged commit ffa783d into main Nov 12, 2026
10 checks passed
@Vithanco
Vithanco deleted the swift-6.4.2 branch November 12, 2026 05:23
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.

1 participant