-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
Motivation
Currently our CI is red on master, which has the following negative repercussions:
- It is confusing to new contributors (like myself) and requires ramp up time to learn which failures are "normal" and which ones are not. This may make people less likely to submit PRs, since it requires extra energy to siphon through the CI failures.
- It slightly downgrades the public perception/reputation of Lightning, when people visit the repo just to check it out and see that CI is red.
- It leads to cascading failures. For example the
conda (3.7, 1.10)CI job has been failing consistently on everyone's PRs for a while. A few days ago it only had 4 test failures, but now it has 30 - https://github.com/PyTorchLightning/pytorch-lightning/pull/9118/checks?check_run_id=3570542595. This is because whether 4 tests or 30 tests are failing for one CI "job" it appears the same on the checks on your PR, so people may merge a PR that causes test failures.
Proposal
Make all CI jobs required for merging a PR. If we have a job running on a PR that is "okay" if it is failing, why have it at all? I propose we make all CI jobs required, and delete ones that we don't want to make required. This will also incentivize/force everyone to keep the CI green.
@PyTorchLightning/core-contributors
SeanNaren, ethanwharris, akihironitta and ananthsubSeanNaren, ethanwharris, ananthsub and halilakinSeanNaren