ci: pin @antora/pdf-extension to 1.0.0-beta.20 (fix build FATAL)#275
Closed
hs-liuxh wants to merge 1 commit into
Closed
ci: pin @antora/pdf-extension to 1.0.0-beta.20 (fix build FATAL)#275hs-liuxh wants to merge 1 commit into
hs-liuxh wants to merge 1 commit into
Conversation
@antora/pdf-extension@1.0.0-rc.1 (published 2026-06-29) bundles @antora/assembler@1.0.0-rc.1, which calls contentCatalog.createFile() — a method absent from @antora/content-classifier@3.1.10 used by the pinned antora@3.1.7. The unpinned install began resolving to rc.1, causing 'FATAL (antora): contentCatalog.createFile is not a function'. Pin to the last-known-good 1.0.0-beta.20 to restore the working toolchain. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Problem
PR #271 and other doc builds fail with:
Root cause
The CI installs Antora pinned (
antora@3.1.7) but@antora/pdf-extensionunpinned. On 2026-06-29,@antora/pdf-extension@1.0.0-rc.1was published, which bundles@antora/assembler@1.0.0-rc.1. That assembler callscontentCatalog.createFile()— a method that does not exist in@antora/content-classifier@3.1.10(the ContentCatalog used byantora@3.1.7). The previous version1.0.0-beta.20did not use it, so builds passed until the new release.Fix
Pin
@antora/pdf-extensionto the last-known-good1.0.0-beta.20in both workflow install steps (pr-preview.yml,merge-build-push.yml), restoring the working toolchain alongsideantora@3.1.7.🤖 Generated with Claude Code