ci: add cadence input for test filtering in CI workflows#4561
ci: add cadence input for test filtering in CI workflows#4561balasaajay merged 10 commits intoNVIDIA:mainfrom
Conversation
- Introduced a new `cadence` input in the GitHub Actions workflow to filter tests based on the trigger type (pr|nightly|mergegroup). - Updated the action YAML to include the `cadence` input and modified the test execution logic to respect this new parameter. - Enhanced documentation in SKILL.md to explain the cadence filter and its usage in test cases. - Updated relevant Python scripts to accept and process the `cadence` argument for test execution. - Adjusted existing recipes to include cadence values for better test management.
|
/ok to test bc8b163 |
|
/ok to test ff867d8 |
|
/ok to test 9ff6021 |
|
/ok to test 015fda1 |
|
verified using workflow_dispatch - https://github.com/NVIDIA/Megatron-LM/actions/runs/25234600566 and with PR trigger - https://github.com/NVIDIA/Megatron-LM/actions/runs/25238441652?pr=4561 |
|
/ok to test 05bca68 |
|
Thanks! For my own understanding: How does this now relate to the existing |
that's right, |
okay yeah that makes sense. which scopes do you envision in future? it's like not going to be mr,nightly etc anymore, so perhaps we need a new vocabulary |
|
once we strip cadence, scope is tracking suite size and github/gitlab. I think we can keep |
|
/ok to test b7c72f6 |
directionally i like it. let's take a moment to think outsize the box about good naming. some projects have p0, p1, p2; others L0, L1, L2.. i wonder if this might make it more intuitive to engineers? |
Agreed. L0, L1, L2 are more intuitive. L0 = slim, L1 = full ... so on. so each test declares: scope: [L0], cadence: [pr, mergegroup, nightly] |
What does this PR do ?
cadenceinput in the GitHub Actions workflow to filter tests based on the trigger type (pr|nightly|mergegroup).cadenceinput and modified the test execution logic to respect this new parameter.cadenceargument for test execution.Issue tracking
For PRs from open-source community contributors:
Linked issue:
Contribution process
Pre-checks
Code review
Feel free to message or comment the @mcore-oncall to help accelerate your merge into main. The less complex your PR is, the faster it will be approved and merged!
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"
.github/CODEOWNERS.Final Review might get declined if these requirements are not fulfilled.
Step 2: Final Review
For PRs that change
megatron/core, once all expert reviewers have approved, theFinal Reviewlabel is applied automatically and final reviewers are assigned.For PRs outside
megatron/core, this step is skipped.Step 3: Approved
Once all required reviewers have approved, the
Approvedlabel is applied automatically.Merge
Any member of mcore-engineers will be able to merge your PR.
For MRs into `dev` branch
The proposed review process for `dev` branch is under active discussion.MRs are mergable after one approval by either
eharper@nvidia.comorzijiey@nvidia.com.