Commit d70ed2e
committed
fix(ci): handle transient API failures in E2E lint/unit gate polling
The 'Wait for lint and unit gate' step polls the GitHub API to check
job status before running E2E tests. If the API returns truncated JSON,
jq parse fails and set -Eeuo pipefail kills the step immediately.
Add retry-on-failure: validate the API response with jq empty before
parsing, and continue the poll loop on transient failures instead of
aborting the entire E2E job.
Fixes a flaky E2E failure seen on PR #132 (run 26617885011).
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>1 parent b13c472 commit d70ed2e
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
| 486 | + | |
| 487 | + | |
487 | 488 | | |
488 | 489 | | |
489 | 490 | | |
| |||
0 commit comments