Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ root_cause: |
appear to run normally until the Swift compiler raises concurrency errors on previously clean code.
This mirrors the ubuntu-latest → ubuntu-24.04 silent label change (see silent-failures-059).
fix: |
Option 1 — Pin to macos-14 until your codebase is Swift 6 ready:
runs-on: macos-14
Option 1 — Pin to macos-15 until your codebase is Swift 6 ready:
runs-on: macos-15
Note: macOS 14 deprecation begins July 6, 2026 — do NOT pin to macos-14.

Option 2 — Disable strict concurrency checking temporarily:
Add SWIFT_STRICT_CONCURRENCY=minimal to xcodebuild arguments.
Expand All @@ -39,12 +40,13 @@ fix: |
Use async/await and actors for shared mutable state.
fix_code:
- language: yaml
label: "Pin to macos-14 until Swift 6 migration is complete"
label: "Pin to macos-15 until Swift 6 migration is complete (macos-14 deprecated July 2026)"
code: |
jobs:
build:
runs-on: macos-14 # Pinned — avoids Xcode 16 Swift 6 strictness
# Use macos-15 once concurrency issues are resolved
# Pin to macos-15 — avoids Xcode 16 Swift 6 strictness from macos-latest
# DO NOT pin to macos-14: deprecated starting July 6, 2026 (retired Nov 2, 2026)
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Build and test
Expand All @@ -58,7 +60,7 @@ fix_code:
-scheme MyApp \
SWIFT_STRICT_CONCURRENCY=minimal
prevention:
- "Pin to a specific macOS version (macos-14, macos-15) instead of macos-latest for stability"
- "Pin to a specific macOS version (macos-15, macos-26) instead of macos-latest for stability; do NOT use macos-14 as it is deprecated starting July 6, 2026"
- "Follow GitHub Changelog for macos-latest label change announcements before they happen"
- "Run Xcode 16 locally with Swift strict concurrency enabled before CI failures surface"
- "Add a step printing runner OS version (sw_vers) to detect unexpected runner upgrades"
Expand Down
Loading