Skip to content

Commit 9cee9a6

Browse files
leogdionclaude
andcommitted
Fix Swift source compatibility workflow failures
- Remove strict concurrency flags from Package.swift that were causing swift-openapi-runtime dependency to fail with data race errors - Keep long function/expression warnings for code quality - Remove Swift 6.0 from source compat matrix (requires 6.1 minimum) - Now testing Swift 6.1, 6.2, and nightly 6.3 Fixes build failures in swift-openapi-runtime: - MultipartFramesToRawPartsSequence.swift:351:48 - MultipartFramesToRawPartsSequence.swift:383:48 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent a7f1b7b commit 9cee9a6

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

.github/workflows/swift-source-compat.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
container:
20-
- swift:6.0
2120
- swift:6.1
2221
- swift:6.2
2322
- swiftlang/swift:nightly-6.3-noble

Package.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,6 @@ let swiftSettings: [SwiftSetting] = [
6262

6363
// Enhanced compiler checking
6464
.unsafeFlags([
65-
// Enable concurrency warnings
66-
"-warn-concurrency",
67-
// Enable actor data race checks
68-
"-enable-actor-data-race-checks",
69-
// Complete strict concurrency checking
70-
"-strict-concurrency=complete",
71-
// Enable testing support
72-
"-enable-testing",
7365
// Warn about functions with >100 lines
7466
"-Xfrontend", "-warn-long-function-bodies=100",
7567
// Warn about slow type checking expressions

0 commit comments

Comments
 (0)