Prevent silent fail
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the shown fetch command with an authorization failure and trace how the error is logged and returned. Identify the CLI entry point and error-handling path involved; done means an authorization or download failure can produce a non-zero exit code when the requested behavior is enabled, without allowing the pipeline to continue silently.
Written by the indexing model from the issue text.
Description
Hi!,
We are using this command in our CI/CD pipeline:
fetch --repo="https://github.com/..." --tag="1.0.9" --github-oauth-token="****" --release-asset="example-v1.0.9.zip" tmp-path
Yesterday this command fails because of a GitHub authorization error, however, it only logs the error instead of exiting with non-zero code this causes the pipeline to continue then exist on another step that depends on what has been downloaded by fetch.
Please we need an option to exit on error.
- Dominant language
- Go
- Stars
- 625
- Forks
- 92
- Avg merge
- 12h 56m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No 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 gruntwork-io/fetch
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 38/100
gruntwork-io/fetch#121 · 1 comment ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
gruntwork-io/fetch#120 · 2 reactions ·
-
bug p:needs triage
Difficulty 4/5 3-5 days Newbie friendliness 32/100
gruntwork-io/fetch#111 · 2 comments ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
gruntwork-io/fetch#107 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
gruntwork-io/fetch#99 ·
All issues in gruntwork-io/fetch
Similar issues
-
BasicEventElement `messageBroker` is never returned on read (jsonb decoded into `sql.NullString`)Open
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
eclipse-basyx/basyx-go-components#963 ·
Maintainers usually reply within 1 day
-
Area/Console Aspect/UI Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
wso2/agent-manager#2743 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day