Repository navigation
Update rules_swift to 4.3.0 - #23303
Merged
Merged
Conversation
jketema
marked this pull request as ready for review
November 30, 2026 18:18
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The change spans interacting Linux/macOS Swift toolchain, SDK discovery, runtime-linking, and dependency updates that require unavailable upstream artifacts and representative cross-platform Bazel builds to validate.
No open issues 🎉
What changed in this PR
Updates the repository’s patched rules_swift Bazel dependency from 4.2.2 to 4.3.0, including refreshed registry metadata and compatibility patches for Swift toolchain registration and static runtime handling.
Changes:
- Bumps the root and registry module dependency to
4.3.0-codeql.1. - Adds updated upstream archive metadata, dependency information, and patch checksums.
- Refreshes the custom macOS toolchain and external static runtime patches.
- Removes the obsolete 4.2.2 source metadata.
| File | Description |
|---|---|
| MODULE.bazel | Updates the root rules_swift dependency to version 4.3.0. |
| misc/bazel/registry/modules/rules_swift/metadata.json | Registers the patched 4.3.0-codeql.1 module version. |
| misc/bazel/registry/modules/rules_swift/4.3.0-codeql.1/source.json | Defines the 4.3.0 upstream archive and patch integrity metadata. |
| misc/bazel/registry/modules/rules_swift/4.3.0-codeql.1/patches/register_downloaded_macos_toolchain.patch | Updates downloaded macOS SDK discovery and toolchain registration for the new upstream release. |
| misc/bazel/registry/modules/rules_swift/4.3.0-codeql.1/patches/module_dot_bazel_version.patch | Sets the embedded patched module version to 4.3.0-codeql.1. |
| misc/bazel/registry/modules/rules_swift/4.3.0-codeql.1/patches/external_static_runtime.patch | Adapts external static Swift runtime support to the 4.3.0 source layout. |
| misc/bazel/registry/modules/rules_swift/4.3.0-codeql.1/MODULE.bazel | Provides the patched module definition with the updated bazel_features dependency. |
| misc/bazel/registry/modules/rules_swift/4.2.2-codeql.1/source.json | Removes the superseded 4.2.2 source metadata. |
Review effort: Lite (adaptive)
paldepind
reviewed
Dec 1, 2026
Contributor
Author
You mean: you see CI completely failing 😂 . Yeah, this is expected, note that this is half of a pair of PRs (this one and an internal one). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.