Use nightly-6.4.x-jammy image for the 6.4.x docs build - #166
Merged
Merged
Conversation
…ch build The nightly-main-jammy image builds docc from swift's main branch, which has a Foundation/docc regression that crashes with Illegal instruction (SIGILL) in libFoundationXML while rendering swift-package-manager's RegistryServerSpecification.md (raw <details> HTML wrapping a JSON code fence). Verified that image is not affected: docc renders that page and a full combined build succeeds cleanly with nightly-6.4.x-jammy, which tracks this branch's own release/6.4.x nightly instead of main.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Switches the branch used to build the release/6.4.x from
swiftlang/swift:nightly-main-jammytoswiftlang/swift:nightly-6.4.x-jammy.Ideal longer term would be using the swift:6.4 images, but those aren't published yet.
This works around an issue that started appearing on Sept 10th with docc building SwiftPM documentation using the
swiftlang/swift:nightly-main-jammyimage. This only resolves the build issues for therelease/6.4.xbranch, which is published to docs.swift.org/latest/documentation, to ideally re-enable nightly updatesIllegal instruction(SIGILL) insidelibFoundationXML.so(XMLElement.__allocating_init(xmlString:), from swift-docc'sMarkdownRenderer.visit) while renderingswift-package-manager'sSources/PackageManagerDocs/Documentation.docc/RegistryServerSpecification.md, which contains a raw HTML<details><summary>...</summary>...</details>block wrapping a JSON code fence.Test plan
swift package generate-documentation --target PackageManagerDocs --experimental-enable-custom-templates --enable-mentioned-incompletes successfully (exit 0, archive generated,RegistryServerSpecificationpage rendered) withswiftlang/swift:nightly-6.4.x-jammy.scripts/build_docs.pyend-to-end underswiftlang/swift:nightly-6.4.x-jammywith a clean workspace — all 23 documentation sources (including swiftpm, swift-testing, docc-documentation, embedded-swift, swift-wasm) built successfully.release/6.4.xwith the updated image.