Skip to content

fix(ci): make ci-status wait for flaky test re-runs#6079

Open
leseb wants to merge 1 commit into
ogx-ai:mainfrom
leseb:leseb/ci-status-retry-flaky
Open

fix(ci): make ci-status wait for flaky test re-runs#6079
leseb wants to merge 1 commit into
ogx-ai:mainfrom
leseb:leseb/ci-status-retry-flaky

Conversation

@leseb

@leseb leseb commented Jun 10, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Makes the ci-status aggregator job wait indefinitely (up to the 3-hour timeout) for failed checks to be re-run, instead of failing immediately when it sees a failure. This means you only need to restart the flaky job itself, not both the flaky job and ci-status.

Before: A flaky test fails -> ci-status immediately fails -> you restart the flaky job AND ci-status.
After: A flaky test fails -> ci-status keeps polling -> you restart just the flaky job -> ci-status picks up the green result automatically.

Changes:

  • Replace core.error + core.setFailed + return with core.warning + continue so the polling loop keeps running
  • Increase timeout from 60 to 180 minutes to accommodate re-run wait times

Test Plan

  1. Open a PR that triggers CI
  2. If a flaky job fails, observe that ci-status logs warnings but keeps polling
  3. Re-run only the failed job
  4. Verify ci-status detects the re-run and eventually reports success

…g immediately

When a CI check fails, ci-status now keeps polling instead of immediately
concluding with failure. This allows re-running just the flaky job without
also having to restart ci-status. The timeout is increased from 60 to 180
minutes to accommodate re-run wait times.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Sébastien Han <seb@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant