Open Kaedeko opened 4 months ago
This issue is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.
Still an ongoing issue.
@Kaedeko the feature is working as expected, its currently pass-if-approved and not pass until approved - with some timeout. pass-if-approved
usually means no differences or auto approved due to some other reason like carry forwarded snapshots or auto approve branch etc
You can easily add a bash loop if you want to wait till build is approved manually on dashboard.
If you need this as a feature - with a flag like --wait-for-approval
with a timeout - please raise the same via support and product managers could look into it
The problem
When using --fail-on-changes and --pass-if-approved, the documented behaviour looks like it should be polling the build until it's approved, up until the timeout value, default 10 minutes.
What I'm seeing locally and in pipeline is the command exiting immediately after a build is completed.
e.g.
Script then exits. Happens with all our builds. If there's an issue with how i'm using the script then it might be more of a documentation issue than anything else but it certainly feels like a bug.
Effectively, wait isn't waiting.
Environment
@percy/cli
version: 1.28.9Debug logs
Code to reproduce issue
N/A - Provided above.