[Lean Squad] feat(ci): Task 9 — skip guard + FVSquad scaffold for lean-proofs workflow#7859
Conversation
…flow Add skip guard to lean-proofs.yml: when no .lean source files exist in FVSquad/, all build steps (elan install, lake build) are skipped and the job completes successfully. This prevents spurious CI failures during the bootstrapping phase before any Lean files are committed. Also scaffold the FVSquad/ directory with a README documenting the planned targets and the skip-guard behaviour. Changes: - .github/workflows/lean-proofs.yml: add 'Check for Lean source files' step (id: check-lean); gate all subsequent steps on lean_file_count != '0' - formal-verification/lean/FVSquad/README.md: new directory scaffold 🔬 Lean Squad — automated formal verification agent Run: https://github.com/microsoft/testfx/actions/runs/24971730371 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR improves the Lean formal verification CI workflow robustness during bootstrapping by adding a guard that skips Lean build steps when no Lean source files exist yet in the FVSquad/ library, and scaffolds the FVSquad/ directory with initial documentation.
Changes:
- Add a “check for
.leanfiles” step and gate elan/cache/build steps behind it inlean-proofs.yml. - Update workflow comments to reflect the
FVSquad/-scoped Lean project intent. - Add
formal-verification/lean/FVSquad/README.mddescribing planned FV targets and the CI skip behavior.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/lean-proofs.yml |
Adds skip-guard logic and conditions subsequent Lean build steps on presence of .lean files in FVSquad/. |
formal-verification/lean/FVSquad/README.md |
Adds documentation scaffolding for the new Lean library directory and CI behavior. |
Copilot's findings
- Files reviewed: 2/2 changed files
- Comments generated: 1
|
@copilot resolve the merge conflicts in this pull request |
…mprovements-2026-04-27-b90542277d8dc525 # Conflicts: # .github/workflows/lean-proofs.yml Co-authored-by: Evangelink <11340282+Evangelink@users.noreply.github.com>
Resolved in 70392d1. Merged |
Add skip guard to lean-proofs.yml: when no .lean source files exist in
FVSquad/, all build steps (elan install, lake build) are skipped and the
job completes successfully. This prevents spurious CI failures during the
bootstrapping phase before any Lean files are committed.
Also scaffold the FVSquad/ directory with a README documenting the
planned targets and the skip-guard behaviour.
Changes:
step (id: check-lean); gate all subsequent steps on lean_file_count != '0'
🔬 Lean Squad — automated formal verification agent
Run: https://github.com/microsoft/testfx/actions/runs/24971730371
Fixes #7853
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com