Skip to content

Conversation

@fboemer
Copy link
Contributor

@fboemer fboemer commented Jan 22, 2026

Our SPI builds have been failing on main, probably due to removing Swift Docc plugin by default: #240.

The roots cause is SPI has a grep for "https://github.com/swiftlang/swift-docc-plugin", as noted in SwiftPackageIndex/SwiftPackageIndex-Server#3061 (comment).
The grep isn't smart enough to realize our swift-docc-plugin dep is gated behind a opt-in flag, so SPI doesn't add in the swift-docc-plugin.

The recommendation seems to be to use the SPI_GENERATE_DOCS=1 flag (e.g. SwiftPackageIndex/SwiftPackageIndex-Server#3061 (comment))

So hopefully this fixes the SPI build issues.

@fboemer fboemer marked this pull request as ready for review January 22, 2026 01:50
@fboemer fboemer merged commit 06cd2a2 into main Jan 22, 2026
18 checks passed
@fboemer fboemer deleted the fboemer/fix-spi-build branch January 22, 2026 15:57
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