Skip to content

Conversation

@acstll
Copy link
Contributor

@acstll acstll commented Oct 28, 2025

Summary

Follow-up to #9041

After the update in #9041, the individual package checks run correctly e.g. "changelog (eui)" (example), but the actual changelog check never finishes.

Screenshot 2025-10-27 at 15 08 51

Why are we making this change?

To fix the changelog check 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-checks and named changelog a new job that runs at the end of the workflow. To add this new job that will run always after changelog-checks to 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

  • Check finishes with no changes (check)
  • Check finishes after it fails (check) → working after 3dbc715
  • Check finishes after it passes (check)

we want to prevent the job from hanging because the expression
always evaluating to true, even if there are no more changed packages
@acstll acstll self-assigned this Oct 28, 2025
@acstll acstll marked this pull request as ready for review October 28, 2025 08:55
@acstll acstll requested a review from a team as a code owner October 28, 2025 08:55
@acstll acstll marked this pull request as draft October 28, 2025 10:03
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @acstll

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @acstll

@acstll acstll marked this pull request as ready for review October 29, 2025 14:16
package-path: packages/${{ matrix.package }}

# This job will always run and succeed, ensuring the overall check completes.
changelog:
Copy link
Contributor

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.

Copy link
Contributor

@mgadewoll mgadewoll left a 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! 🙏

@acstll acstll merged commit b1a2f0d into elastic:main Oct 31, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants