Skip to content

Cache the downloaded Xcode Swift toolchain across Bazel restarts - #22905

Draft
jketema wants to merge 1 commit into
github:mainfrom
jketema:jketema/swift-fix
Draft

jketema wants to merge 1 commit into
github:mainfrom
jketema:jketema/swift-fix

Conversation

@jketema

@jketema jketema commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Use upstream's standalone_toolchain for Xcode instead of a separate local, configuring repository rule that refetches the pinned download on every server restart. Keep the SDK lookup and path watch.

Publish rules_swift as 4.0.0-rc5-codeql.3 and regenerate registry metadata. Rebase the external static runtime patch onto upstream's inline attributes so the patches apply in the generated order.

CI failures are expected.

Use upstream's standalone_toolchain for Xcode instead of a separate local, configuring repository rule that refetches the pinned download on every server restart. Keep the SDK lookup and path watch.

Publish rules_swift as 4.0.0-rc5-codeql.3 and regenerate registry metadata. Rebase the external static runtime patch onto upstream's inline attributes so the patches apply in the generated order.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 477ddbb2-ed60-4303-bada-daa9aecee456
@jketema jketema added the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Oct 27, 2026

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

depends on internal PR This PR should only be merged in sync with an internal Semmle PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant