Commit 2026-11-11 19:03 25af27fb

View on Github →

ci: validate dependency pins in lake-manifest.json (#45507) The Build job validates lake-manifest.json before it downloads dependencies. It uses validate-lake-manifest from leanprover-community/mathlib-ci#96, pinned to the merged commit e08feb6. The action checks allowed repositories and references, and requires full commit hashes. For new dependencies or changes to url, inputRev, or rev, it checks each pin against its branch or tag. Branch pins must also descend from the base pin when url and inputRev are unchanged. This catches accidental dependency downgrades and pins from unmerged dependency PRs. The action's README lists the full rules. Malformed pins and an unreadable target manifest always fail. Other violations and errors in pin checks fail on staging and trying, and warn on other runs. This lets adaptation PRs test unmerged dependencies while bors blocks their merge. For intentional reverts, an admin sets MATHLIB_ALLOW_OLDER_DEPENDENCY_PINS to true so older-pin violations only warn. The admin deletes the variable after the revert merges. The step skips bump/* branches, PRs into them, and repositories other than leanprover-community/mathlib4. Bors batches still run the check. An unchanged manifest needs three GitHub API calls, without retries. Validation: actionlint and whitespace checks pass. The validator passes against this PR's manifest in strict mode using the live GitHub API. Fork PR runs use master's workflow, so they do not test the new step. šŸ¤–

Estimated changes