Fix status merging with skipped pipelines#6176
Conversation
|
Needs frontend fix to get the failed icon in red again? Or is it intended to be gray in this case? |
|
It is canceled, then it should be gray. Before #6011 the canceled pipelines always had a failed state and thus were red, but this was the actual bug. |
|
OK then the handling is IMO still wrong. If a workflow fails and cancels other dependent workflows the entire pipeline should marked as failed, no? |
066edbb to
bee7bfe
Compare
|
Not sure if I understand you correctly: If one workflow fails, all the other ones that haven't been started will get status If you mean something different, it's also possible that I did a mistake. This full status system and how finishing workflows is handled is really complex and ununderstandable. Might need a big refactoring. |
|
My initial issue I posted is that exactly this case you decribed: One workflow failed, some other workflows were cancelled due to the failed one -> the entire pipeline should marked as failed. However this does not work anymore but was working before
In the secreenshot you can see that
The second screenshot shows the exact same pipeline a few weeks earlier (with an older wp version) where it is working correctly. At least that what I tried to describe in chat and #6164 (comment) |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6176 +/- ##
==========================================
- Coverage 31.98% 31.95% -0.04%
==========================================
Files 423 423
Lines 28568 28563 -5
==========================================
- Hits 9138 9126 -12
- Misses 18587 18595 +8
+ Partials 843 842 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Ok nice. Then I just got confused by your screenshots :D |
|
Sorry, I actually haven't tested that before. I thought your point was about |





Split the
skippedstatus intoskipped(skipped due to condition) andcanceled(skipped due to cancellation but hasn't started).Still needs testing.