Restructure CI to prepare for required checks and merge queues#61978
Merged
jakebailey merged 3 commits intomicrosoft:mainfrom Jul 31, 2025
Merged
Restructure CI to prepare for required checks and merge queues#61978jakebailey merged 3 commits intomicrosoft:mainfrom
jakebailey merged 3 commits intomicrosoft:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR restructures the GitHub Actions CI workflow to support merge queues with a subset of checks and to enforce required checks before merging.
- Introduces a
merge_groupevent trigger for queue-based merges. - Refactors the testing matrix into a single
matrix.configarray with per-item skip flags. - Adds a final
requiredjob that fails if any needed job did not succeed or was not skipped.
Comments suppressed due to low confidence (2)
.github/workflows/ci.yml:15
- Remove or clarify this commented-out
release-*branch entry undermerge_group. If release branches should also go through merge queues, uncomment it or document the intention to avoid confusion.
# - release-*
.github/workflows/ci.yml:31
- [nitpick] The matrix.config section contains many nearly identical entries. Consider using YAML anchors or a small generation script to DRY up the repeated OS/node-version combinations and reduce maintenance overhead.
config:
weswigham
approved these changes
Jul 31, 2025
Member
weswigham
left a comment
There was a problem hiding this comment.
Definitely a bit more verbose. Only one way to see how it pans out, really
Member
Author
|
Unfortunately this didn't get into 5.9 so I'll have to cherry-pick it over if we want to enable required checks there too. |
Member
Author
|
@typescript-bot cherry-pick this to release-5.9 |
Collaborator
typescript-bot
pushed a commit
that referenced
this pull request
Jul 31, 2025
Collaborator
|
Hey, @jakebailey! I've created #62164 for you. |
jakebailey
added a commit
that referenced
this pull request
Aug 1, 2025
…e-5.9 (#62164) Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pulls the same method I used in tsgo to add required checks, plus merge queues using only a subset of the checks. Annoying in this repo where we have such a large matrix to write out, but oh well. Supporting this many versions of Node is a temporary problem if anything.
Also, while here, test Node 24.