brandonchinn178 / brandonchinn178/mergit
Handle empty requiredStatuses
Open
- Dominant language
- Haskell
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
## Describe the bug
When `.mergit.yaml` contains an empty list in `requiredStatuses`, running merge/try will hang.
## Expected behavior
Either let zero statuses = immediate pass, or make `requiredStatuses` `NonEmpty` and throw an error
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the hang by putting an empty requiredStatuses list in .mergit.yaml and running merge/try. Trace how requiredStatuses is handled, then make the behavior match one of the stated outcomes: zero statuses pass immediately, or an empty list is rejected with an error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100