Skip to content

[Lean Squad] feat(ci): Task 9 — skip guard + FVSquad scaffold for lean-proofs workflow#7859

Merged
Evangelink merged 2 commits intomainfrom
lean-squad/task9-ci-improvements-2026-04-27-b90542277d8dc525
Apr 27, 2026
Merged

[Lean Squad] feat(ci): Task 9 — skip guard + FVSquad scaffold for lean-proofs workflow#7859
Evangelink merged 2 commits intomainfrom
lean-squad/task9-ci-improvements-2026-04-27-b90542277d8dc525

Conversation

@Evangelink
Copy link
Copy Markdown
Member

@Evangelink Evangelink commented Apr 27, 2026

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

Fixes #7853

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

…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>
Copilot AI review requested due to automatic review settings April 27, 2026 08:37
@Evangelink Evangelink enabled auto-merge (squash) April 27, 2026 08:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 .lean files” step and gate elan/cache/build steps behind it in lean-proofs.yml.
  • Update workflow comments to reflect the FVSquad/-scoped Lean project intent.
  • Add formal-verification/lean/FVSquad/README.md describing 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

Comment thread .github/workflows/lean-proofs.yml Outdated
@Evangelink
Copy link
Copy Markdown
Member Author

@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>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 27, 2026

@copilot resolve the merge conflicts in this pull request

Resolved in 70392d1. Merged origin/main into this branch — conflicts in .github/workflows/lean-proofs.yml were resolved by adopting main's improved version (better step ID check-lean-files, uppercase LEAN_COUNT variable, ELAN_TARGET variable, added lake update step, updated cache key to include lean-toolchain). The only change remaining from this PR is the FVSquad/README.md scaffold.

@Evangelink Evangelink merged commit 40cc8d7 into main Apr 27, 2026
2 checks passed
@Evangelink Evangelink deleted the lean-squad/task9-ci-improvements-2026-04-27-b90542277d8dc525 branch April 27, 2026 10:09
Copilot stopped work on behalf of Evangelink due to an error April 27, 2026 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Lean Squad] feat(ci): Task 9 — skip guard + FVSquad scaffold for lean-proofs workflow

4 participants