Skip to content

Keep the Linux overrides to the Linux tests - #335

Merged
FranzBusch merged 1 commit into
swiftlang:mainfrom
rnro:sdk-builds-own-overrides
Oct 27, 2026
Merged

FranzBusch merged 1 commit into
swiftlang:mainfrom
rnro:sdk-builds-own-overrides

Conversation

@rnro

@rnro rnro commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

linux_version_overrides also reached the Static SDK, Wasm, Embedded Wasm and Android builds and the Cxx interop check, so an adopter that set warnings as errors for its tests would see it apply to more than intended. The existing workflows gave those jobs only the global swift_flags.

The SDK builds take their per-version overrides only from their own *_sdk_version_overrides input, the Cxx interop check takes none, and the Linux overrides name versions the Linux tests run. The tests that asserted the sharing now assert its absence.

`linux_version_overrides` also reached the Static SDK, Wasm, Embedded Wasm and Android builds and the Cxx interop check, so an adopter that set warnings as errors for its tests, as swift-nio-http2 does, found it applied to jobs that had never carried it. The existing workflows gave those jobs only the global `swift_flags`.

The SDK builds take their per-version overrides only from their own `*_sdk_version_overrides` input, the Cxx interop check takes none, and the Linux overrides name versions the Linux tests run. The tests that asserted the sharing now assert its absence.
@rnro
rnro requested a review from a team as a code owner October 27, 2026 13:39
@FranzBusch
FranzBusch merged commit 0a9bb22 into swiftlang:main Oct 27, 2026
219 of 222 checks passed
@rnro
rnro deleted the sdk-builds-own-overrides branch October 27, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants