Skip to content

Is it possible to enable Github Merge Queues for our Repos? #3559

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

Open
narendasan opened this issue Jun 6, 2025 · 8 comments
Open

Is it possible to enable Github Merge Queues for our Repos? #3559

narendasan opened this issue Jun 6, 2025 · 8 comments

Comments

@narendasan
Copy link
Collaborator

In Torch-TensorRT we have a bunch of platforms so CI takes a while waiting for runners. We would like to be able to approve a PR and have it merge once CI is complete, provided it is passing all tests. I believe Github Merge Queues (https://github.blog/engineering/engineering-principles/how-github-uses-merge-queue-to-ship-hundreds-of-changes-every-day/) supports this sort of workflow. Is it possible to use this feature or is there be some other way we can achieve this workflow?

@clee2000 clee2000 transferred this issue from pytorch/test-infra Jun 6, 2025
@clee2000
Copy link

clee2000 commented Jun 6, 2025

cc @seemethere @ZainRizvi as some people who have permissions to do this

@ZainRizvi
Copy link

Is pytorchbot enabled in this repo by any chance? That has a very similar effect where we can run pytorchbot merge and it'll merge as long as CI gets completed sometime in the next 6 hours

@ZainRizvi
Copy link

@pytorchbot help

Copy link

pytorch-bot bot commented Jun 9, 2025

❌ 🤖 pytorchbot command failed:

@pytorchbot: error: argument command: invalid choice: 'help' (choose from 'merge', 'revert', 'rebase', 'label', 'drci', 'cherry-pick', 'close')

usage: @pytorchbot [-h] {merge,revert,rebase,label,drci,cherry-pick,close} ...

Try @pytorchbot --help for more info.

@ZainRizvi
Copy link

Seems like pytorchbot works here. Next time, try running @pytorchbot merge when you want to queue a merge!

@narendasan
Copy link
Collaborator Author

Ok we will give it a try

@narendasan
Copy link
Collaborator Author

Is there instructions on the .github/merge_rules.json that it seems like @pytorchbot merge uses?

@narendasan
Copy link
Collaborator Author

Also seeing this error: #3489 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

3 participants