Skip to content

Conversation

@jketema
Copy link
Contributor

@jketema jketema commented Oct 29, 2025

No description provided.

@github-actions github-actions bot added the Swift label Oct 29, 2025
category: majorAnalysis
---
* Upgraded to allow analysis of Swift 6.2.
* Support for experimental Embedded Swift has been dropped.
Copy link
Contributor

Choose a reason for hiding this comment

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

Was it actually present / do we know if it worked in previous releases?

Copy link
Contributor Author

@jketema jketema Oct 29, 2025

Choose a reason for hiding this comment

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

It was present. If it actually worked, I don't know. It's not something we ever tested for.

Copy link
Contributor

@geoffw0 geoffw0 left a comment

Choose a reason for hiding this comment

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

I'm happy with the changes. Is testing with DCA going to be sufficient?

@jketema
Copy link
Contributor Author

jketema commented Oct 29, 2025

I'm happy with the changes. Is testing with DCA going to be sufficient?

Happy to run QA, but that will take a few days.

@geoffw0
Copy link
Contributor

geoffw0 commented Oct 29, 2025

I'm happy with DCA provided we're confident its a meaningful test. I'm not too sure where the failure was observed.

@jketema
Copy link
Contributor Author

jketema commented Oct 29, 2025

I'm happy with DCA provided we're confident its a meaningful test.

I think it should give some good insight as to whether non-embedded Swift projects still work.

I'm not too sure where the failure was observed.

The reason for changing this, is because we went over the maximum bundle size of 2GB due to the Swift upgrade, and looking at the resources this seemed an obvious target given the experimental status of Embedded Swift.

@jketema jketema marked this pull request as ready for review October 29, 2025 14:59
@jketema jketema requested review from a team as code owners October 29, 2025 14:59
Copilot AI review requested due to automatic review settings October 29, 2025 14:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates Swift resource bundles and documentation to drop support for experimental Embedded Swift. The macOS resource file size is reduced significantly (from ~816MB to ~614MB), while the Linux resource file is also updated.

  • Updated Swift resource bundles for both macOS and Linux platforms
  • Added documentation clarifying that Embedded Swift is not supported
  • Updated change notes to document the dropping of experimental Embedded Swift support

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
swift/third_party/resources/resource-dir-macos.zip Updated macOS Swift resource bundle with reduced size (~200MB smaller)
swift/third_party/resources/resource-dir-linux.zip Updated Linux Swift resource bundle SHA256 hash
swift/ql/lib/change-notes/2025-10-22-swift-6.2.md Added note about dropping Embedded Swift support
docs/codeql/reusables/supported-versions-compilers.rst Added footnote clarifying Embedded Swift is not supported
docs/codeql/codeql-overview/system-requirements.rst Added explicit requirement that Swift extraction requires macOS

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@redsun82
Copy link
Contributor

redsun82 commented Oct 29, 2025

For testing we want to look at the nightly build whether it manages to publish the all platform bundle.

@jketema jketema merged commit 26f59a8 into github:main Oct 29, 2025
25 checks passed
@jketema jketema deleted the swift-rsc branch October 29, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants