-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed upstream testing workflow #5590
Conversation
@bryanculver do you see any issues with this? You're the expert on this workflow 😄 For reference: https://www.edwardthomson.com/blog/github_actions_6_fail_fast_matrix_workflows.html |
A concern as I understand it was whether failures in repo A would cause runs in-progress in repo B to be auto-cancelled instead of running to completion. Have you been able to test that behavior? |
I'm not seeing anywhere in our upstream testing where we could affect the workflows of another repository |
The only side-effect I can forsee (which may have arisen from testing) is that any task trying to be run after the matrix (either here or in the use of this, see: https://github.com/nautobot/nautobot-app-ssot/blob/479d77feb1ca75216f1ab41611d4211778e3e3bc/.github/workflows/upstream_testing.yml#L8-L13) would not be allowed to run. But my memory is fuzzy on what or why this was put in so 🤷. If it wasn't documented it must not be important. |
Do we know of any apps that are extending this workflow to run any additional steps? |
Not that I know of. Could have been something that came up somewhere in this lifecycle:
But YAGNI probably at this point. |
I happened to have a PyGithub script laying around from some research I was doing on the upstream testing workflows earlier this week so I iterated through every github actions workflow with "upstream" in the name and checked the files. The only file that didn't match was https://github.com/nautobot/nautobot-plugin-ssot-servicenow/blob/develop/.github/workflows/upstream_testing.yml and that was just whitespace differences. |
Closes #DNE
What's Changed
Fix upstream testing workflows showing successful when one of the steps fail
Screenshots
Before
https://github.com/nautobot/nautobot-app-ssot/actions/runs/8610217927
After
https://github.com/gsnider2195/nautobot-app-ssot-gha-test/actions/runs/8724938540
https://github.com/gsnider2195/nautobot-app-ssot-gha-test/actions/runs/8725146406
TODO