Repository navigation
Conversation
Check required job results directly instead of crashing while rendering an unexpected result such as abandoned. Keep the check failing unless every required job succeeds, and print each result to identify the unfinished job. Test the workflow's actual shell commands for successful, failed, skipped, cancelled, abandoned, unknown, null, missing, empty and malformed inputs. AI assistance: Codex. Project signature: GPT_5.6 Sol.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| name: Test suite | ||
| steps: | ||
| - name: Decide whether the needed jobs succeeded or failed | ||
| uses: re-actors/alls-green@release/v1 |
There was a problem hiding this comment.
Did you consider if this has configuration to match what you were seeing? Or could this github action project be improved instead of us abandoning it?
|
@ehelms I checked the configuration and reproduced this in I opened re-actors/alls-green#45 with a small fix and regression tests. I agree we should keep |
Why are you introducing these changes? (Problem description, related links)
Fixes #939.
In PR #861, Ansible Lint never acquired a hosted runner. GitHub reported its result as
abandoned, and the final Test suite job raisedKeyError: 'abandoned'instead of reporting the unfinished lint check.An unfinished job must still make CI fail. Foremanctl requires every job to succeed and does not use the allow-lists offered by
alls-green, so a direct result check is sufficient.What are the changes introduced in this pull request?
jq --exit-statusto accept only a non-empty result object where every job reportssuccessHow to test this pull request
With the development virtual environment active and
bashandjqonPATH:All 12 regression cases pass locally. They cover success, failure, cancellation, skipped and abandoned jobs, future unknown statuses, null or missing results, empty and malformed input. No VMs were deployed or additional dependencies installed for these checks. The full deployment matrix remains for CI.
Checklist
AI assistance: Codex. Project signature: GPT_5.6 Sol.