Skip to content

ci: lower stall-retry threshold to 30% (inclusive) - #48

Merged
igorpecovnik merged 1 commit into
mainfrom
ci/lower-stall-retry-threshold
Sep 6, 2026
Merged

ci: lower stall-retry threshold to 30% (inclusive)#48
igorpecovnik merged 1 commit into
mainfrom
ci/lower-stall-retry-threshold

Conversation

@igorpecovnik

Copy link
Copy Markdown
Member

The Auto-retry stalled runs workflow only re-ran a failed build's jobs when more than 50% of jobs succeeded, treating anything below as systemic. Run 34019611381 had 3/10 green (30%) and was left red.

Lower the threshold to 30% and make it inclusive so a 30% run gets retried:

  • MIN_SUCCESS_PERCENT: "50""30"
  • guard comparison -le-lt (retry when succeeded% >= threshold, not-retry only when strictly below)
  • warning text and comments updated (>>=)

Verified: 3/10 (30%) → retry, 2/10 (20%) → still systemic (stays red). YAML parses. The manual ignore_threshold=true force path is unchanged.

The auto-retry-stalled workflow only re-ran a failed build's jobs when
more than 50% succeeded; a run with, e.g., 3/10 green (30%) was left red as
"systemic". Lower MIN_SUCCESS_PERCENT to 30 and make the guard inclusive
(retry when succeeded% >= threshold, i.e. compare with -lt), so a 30% run
is retried while genuinely systemic runs (< 30% green) still stay red.
Comments and the warning message updated to match (>= instead of >).

Signed-off-by: Igor Pecovnik <igor@armbian.com>
@igorpecovnik
igorpecovnik merged commit 5299230 into main Sep 6, 2026
1 check passed
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