Skip to content

Update rules_swift to 4.2.2 - #23031

Open
jketema wants to merge 2 commits into
mainfrom
jketema/rules-swift-update
Open

jketema wants to merge 2 commits into
mainfrom
jketema/rules-swift-update

Conversation

@jketema

@jketema jketema commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Patches are functionally unaltered compared to the previous version; changes relate to making the patches apply.

@jketema
jketema marked this pull request as ready for review November 5, 2026 15:40
@jketema
jketema requested review from a team as code owners November 5, 2026 15:40
Copilot AI auto review requested due to automatic review settings November 5, 2026 15:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Approval is deferred because the Bazel toolchain and platform-specific Swift runtime/linker changes require CI validation on both Linux and macOS, including patch application and compilation.

No open issues 🎉

What changed in this PR

Updates the Bazel-managed rules_swift dependency from 4.0.0-rc5-codeql.3 to 4.2.2-codeql.1, preserving CodeQL-specific runtime and macOS toolchain patches.

Changes:

  • Updates the root dependency and local registry metadata.
  • Adds the 4.2.2 module definition and source integrity information.
  • Refreshes the external runtime, macOS toolchain, and module-version patches.
File Description
MODULE.bazel Pins rules_swift to 4.2.2-codeql.1.
misc/​bazel/​registry/​modules/​rules_swift/​metadata.json Registers the new module version.
misc/​bazel/​registry/​modules/​rules_swift/​4.2.2-codeql.1/​source.json Defines the upstream archive and integrity hashes.
misc/​bazel/​registry/​modules/​rules_swift/​4.2.2-codeql.1/​MODULE.bazel Adds the vendored module definition and dependencies.
misc/​bazel/​registry/​modules/​rules_swift/​4.2.2-codeql.1/​patches/​register_downloaded_macos_toolchain.patch Adapts downloaded macOS toolchain registration and SDK handling.
misc/​bazel/​registry/​modules/​rules_swift/​4.2.2-codeql.1/​patches/​external_static_runtime.patch Preserves CodeQL’s external Swift runtime integration.
misc/​bazel/​registry/​modules/​rules_swift/​4.2.2-codeql.1/​patches/​module_dot_bazel_version.patch Sets the patched module version to 4.2.2-codeql.1.

This pull request is too complex or risky for automated approval.

Review effort: Lite (auto)

This branch has not been deployed

No deployments
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