`doctor` must exit non-zero when a check fails
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli
Research direction
Find the doctor command implementation, its tests, and the documentation for doctor. Start by tracing how check results determine the top-level status and process exit code; add coverage for one failed check and warnings only. Done when failed checks produce a non-zero exit and non-ok status, warnings keep exit 0, and the docs explain the exit codes.
Written by the indexing model from the issue text.
Description
Problem
wigolo doctor --json can report ok_with_warnings and exit 0 while individual checks say failed. A setup script cannot rely on the exit code.
Change
- Exit non-zero when any check has status
failed. - Keep exit 0 for warnings.
- Make the top-level status agree with the checks.
Done when
- A test with one failing check asserts a non-zero exit and a top-level status that is not ok.
- A test with only warnings asserts exit 0.
- The docs for
doctordescribe the exit codes.
Out of scope
New checks.
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 445
- Avg merge
- 20h 41m
- Merged PRs (30d)
- 85
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from KnockOutEZ/wigolo
-
area:fetch bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
KnockOutEZ/wigolo#853 ·
Maintainers usually reply within 1 day
-
area:search bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
KnockOutEZ/wigolo#852 ·
Maintainers usually reply within 1 day
-
Spike: read and search through the installed Chrome on the Linux and Windows CI runnersPossibly taken @KnockOutEZ claimed this 1 day ago. Openarea:fetch maintainers roadmap spike
Difficulty 2/5 Half a day Newbie friendliness 67/100
KnockOutEZ/wigolo#815 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
area:fetch maintainers roadmap
Difficulty 4/5 3-5 days Newbie friendliness 48/100
KnockOutEZ/wigolo#860 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 50/100
KnockOutEZ/wigolo#859 ·
Maintainers usually reply within 1 day
All issues in KnockOutEZ/wigolo
Similar issues
-
🔨 tool 🧰 library
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Orange-OpenSource/Orange-Boosted-Bootstrap#4035 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
DISIC/teleservice-conformite#230 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
rothgar/rabble.radio#410 ·
Maintainers usually reply within 1 day
-
Docker > Volumes: sorting by Size does nothing, and text columns sort inconsistentlyPossibly taken @BitPluto claimed this today. Openneeds-triage🔍
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Dokploy/dokploy#6203 · 1 comment ·
Maintainers usually reply within 1 day
-
area/webapp comp/desktop P2 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NousResearch/hermes-agent#163341 · 2 comments ·
Maintainers usually reply within 1 day