Add a way to stop `lake build` on first failure
Open
Nobody has claimed this yet.
enhancement
Lake
P-low
- Dominant language
- Lean
- Stars
- 9.2k
- Forks
- 990
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 175
Description
Perhaps related to leanprover/lean4#2764, it also might be helpful if there was a -x / --fail-fast option for lake build which stopped immediately on the first error (or first file with error).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names the lake build command and proposes -x/--fail-fast; begin by tracing that command's argument handling and failure behavior. Try a multi-file build with more than one error, and consider the work done when the first failure stops subsequent build work.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100