Skip to content

Upgrade to Swift 6.3.0 release#108

Open
bmedina wants to merge 8 commits intomainfrom
bmedina/swift-6.3-release-upgrade
Open

Upgrade to Swift 6.3.0 release#108
bmedina wants to merge 8 commits intomainfrom
bmedina/swift-6.3-release-upgrade

Conversation

@bmedina
Copy link
Copy Markdown
Collaborator

@bmedina bmedina commented Mar 31, 2026

Summary

  • Upgrade from Swift 6.3 development snapshot (6.3-snapshot-2026-02-27) to the official Swift 6.3.0 release across native, WASM, and embedded WASM builds
  • Simplify .swan-config and Makefile by removing snapshot-mapping logic in favor of direct release SDK references
  • Simplify sdk-install.mjs to accept a direct download URL + checksum instead of parsing snapshot patterns from the swift.org API
  • Update Windows CI to handle both release (X.Y.Z) and snapshot (X.Y-snapshot-DATE) version formats
  • Unify embedded WASM CI to use the same .swift-version toolchain as all other workflows (removes CI_TC_VERSION_EMBEDDED override)
  • Update AGENTS.md to remove stale snapshot references and document .swan-config

Test plan

  • Native build passes with Swift 6.3.0
  • All 118 tests pass
  • WASM SDK installs successfully (swift-6.3-RELEASE_wasm)
  • WASM build (make wasm-build) succeeds
  • Windows CI builds (verified by CI)
  • WASM CI builds (verified by CI)
  • Embedded WASM CI builds (note: embedded has a pre-existing SPI conformance failure unrelated to this change)

bmedina added 7 commits March 31, 2026 15:23
Move from 6.3-snapshot-2026-02-27 development snapshot to the
official Swift 6.3.0 release.
Replace snapshot key mappings and embedded CI version overrides
with direct release SDK references, URL, and checksum.
Remove snapshot-splitting logic. Read WASM_SDK and
WASM_SDK_EMBEDDED directly from .swan-config.
Accept a download URL and checksum instead of parsing snapshot
patterns. The swift sdk install command handles deduplication.
The version parsing now supports both release (X.Y.Z) and
snapshot (X.Y-snapshot-DATE) formats from .swift-version.
Remove separate CI_TC_VERSION_EMBEDDED override. Embedded builds
now use the same 6.3.0 release toolchain as all other workflows.
Remove references to development snapshot toolchain and the
non-existent .wasm-sdk-version file. Document .swan-config
and Makefile-based WASM build commands.
Comment thread .github/workflows/swift-windows.yaml Outdated
@bmedina
Copy link
Copy Markdown
Collaborator Author

bmedina commented Mar 31, 2026

The embedded build needs to be fixed. It was working prior to this PR.

- Remove snapshot fallback from Windows CI version parsing; only
  handle release format since .swift-version is now always X.Y.Z.

- Restore embedded WASM to main-snapshot toolchain and SDK. Swift 6.3
  has a compiler limitation with SPI conformances in embedded mode,
  so embedded builds still require a main-branch snapshot. Add
  sdk-install-embedded Makefile target with dedicated URL/checksum.
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