haskell / haskell/cabal

install: stop building on build failures

Open
#1,924 2 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

Today, we continue building packages even if one failed to build. It's this way because once upon a time @dcoutts was building all of Hackage and keeping building on failure made sense then. @dcoutts and I agree that this probably not the right default so we should
- stop building on failure (when using parallel builds some packages may already be in-flight, that's OK),
- add a `--keep-going` flag that enables the old behavior.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the install command's package-build failure handling and its command-line option definitions; verify how parallel builds behave, then confirm that failures stop by default and that --keep-going preserves the previous behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.