Repository navigation
fix: reference-manual breakage from elan v4.5.0 (elan#218) - #297
Merged
Merged
Conversation
`elan` 4.5.0 reworded the access-token paragraph in the `DISCUSSION` section of `elan toolchain --help`. A token may now also come from the GitHub CLI (`gh auth token`), and `github_token_source` in `settings.toml` or `ELAN_GITHUB_TOKEN_SOURCE` turns that off (leanprover/elan#218). `Manual/BuildTools/Elan.lean` pins that output verbatim in its `elanHelp "toolchain"` block, so the block no longer matched. Update it to the 4.5.0 text, and extend the prose on origins and access tokens, which so far described only the two environment variables. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Contributor
Author
Build report for fix: reference-manual breakage from elan v4.5.0 (elan#218)Turned green:
Stayed green
|
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.
Fixes the red
reference-manualbuild in run 46401259138.reference-manualelan v4.5.0, released on 2026-11-30 at 10:00Z, reworded the
DISCUSSIONsection ofelan toolchain --help(leanprover/elan#218). A token for a custom origin can now also come from the GitHub CLI, andgithub_token_sourceinsettings.tomlorELAN_GITHUB_TOKEN_SOURCEturns that off.Manual/BuildTools/Elan.leanpins that output word for word in itselanHelp "toolchain"block, so the block stopped matching. This commit updates the block to the v4.5.0 text. It also extends the prose on origins and access tokens, which until now described only the two environment variables.The nightly bump is not the cause. CI installs the latest elan on every run, so run 46398010865 at 10:13Z already used v4.5.0 and stayed green. That run unpacked
Manual.BuildTools.Elanfrom the cache, so the comparison never ran. The toolchain bump changed the cache scope, the module compiled again, and the mismatch appeared. Every new elan release does this at the next cache miss.What passed locally
lake buildofreference-manualcompletes with 1689 jobs, the same count as CI, with elan 4.5.0 first onPATH. That build replayed the edited module from a local artifact.Manual.BuildTools.Elanwas therefore also compiled on its own after a source perturbation, which runs the comparison against elan 4.5.0 for real. It passed in 1.8s with no diagnostics.reference-manualdefines no test and no lint phase, sobuildis the only phase. The build report of the last green run records both of the others as skipped.Nothing was left unfinished. This one module was the whole red set of the run.
🤖 Generated with Claude Code