Commit d902bf2
fix(verify-gate): keep TEST-PROOF-* on sorry-grep — lake build exceeds gate budget (#230)
PR #227 reverted TEST-PROOF-* steps to `cd proofs && lake build` on the
assumption smithy's ELAN_HOME deploy made it possible. It does work —
`lake` runs cleanly — but the lake build against Mathlib on a cold
elan cache routinely exceeds 30 minutes. PR #229 bumped the gate budget
to 60min and the FIRST PR after #229 ALSO hit the new ceiling.
The dedicated "Lean proof typecheck (lake build)" CI workflow has
`actions/cache@v4` on `proofs/.lake/build`, so its run completes
in seconds on warm cache. The rivet verification gate doesn't cache
that path, so it pays the full Mathlib cold-compile cost every run.
Right structural fix: the verify-gate's purpose is "surface drift
between YAML claims and reality". A sorry-free grep on the proof file
IS a meaningful drift check: it catches "agent accidentally left a
sorry". Full type-checking is the dedicated workflow's job — defense
in depth, separation of concerns.
Reverts to the sorry-grep + file-exists pattern from before #227.
Future work: add lake cache to verify-gate so this restriction lifts.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 6509c77 commit d902bf2
1 file changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2651 | 2651 | | |
2652 | 2652 | | |
2653 | 2653 | | |
| 2654 | + | |
| 2655 | + | |
| 2656 | + | |
| 2657 | + | |
| 2658 | + | |
2654 | 2659 | | |
2655 | 2660 | | |
2656 | 2661 | | |
2657 | | - | |
| 2662 | + | |
| 2663 | + | |
2658 | 2664 | | |
2659 | 2665 | | |
2660 | 2666 | | |
| |||
2670 | 2676 | | |
2671 | 2677 | | |
2672 | 2678 | | |
2673 | | - | |
| 2679 | + | |
| 2680 | + | |
| 2681 | + | |
2674 | 2682 | | |
2675 | 2683 | | |
2676 | 2684 | | |
2677 | | - | |
| 2685 | + | |
| 2686 | + | |
2678 | 2687 | | |
2679 | 2688 | | |
2680 | 2689 | | |
| |||
0 commit comments