composer / composer/satis

Exit with non-zero RC on failure

Open
#778 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
PHP
Stars
3.3k
Forks
530
Avg merge
6h 53m
Merged PRs (30d)
13

Description

**Is your feature request related to a problem? Please describe.**
When runnning `satis build`, and updating a package fails with 'Failed to update ...', Satis does not exit with a non-zero RC. This can cause errors to be missed.

**Describe the solution you'd like**
Exit with non-zero RC on failure.

**Describe alternatives you've considered**
N/A

**Additional context**
N/A

Contributor guide

Open the contributing guide

Research direction

Start at the `satis build` command and trace how the `Failed to update ...` condition is handled. Confirm the command exits with a non-zero return code when a package update fails, while preserving the existing success behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.