fix: allowlist long proofs + add elan curl retry#1671
Merged
Th0rgal merged 1 commit intocodex/reduce-sorries-pass-5from Mar 26, 2026
Merged
fix: allowlist long proofs + add elan curl retry#1671Th0rgal merged 1 commit intocodex/reduce-sorries-pass-5from
Th0rgal merged 1 commit intocodex/reduce-sorries-pass-5from
Conversation
…url retry Add the 6 proofs introduced by PR #1670 that exceed the 50-line hard limit to the check_proof_length.py allowlist — these are mechanical compiled-step bridges for tstore/mstore singletons, struct-member-2 slot-safety, and a FunctionBody scope-threading aux lemma. Also add --retry 3 --retry-delay 5 to the elan-init.sh curl download in .github/actions/setup-lean/action.yml to mitigate intermittent HTTP 429 rate-limiting failures from raw.githubusercontent.com that have been breaking macro-fuzz CI shards. Co-Authored-By: Claude Opus 4.6 <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.
Summary
scripts/check_proof_length.pythat were introduced by the sorry-reduction pass 5 work on this branch (codex/reduce-sorries-pass-5) but not added to the allowlist, causingmake checkto fail on every CI run--retry 3 --retry-delay 5to the elan-init.sh curl download in.github/actions/setup-lean/action.ymlto mitigate intermittent HTTP 429 rate-limiting fromraw.githubusercontent.comthat has been breakingmacro-fuzzCI shardsProofs added to allowlist
stmtListGenericCore_of_supportedStmtList_tstoreSingle_of_surfacecompiledStmtStep_setStructMember2_singleSlot_of_slotSafetycompiledStmtStep_tstore_single_preservesstmtListGenericCore_singleton_tstore_singlecompileStmt_ok_any_scope_auxcompiledStmtStep_mstore_single_preservesCI failures addressed
check_proof_length.pyfailure (every run): 6 proofs exceed the 50-line hard limit without allowlist entries — blocks thechecksjob which gates all downstream CIelan-init.sh, causingmacro-fuzzshards andbuildjobs to failTest plan
python3 scripts/check_proof_length.pypasses locallymake checkpasses locally🤖 Generated with Claude Code
Note
Low Risk
Low risk: changes are confined to CI tooling (GitHub Action and a proof-length gate) and only relax a lint-style check plus add network retries, without affecting runtime logic.
Overview
Improves CI stability by adding retries (
--retry 3 --retry-delay 5) to thecurldownload ofelan-init.shin.github/actions/setup-lean/action.ymlto reduce flaky failures from transient HTTP errors/rate limiting.Unblocks
make checkby extendingscripts/check_proof_length.py’sALLOWLISTwith several newly introduced long proofs (with justification comments), so the proof-length gate no longer fails on these mechanically long theorems.Written by Cursor Bugbot for commit a08d3dc. This will update automatically on new commits. Configure here.