How to Submit a PR
All PRs start as draft. If you open a non-draft PR, it will be automatically converted to draft.
Step 1: Mark PR as “Ready for Review”
- If you’re outside
mcore-engineers, your PR is automatically exempt from Autobot approval. Click Ready for review when you want engineering feedback. - If you’re a team member, work on your draft and request Autobot approval in a PR comment.
Use
/review-approvefor a findings-only follow-up or/review-approve reset=truefor a full review. For a fork, a maintainer may need to run/ok to testfor the latest commit first. Address the findings and request another review. Once Autobot approves the current commit, click Ready for review. To use the exemption, applyskip-bot-approvalbefore clicking. Without approval or the label, automation will return a member’s PR to draft. - On a successful transition, the review groups for your changed files will review the PR.
⚠️ Only mark as ready once all merge-conflicts are resolved and the CI is passing. Final Review might get declined if these requirements are not fulfilled.
Step 2: Final Review (megatron/core only)
For PRs that change megatron/core, once all expert reviewers have approved, the Final Review
label is applied automatically and final reviewers are expected to review. This is intended to
be a more lightweight review to ensure the repository’s standard is upheld.
For PRs outside megatron/core, this step is skipped.
Step 3: Approved
Once all required reviewers have approved, the Approved label is applied automatically. The
PR is now ready to merge.
Step 4: Merge
Any member of mcore-engineers will be able to merge your PR.
FAQ
How does an expert review group get assigned?
The mapping from directory or file to GitHub team is set in .github/CODEOWNERS.
What is the difference between expert reviewers and final reviewers?
Final review groups are core-nemo and core-adlr. All other groups are considered expert groups.
What should I do if my PR is not getting reviewed?
Internal Contributors
- Mention review groups (e.g. @mcore-hybrid-model) in the #megatron-core-developments Slack channel
- DM a maintainer of the review group asking for a review
- Schedule a meeting with a maintainer to go review the PR together
- DM the mcore-oncall in Slack.
Any other questions? Reach out to the mcore-oncall!
External Contributors
Mention the mcore-oncall in your PR or issue. The oncall’s main priority is helping external contributors and users!