Skip to content

Conversation

@simonjbeaumont
Copy link
Contributor

Motivation:

There's an open PR to add CI for Apple platforms. This is currently failing since it tries to build for all Apple platforms, not just macOS. This is because there are targets that provide support for testing that rely on Foundation.process, which is unavailable on non-macOS Apple platforms.

Modifications:

Guard the use of Foundation.Process with an #if canImport.

Result:

Package builds for non-macOS Apple platforms: iOS, tvOS, watchOS, etc.

@simonjbeaumont simonjbeaumont added the 🔨 semver/patch No public API change. label May 8, 2025
@simonjbeaumont simonjbeaumont enabled auto-merge (squash) May 9, 2025 09:04
@simonjbeaumont
Copy link
Contributor Author

Looks like a flakey test struggling to establish the cluster before terminating it, timing out after 5 seconds.

Test Case 'ShootTheOtherNodeClusteredTests.test_shootOtherNodeShouldTerminateIt' started at 2025-05-14 08:35:08.125 <EXPR>:0: error: ShootTheOtherNodeClusteredTests.test_shootOtherNodeShouldTerminateIt : threw error " try await self.joinNodes(node: local, with: remote, ensureWithin: .seconds(5), ensureMembers: .up) 

Runs locally without reproducing 100 times in a row.

@simonjbeaumont simonjbeaumont merged commit a81ca2d into apple:main May 14, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

2 participants