You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update WorkQueue.queue to be a reference type instead of an array.
We pass WorkQueue.queue 'by reference' through inout parameters and across thread suspension points. We noticed a stale value issue in release builds when passing Array with inout, likely due to the copy-on-write mechanism. To avoid stale values after a thread resumes from suspension, switch to a dedicated reference type Queue.
Copy file name to clipboardExpand all lines: .github/workflows/pull_request.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -28,14 +28,14 @@ jobs:
28
28
# Test dependencies
29
29
yum install -y procps
30
30
fi
31
-
linux_build_command: 'swift-format lint -s -r --configuration ./.swift-format . && swift test && swift test --disable-default-traits'
31
+
linux_build_command: 'swift-format lint -s -r --configuration ./.swift-format . && swift test && swift test -c release && swift test --disable-default-traits'
32
32
windows_swift_versions: '["6.1", "nightly-main"]'
33
33
windows_build_command: |
34
34
Invoke-Program swift test
35
35
Invoke-Program swift test --disable-default-traits
36
36
enable_macos_checks: true
37
37
macos_xcode_versions: '["16.3"]'
38
-
macos_build_command: 'xcrun swift-format lint -s -r --configuration ./.swift-format . && xcrun swift test && xcrun swift test --disable-default-traits'
38
+
macos_build_command: 'xcrun swift-format lint -s -r --configuration ./.swift-format . && xcrun swift test && xcrun swift test -c release && xcrun swift test --disable-default-traits'
0 commit comments