fix(docs): don't let upstream metadata scripts block the docs build - #27
Open
Gabrielebattimelli wants to merge 1 commit into
Open
Gabrielebattimelli wants to merge 1 commit into
Gabrielebattimelli wants to merge 1 commit into
Conversation
DocsArtifact.yml has failed on all 87 runs since 2026-08-17, so physlib.io/docs is stuck at the last v4.32.0 build. The docs themselves are fine: the job dies earlier, at `lake exe TODO_to_yml`, which imports Physlib, QuantumInfo and PhyslibAlpha into one environment and throws whenever two of them declare the same name (currently QuantumMechanics.HarmonicOscillator.potentialFunction and POVM). Let the TODO list, informal graph and stats steps fail without failing the job, skip the steps that depend on their output, and raise a warning annotation when any of them did. The docs are then still built and deployed, and the site falls back to the TODO.yml committed in web2/data. This also matters before 2026-11-15, when the last good artifact expires and download-docs.js would start failing every site build.
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
physlib.io/docs is stuck on the v4.32.0 build.
DocsArtifact.ymlhas failed on all 87 runs since 2026-08-17.The docs build itself isn't what's failing. The job stops earlier, at
lake exe TODO_to_yml mkFile. That script importsPhyslib,QuantumInfoandPhyslibAlphainto one environment (upstreamscripts/MetaPrograms/TODO_to_yml.lean:333) and throws when two of them declare the same name. Right now there are two clashes:QuantumMechanics.HarmonicOscillator.potentialFunctionin Physlib and PhyslibAlpha (upstream #1522)POVMin QuantumInfo and PhyslibAlpha (upstream #1694)There's also a deadline. The last good artifact expires on 2026-11-15. After that,
download-docs.jsfinds no docs and exits 1 on purpose, so every site build would fail.Change
continue-on-error: true. The steps that use their output only run if they succeeded.TODO.ymlisn't generated, the site uses the copy committed inweb2/data.The TODO page stays out of date until the name clashes are fixed upstream.
Testing
The YAML parses, and each step has the right condition. The docs step hasn't run since v4.32.0, so a
workflow_dispatchrun on this branch is the real test.🤖 Generated with Claude Code