chore: expand swift-syntax version range to 509.0.0..<604.0.0 and bump CI to Xcode 26.3#28
Merged
ElonPark merged 2 commits intoJul 15, 2026
Conversation
Allow swift-syntax 602.x (Swift 6.2 toolchain) so KarrotCodableKit can coexist with dependency graphs that resolve swift-syntax 602. Claude-Session: https://claude.ai/code/session_01G5CQ6RqYaohJ4yPkDksNc7
Contributor
📝 WalkthroughWalkthroughThe ChangesDependency Update
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested labels: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Widen the swift-syntax range from ..<603.0.0 to ..<604.0.0 so the Swift 6.3 line (603.x) can be resolved, and bump the CI test matrix from Xcode 16.4 (Swift 6.1) to Xcode 26.3 (Swift 6.3) to match. Claude-Session: https://claude.ai/code/session_01G5CQ6RqYaohJ4yPkDksNc7
ElonPark
deleted the
task/elon/IOS-4896-expand-swift-syntax-version-range
branch
July 15, 2026 09:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background (Required)
602.0.0, so KarrotCodableKit could not be used in dependency graphs that resolve swift-syntax 602.x (Swift 6.2) or 603.x (Swift 6.3).Changes
"509.0.0"..<"602.0.0"to"509.0.0"..<"604.0.0"inPackage.swift, allowing the 602.x (Swift 6.2) and 603.x (Swift 6.3) lines.macos-15runner image.Testing Methods
603.0.2(the newest version in the widened range) and ran the full suite locally on Swift 6.3.1 — the same Swift line as the new CI toolchain:swift test(debug): 194 XCTest + 171 Swift Testing tests, 0 failures — macro expansion tests (exact-string assertions) all pass against 603.swift test -c release: all tests pass.602.0.0earlier in this branch: debug and release suites both pass.Package.resolvedis committed, this PR's CI resolves603.0.2and validates the new upper bound directly.Review Notes
check-macro-compatibilityjob pins its own version list (509.0.0–601.0.1), so it still guards the lower end of the range and is unaffected by the upper-bound change.602.0.0/603.0.2both declareswift-tools-version: 5.9, so SwiftPM on older toolchains will also resolve them; consumers stuck on older Xcode can pin a lower version if needed.Ref: IOS-4896
https://claude.ai/code/session_01G5CQ6RqYaohJ4yPkDksNc7