Skip to content

Fix validate tasks to use Antora 3 built-in xref checking - #5123

Draft
jcayouette wants to merge 2 commits into
masterfrom
master-antora-validate
Draft

Fix validate tasks to use Antora 3 built-in xref checking#5123
jcayouette wants to merge 2 commits into
masterfrom
master-antora-validate

Conversation

@jcayouette

Copy link
Copy Markdown
Contributor

Summary

  • Replace broken @antora/xref-validator validate tasks with Antora 3 site generation and --log-failure-level=error
  • Align validate prep with draft builds: stage-content, gen-site, gen-antora
  • Pass LANGUAGES through container validate wrappers

⚠️ Do not merge until #5103 is backported to manager-5.2

This PR calls task: stage-content, which is introduced by the AI localization toolchain in #5103.

Merge order:

  1. Backport update changes for AI localization this PR is for 5.1 only atm #5103master
  2. Merge this PR → master
    Supersedes Lukáš's validate PR manager-5.2 - Fix task validation #5105 for master.

Test plan

The old validate:{mlm,uyuni} tasks cd'd into an unstaged translations/
tree and invoked @antora/xref-validator, an Antora 2.x plugin that is
not shipped in the builder image. Rebuild them like draft targets:
stage-content, gen-site, gen-antora, then npx antora with
--log-failure-level=error so warnings are reported but only errors fail.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jcayouette jcayouette self-assigned this Jul 17, 2026
@jcayouette jcayouette added enhancement New feature or request Wait-for-code labels Jul 17, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Wait-for-code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant