renderBuildTargetProblem: unexpected status
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
When running `cabal new-haddock` on [haddock (the project)](https://github.com/haskell/haddock) I hit this hole:
https://github.com/haskell/cabal/blob/738a51148217885f797ea56af773b945469286b9/cabal-install/Distribution/Client/CmdErrorMessages.hs#L325-L326
I'm using 738a51148217885f797ea56af773b945469286b9 of cabal (current `master`) and `e2cd0a80` of haddock (current position of `wip/new-ocean` which just modifies styling but is otherwise mostly up-to-date with `master`).
I hope this is error report is helpful. Otherwise I apologize.
Contributor guide
Research direction
Start by reproducing `cabal new-haddock` with the referenced Haddock revision and inspect `cabal-install/Distribution/Client/CmdErrorMessages.hs` around lines 325-326. Trace which status reaches `renderBuildTargetProblem` and determine the expected handling for that status. Done means the unexpected-status case is correctly handled and the reproduction no longer reaches the reported hole.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100