ProcessRunSupportTests uses MainActor.assertIsolated (Swift 5.9+) on Swift 5.7 runner (run 31985) #115

Closed
opened 2026-09-12 09:06:37 +01:00 by gronod · 0 comments
Owner

Run 31985 (job 33232) failed at Build for testing (universal) on the macos-12 runner (Xcode 14.2 / Swift 5.7) — the app target now compiles; the ICCeryCoreTests bundle does not:

Tests/ICCeryCoreTests/ProcessRunSupportTests.swift:24:27: error: type 'MainActor' has no member 'assertIsolated'

MainActor.assertIsolated() was added in Swift 5.9 (Xcode 15). The test only needs to prove the coalesced log sink runs on the main actor; XCTAssertTrue(Thread.isMainThread) expresses that and works on Swift 5.7.

Run 31985 (job 33232) failed at `Build for testing (universal)` on the macos-12 runner (Xcode 14.2 / Swift 5.7) — the app target now compiles; the ICCeryCoreTests bundle does not: ``` Tests/ICCeryCoreTests/ProcessRunSupportTests.swift:24:27: error: type 'MainActor' has no member 'assertIsolated' ``` `MainActor.assertIsolated()` was added in Swift 5.9 (Xcode 15). The test only needs to prove the coalesced log sink runs on the main actor; `XCTAssertTrue(Thread.isMainThread)` expresses that and works on Swift 5.7.
gronod added the
Priority
High
2
Project/ICCery-v2Bug/DevOps
labels 2026-09-12 09:06:37 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gronod/iccery-v2-mac#115