-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Mode
Storybook
Feature description
Description:
Currently, when lost-pixel docker
(or lost-pixel docker update
) encounters a failure, it does not return an exit code of 1, making it difficult to detect failures in CI/CD pipelines.
Expected Behavior:
When lost-pixel docker
encounters a failure (e.g., visual diffs detected, errors during execution), it should return an exit code of 1. This will allow CI/CD systems to properly detect failures and take appropriate actions.
Steps to Reproduce:
- Run
lost-pixel docker
in a scenario where it should fail. - Check the exit code using
echo $?
(Unix) orecho $LASTEXITCODE
(Windows). - Observe that the exit code is not 1, even when a failure occurs.
Suggested Fix:
Modify the Docker entry point script or application logic to ensure it exits with code 1 upon failure.
Let me know if you want to add more details! 🚀
Metadata
Metadata
Assignees
Labels
No labels