Add percy exec
flag to avoid failure for Percy-related issues
#1590
Labels
✨ enhancement
New feature or request
The problem
Sometimes if we have some infrastructure failures that result in certain kinds of retries we end up with an issue where we get one of these errors:
We tried the approach of closing our builds with
percy build:finalize
and it seemed like it created more problems in our builds than before.Could there be a flag for
percy exec
so that if there's a Percy-related issue (like an already finalized build) that the wrapped process would continue? We don't want our whole CI pipeline to fail over an issue related to snapshots (but we'd still like the error output so that we could look into the problem).I was envisioning something like:
This way we'd see the errors/warnings about issues in the build, but issues with retried parallel jobs (or situations where Percy's API is out of service) would be less likely to cause the spec portion of our builds to fail.
Environment
@percy/cli
version: @percy/cli 1.28.5Details
If necessary, describe the problem you have been experiencing in more detail.
The text was updated successfully, but these errors were encountered: