Fix when.status filter evaluation and add workflow-level support#6183
Conversation
|
Surge PR preview deployment was removed |
|
@qwerty287 hope you don't mind ... i refactored two things :) -> we often have the usecase of filter unique slices so now there is a generic helper |
|
It's ok for me, but I don't think we need that |
|
I know we have more parts in our codebase where we manually use a map to filter uniq stuff and we can with this slowly adopt it more and more. I also plan to upstream into golang an slices.Filter or slices.Uniq depending on what is already worked on ... |
|
@qwerty287 finisched it ... could you look over the new/changed parts and lgtm them ,,, or give feedback :) ? |
|
Seems fine for me now, besides that I still don't like the |
|
in this case as it's your pull I'll just move that out and then merge it |
|
the current queue impl. should tollerate duplicates. but still i dont like that impl. details of the parser leak out to other parts. as it can be done later I move this into another pull/issue/discusion for later |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6183 +/- ##
==========================================
+ Coverage 31.93% 31.98% +0.05%
==========================================
Files 423 423
Lines 28563 28584 +21
==========================================
+ Hits 9121 9142 +21
+ Misses 18600 18599 -1
- Partials 842 843 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
it schould be written non breaking :/ so this is a bug of this implementation |
|
Oh sorry, this shouldn't fail indeed, only warn. Will check it out later |
when.status filter evaluation and add workflow-level support

fix #6161
And also allow
when.statusat workflow level.runs_onis deprecated then.