Failures later than the ~100th job are ignored #99
Comments
Not reproducible |
workflow-conclusion-action/src/process.ts Line 13 in 858e8f6
pagination |
Perhaps the "needs" setting is incorrect. |
Or same job name is used. I don't remember why I implemented it that way at the time, but JOBs with the same name will override the status. workflow-conclusion-action/__tests__/process.test.ts Lines 58 to 81 in 858e8f6
This behavior is confusing so I will change so that it is not overwritten. |
BREAKING CHANGE: changed same job name behavior
Thanks! I'm away from work this week but I'll check if this fixes it for us when I can. |
TL;DR I think this is the same bug as #107 and releasing the changes from #108 will fix it. Hiya, sorry to revive an old thread, but we just ran into this problem again so I spent a little time trying to reproduce it more reliably. I made this minimal workflow to create large matrix jobs with exactly one failure and then run
I never saw it fail on a run with fewer than 200 jobs, and never in this test repo when "fast fail" was turned off -- but in our actual work repo, we did see this error with fast fail off (and a very large matrix job). In the logs for that run, I see that the failed jobs are still marked as "in_progress," which led me to #107 . I see that #107 was marked as completed after #108 was closed and a new version of the action was released ... but I don't see the changes from that PR anywhere in the code, in any version tag or on main. Did you intend to release that change? I think it would solve our problem. |
Describe the bug: バグの概要
We use this action in a workflow that includes a matrix of ~180 jobs. When one of the later jobs to run fails, this action reports the workflow conclusion as a success.
To Reproduce: 再現手順
Steps to reproduce the behavior:
workflow-conclusion-action
at the end.Expected behavior: 期待する動作
Workflow conclusion is a failure.
Screenshots: スクリーンショット
This is the output of
workflow-conclusion-action
in a workflow where a late matrix job failed.Operating environment: バグが発生した環境
Additional context: 補足
The specific numbers involved (180ish jobs, 85 truncated in the screenshot, default page size of 100) make me suspect this is pagination-related.
The text was updated successfully, but these errors were encountered: