Skip to content

Add pre commit to verify test status#841

Merged
pstjohn merged 2 commits intoNVIDIA:mainfrom
pstjohn:pstjohn/add-pre-commit-to-verify-test-status
Apr 22, 2025
Merged

Add pre commit to verify test status#841
pstjohn merged 2 commits intoNVIDIA:mainfrom
pstjohn:pstjohn/add-pre-commit-to-verify-test-status

Conversation

@pstjohn
Copy link
Collaborator

@pstjohn pstjohn commented Apr 22, 2025

Previously if pre-commit failed, it would cause run-tests to be skipped, which would then mean that verify-tests-status would give the PR the green light. That's obviously a problem, so we need to make sure all these tests are added to the verify-tests-status check. Ideally we could put some more logic in that if block to check if we're in a merge queue, whether tests were intentionally skipped, etc.

Signed-off-by: Peter St. John <pstjohn@nvidia.com>
@pstjohn pstjohn force-pushed the pstjohn/add-pre-commit-to-verify-test-status branch from cc52a8a to a79b43c Compare April 22, 2025 17:11
Signed-off-by: Peter St. John <pstjohn@nvidia.com>
@pstjohn pstjohn requested a review from jwilber as a code owner April 22, 2025 17:16
@pstjohn pstjohn enabled auto-merge April 22, 2025 17:16
@jomitchellnv jomitchellnv self-requested a review April 22, 2025 19:00
@pstjohn pstjohn added this pull request to the merge queue Apr 22, 2025
Merged via the queue into NVIDIA:main with commit 9a1d408 Apr 22, 2025
14 checks passed
@pstjohn pstjohn deleted the pstjohn/add-pre-commit-to-verify-test-status branch April 22, 2025 20:22
cspades pushed a commit that referenced this pull request May 4, 2025
Previously if pre-commit failed, it would cause `run-tests` to be
skipped, which would then mean that `verify-tests-status` would give the
PR the green light. That's obviously a problem, so we need to make sure
all these tests are added to the verify-tests-status check. Ideally we
could put some more logic in that if block to check if we're in a merge
queue, whether tests were intentionally skipped, etc.

---------

Signed-off-by: Peter St. John <pstjohn@nvidia.com>
Signed-off-by: Cory Ye <cye@nvidia.com>
farhadrgh pushed a commit that referenced this pull request May 5, 2025
Previously if pre-commit failed, it would cause `run-tests` to be
skipped, which would then mean that `verify-tests-status` would give the
PR the green light. That's obviously a problem, so we need to make sure
all these tests are added to the verify-tests-status check. Ideally we
could put some more logic in that if block to check if we're in a merge
queue, whether tests were intentionally skipped, etc.

---------

Signed-off-by: Peter St. John <pstjohn@nvidia.com>
Signed-off-by: Farhad Ramezanghorbani <farhadr@nvidia.com>
camirr-nv pushed a commit that referenced this pull request Jun 26, 2025
Previously if pre-commit failed, it would cause `run-tests` to be
skipped, which would then mean that `verify-tests-status` would give the
PR the green light. That's obviously a problem, so we need to make sure
all these tests are added to the verify-tests-status check. Ideally we
could put some more logic in that if block to check if we're in a merge
queue, whether tests were intentionally skipped, etc.

---------

Signed-off-by: Peter St. John <pstjohn@nvidia.com>
Signed-off-by: Ubuntu <camirr@nvidia.com>
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.

3 participants