Skip to content

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented May 6, 2025

Motivation:

Now that strict concurrency has been adopted the AHC should avoid regressing by treating all warnings as errors in CI.

Modifications:

  • Treat warnings as errors in CI

Result:

Stricter CI

Motivation:

Now that strict concurrency has been adopted the AHC should avoid
regressing by treating all warnings as errors in CI and by enabling
explicit sendable checking.

Modifications:

- Add the correct flags to enable explicit sendable checking
- Treat warnings as errors in CI

Result:

Stricter CI
@glbrntt glbrntt added the semver/none No version bump required. label May 6, 2025
@glbrntt glbrntt added 🔨 semver/patch No public API change. and removed semver/none No version bump required. labels May 6, 2025
@glbrntt glbrntt changed the title Require explicit sendable and error on warnings in CI Enable warnings as errors in CI May 6, 2025
@glbrntt glbrntt marked this pull request as ready for review May 6, 2025 14:14
@glbrntt glbrntt enabled auto-merge (squash) May 6, 2025 14:14
@glbrntt glbrntt merged commit 3b265e6 into swift-server:main May 8, 2025
23 of 24 checks passed
@glbrntt glbrntt deleted the warnings-as-errors branch May 8, 2025 09:53
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants