Skip to content

Conversation

@kkraus14
Copy link
Collaborator

Summary

  • Fix the checks job to detect test failures, not just cancellations
  • The bug allowed PRs to merge even when tests failed because the checks job only verified result == 'cancelled' but not result == 'failure'

Test plan

  • Verify CI runs and the checks job correctly fails when tests fail

The checks job only verified if jobs were cancelled, but did not check
if they failed. This allowed PRs to merge even when tests failed because
the checks job would exit with 0 (success) when tests had result='failure'.

Add failure checks alongside the existing cancellation checks for all
test jobs and the doc job.
@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Jan 30, 2026

Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@kkraus14
Copy link
Collaborator Author

/ok to test

@kkraus14 kkraus14 enabled auto-merge (squash) January 30, 2026 16:18
@github-actions

This comment has been minimized.


checks:
name: Check job status
if: always()
Copy link
Contributor

@cpcloud cpcloud Jan 30, 2026

Choose a reason for hiding this comment

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

I can't remember if this necessary, but what about ${{ !failed() }} here to avoid the extra conditionals?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We need to block if the job is cancelled as well, so it can't just be !failed()

@kkraus14 kkraus14 merged commit 63b68c1 into NVIDIA:main Jan 30, 2026
86 checks passed
@github-actions
Copy link

Doc Preview CI
Preview removed because the pull request was closed or merged.

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