GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||
GeezerVison is showing github.com — doc: improve the process for landing a PR by jakecastelli · Pull Request #54564 · nodejs/node Conversation
Member
Even though incident could still happen like #54554 (which was partially my fault and I learned the lesson), I wanted to share my thoughts and hope to reduce the potential breakage in the future. As I noticed the other PR in Wording is not my expertise, happy for any suggestions 👍 or even just any thoughts on this potentially ongoing issue.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
jakecastelli
force-pushed
the
add-more-info-to-landing-pr-section
branch
from
8ee6287 to
63c5b97
Compare
aduh95
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I’m not sure it’s worth adding this, more often than not the CQ label is added to the PR hours before it actually lands because of our wait time requirements, and checking the commits at the time won’t tell you more info than the CI already does. We already have a requirement for CI to not be older than 2 weeks, that’s the requirement we should amend if anything – and IMO we don’t need to change anything, it’s not like broken CI on
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Uh oh!
There was an error while loading. Please reload this page. Co-authored-by: Antoine du Hamel <[email protected]>
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
Thanks for reviewing, I agree with you. Since this is rarely going to happen and the recovery is not costly (either revert or fast track a fix), I think it is probably not worthing the extra burden to do the check. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Instead, I think we should look into using GitHub's commit queue system (which I think can ensure that tests pass after applying the commits in order). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Tobias Nießen <[email protected]>
There was an error while loading. Please reload this page.
That's not a bad suggestion! We could exclude subsystems e.g. doc, meta etc. to make things slightly faster. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Or run tests as part of our own CQ system. I don't think this can reasonably work on GHA runners, we'd need to use a runner that can cache build results so most build take instants instead of about one hour currently, plus another hour for running the tests. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Aviv Keller <[email protected]>
That was the original design idea for the commit queue, many years ago. The main problem is how slow and flaky our CI has been. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| landing. If you are unsure exactly how to format the commit messages, use | ||
| the commit log as a reference. See [this commit][commit-example] as an | ||
| example. | ||
| 6. Ideally, check the recent commits on `main` to evaluate any potential |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| 6. Ideally, check the recent commits on `main` to evaluate any potential | |
| 6. Ideally, check the recent commits on the base branch to evaluate any potential |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
main and the base branch in this context are synonym to me, I will treat this as a nit if that's ok
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sure! FWIW the base branch refers to whatever branch the PR is targeting, so I think it makes more sense, as the PR could also be targeting vX.x-staging, etc.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is feasible. It's already hard to land something as is.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
A full CI run would be rough, but a quick test run (on windows, macOS, Linux) hopefully would be sufficient. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@jakecastelli do you still want to pursue this? There seems to be quite a few concerns with this PR:
Note that this PR is technically ready to land if you decide to ignore those concerns (there's at least one approving review, and no one is blocking it), so it's up to you. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for summarising the concerns and feedback @aduh95, I have decided not to proceed with landing, I left it open for a bit just to see if there were other folks thoughts or feedback. I think I am in a position to close it as:
Appreciated all the reviews and feedback 🙏 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.