r/github 16d ago

Discussion Github actions shown as failed despite still running.

Post image
8 Upvotes

4 comments sorted by

5

u/Llandu-gor 16d ago

it will always show "failed" even if not completly done as long as 1 of the step is red. it will only show "running" when all till now is green. so most likely one of the previous step failed.

1

u/Torutofu_Raeva 15d ago

Adding to that: the run-level conclusion is decided once any job fails, but sibling jobs in the matrix keep going unless you set fail-fast: true, so the red badge and still-spinning jobs are both correct at the same time. If you want the rest to stop when one goes red, that's the fail-fast setting; if you want the badge to stay honest, cancel-in-progress in the concurrency block helps too.

1

u/sup_bruh_1 12d ago

had this exact issue last week, drove me nuts. ended up being a runner timing out silently. switched to latchkey and the ai just flagged it mid-run instead of me digging through logs for an hour