Skip to content

[6.1 🍒][Indexing] Disable indexing textual-interface-blocklisted modules during Explicit Module Builds #78129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Dec 12, 2024

Cherry-pick of #78128

• Description: If a module is blocklisted from the compiler using its textual interface, then under Implicitly-Built modules it will not get indexed, since indexing will not be able to spawn swiftinterface compilation. With explicitly-built modules, none of the dependency modules get built from interface during indexing, which means we directly index input binary modules.

For now, for functional parity with Implicit Module Builds, disable indexing of modules during Explicit Module Builds which would not get indexed during Implicit Module Builds.
• Risk: Low, this change only disables a code-path that was already previously-disabled when using Implicit Module Builds
• Testing: Updated regression tests
• Reviewed by: @nkcsgexi
• Original PR: #78128
• Radar: rdar://141220913

@artemcm artemcm added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.1 labels Dec 12, 2024
@artemcm artemcm requested a review from a team as a code owner December 12, 2024 00:51
@artemcm
Copy link
Contributor Author

artemcm commented Dec 12, 2024

@swift-ci test

…ing Explicit Module Builds

If a module is blocklisted from the compiler using its textual interface, then under Implicitly-Built modules it will not get indexed, since indexing will not be able to spawn swiftinterface compilation. With explicitly-built modules, none of the dependency modules get built from interface during indexing, which means we directly index input binary modules.

For now, for functional parity with Implicit Module Builds, disable indexing of modules during Explicit Module Builds which would not get indexed during Implicit Module Builds.
@artemcm artemcm force-pushed the 61_NoIndexBlocklistedInterfaceModulesOnEBM branch from 9bffc9b to b7d0335 Compare December 12, 2024 17:17
@artemcm
Copy link
Contributor Author

artemcm commented Dec 12, 2024

@swift-ci test

@artemcm artemcm enabled auto-merge December 12, 2024 17:21
@artemcm artemcm merged commit 17ec817 into swiftlang:release/6.1 Dec 12, 2024
5 checks passed
@artemcm artemcm deleted the 61_NoIndexBlocklistedInterfaceModulesOnEBM branch December 13, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 6.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants