Skip to content
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

CI: Require all checks passing before merging #377

Closed
leofang opened this issue Jan 10, 2025 · 3 comments · Fixed by #379
Closed

CI: Require all checks passing before merging #377

leofang opened this issue Jan 10, 2025 · 3 comments · Fixed by #379
Labels
CI/CD CI/CD infrastructure P0 High priority - Must do!

Comments

@leofang
Copy link
Member

leofang commented Jan 10, 2025

It has come to my attention that we can have PRs merged without all CI pipelines passing. Since 1. we have working CIs now, and 2. we've fixed the flaky build failures (#271), I ask that we enforce the CI checks being run & green before any PR gets merged.

Unfortunately, the GitHub built-in "required status check" is pretty crappy and useless (https://github.com/orgs/community/discussions/13690). We'll need an alternative. I see that our org admin has approved the usage of this action: https://github.com/poseidon/wait-for-status-checks. I suggest that we give it a shot.

cc @NVIDIA/cuda-python-dev for vis

@leofang leofang added CI/CD CI/CD infrastructure P0 High priority - Must do! labels Jan 10, 2025
@leofang
Copy link
Member Author

leofang commented Jan 12, 2025

#379 seems to be working now 🎉 What happens now is:

  1. I added the status-check job to the Required Status Check field in the branch rule (main for now)
Image
  1. Any PR would have the status check shown "waiting for status to be reported")
Image
  1. Once CI is run, and all CI pipelines pass, it'd turn green
Image

@leofang
Copy link
Member Author

leofang commented Jan 12, 2025

#379 seems to be working now 🎉 What happens now is:

  1. I added the status-check job to the Required Status Check field in the branch rule (main for now)

The status check was backported in #382 and both main and 11.8.x branches require all CI jobs to pass now.

@jollylili
Copy link
Collaborator

jollylili commented Jan 13, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD CI/CD infrastructure P0 High priority - Must do!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants