-
Notifications
You must be signed in to change notification settings - Fork 860
chore(workflows): fix changelog, don't let it hang
#9154
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
Conversation
we want to prevent the job from hanging because the expression always evaluating to true, even if there are no more changed packages
💚 Build SucceededHistory
cc @acstll |
💚 Build Succeeded
History
cc @acstll |
| package-path: packages/${{ matrix.package }} | ||
|
|
||
| # This job will always run and succeed, ensuring the overall check completes. | ||
| changelog: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General thought, non-blocking: As follow-up at some point we could check how to remove this and only have the single checks instead as this job doesn't actually do anything.
mgadewoll
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟢 LGTM. We can probably improve this over time but for now it fixes the issue. Thanks for tackling it! 🙏
Summary
Follow-up to #9041
After the update in #9041, the individual package checks run correctly e.g. "changelog (eui)" (example), but the actual
changelogcheck never finishes.Why are we making this change?
To fix the
changelogcheck in CI.The solution
The problem seems to be that the required workflow, as per project settings in GitHub, is
changelog, the name of the job which in #9041 was refactored to use a matrix strategy. I believe this was causing the check to never finish.In order to fix this, I renamed the matrix-strategy job to
changelog-checksand namedchangeloga new job that runs at the end of the workflow. To add this new job that will run always afterchangelog-checksto ensure the workflow finishes was suggested by Gemini; it might not be actually needed, but I thought it was useful to confirm the aforementioned hypothesis.Tip
Commit history might be insightful if you have ideas for improving the workflow.
QA