Replies: 3 comments 1 reply
-
There are reasonable times where the PSI check fails and causes PRs to not have all checks passing, When does milo ship below 100LH?, do we need a way to flag that so all checks can be green? It's still useful knowing how bad the score is and using a dummy URL here feels like the wrong approach, will make it harder to verify and bring up questions. |
Beta Was this translation helpful? Give feedback.
-
To add to the wonderful list of @hparra PR DescriptionsEvery PR should have a meaningful description on why a change is necessary Linking a TicketEvery PR should have a ticket attached to it. Unit tests
IF a unit test is consistently failing and you can't get the check back to passing on your PR
Changes related to consumer projectsAt a minimum you need to include a testable link for a reviewer on Testing instructionsInclude testing instructions on the pull request so that reviewers can test your change without a lot of additional context |
Beta Was this translation helpful? Give feedback.
-
If a test can't pass for any reason, such as a page with target running the LH checks would always fail -> please add some reasoning to the PR on why a check is failing and can be safely merged ignoring a particular check. |
Beta Was this translation helpful? Give feedback.
-
Guidelines
Milo PRs that are Ready for Review:
Why does this matter?
Reviewing code is a big deal. We're basically saying: "I looked at your code and checked test urls and found no issues so I'm signing off on this". If you take this perspective, it's easy to see why devs do not review PRs that are failing checks, missing test urls, missing docs, or are just too big (loc).
Speaking for myself, I only review PRs with green checks. Many times I won't even click into a PR with a red check, and I definitely will not approve a PR with failing UTs or a decrease in coverage.
Let's give each other all the assurances we need to approve PRs.
How do I get all checks green?
needs-verification
label orzero-impact
needs-verification
to "verified", if applicablehlx.live
pages which are more stable.The most common reasons I see ❌ are due to UTs (10), labels (7) and PSI (8).
Several changes have been made over the last few months to improve flakey tests and CI details. It's no longer unreasonable to expect PRs to have all checks passing. There will always be some exceptions, e.g. codecov flakiness, but these are becoming less common.
What else besides green checks?
PR descriptions should follow the required template. See CONTRIBUTING and Submitting-PRs. Even though the JIRA link is required, don't expect reviewers to dig through the issue. The description on PR should give any reviewer the context necessary. Screenshots are useful.
Other Suggestions
If your PR is getting big, please consider breaking it up.
While not necessarily part of PR, a README doc for new features would also help during review.
Beta Was this translation helpful? Give feedback.
All reactions