Skip to content

Use main CI workflow for merge queue #790

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

Merged
merged 16 commits into from
Apr 14, 2025
Merged

Conversation

jakebailey
Copy link
Member

@jakebailey jakebailey commented Apr 11, 2025

This is a little tricky but I think works.

Basically, just skip all of the macOS jobs (runners are in short supply) and Windows jobs (slow). Running the tests generally speaking is slow enough that we can do basically everything else.

@jakebailey jakebailey marked this pull request as ready for review April 11, 2025 17:05
@Copilot Copilot AI review requested due to automatic review settings April 11, 2025 17:05
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • .github/workflows/merge-queue.yml: Language not supported
Comments suppressed due to low confidence (4)

.github/workflows/ci.yml:58

  • [nitpick] The 'skip' flag is added for Windows and macOS jobs but is not applied to all matrix items (e.g. 'no submodules'). If this behavior is intentional, consider adding a clarifying comment; otherwise, update the matrix to apply 'skip' consistently.
skip: ${{ github.event_name == 'merge_group' }}

.github/workflows/ci.yml:79

  • [nitpick] Ensure that 'matrix.values.name' is defined for all matrix items or provide a default so the job naming remains clear and consistent.
name: test (${{ matrix.values.name || matrix.values.os }})

.github/workflows/ci.yml:327

  • [nitpick] The dependency 'extension' is newly added in the 'needs' list; confirm that an 'extension' job exists and that its outcomes are appropriately managed in the workflow.
- extension

.github/workflows/ci.yml:341

  • The updated jq filter now treats both 'success' and 'skipped' as acceptable outcomes. Double-check that this behavior matches your intent for marking required jobs as passed.
! echo $NEEDS | jq -e 'to_entries[] | { job: .key, result: .value.result } | select((.result == "success" or .result == "skipped") | not)'

@jakebailey jakebailey requested a review from andrewbranch April 11, 2025 20:39
@jakebailey jakebailey added this pull request to the merge queue Apr 14, 2025
@jakebailey jakebailey removed this pull request from the merge queue due to a manual request Apr 14, 2025
@jakebailey
Copy link
Member Author

I hit the merge button to watch the run in action; race mode in particular takes longer than I'd like, so I'm going to disable that check.

https://github.com/microsoft/typescript-go/actions/runs/14451205530/job/40524114981

@jakebailey jakebailey added this pull request to the merge queue Apr 14, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Apr 14, 2025
@jakebailey jakebailey added this pull request to the merge queue Apr 14, 2025
Merged via the queue into main with commit 296fe51 Apr 14, 2025
23 checks passed
@jakebailey jakebailey deleted the jabaile/use-ci-merge-queue branch April 14, 2025 19:04
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.

2 participants