Repository navigation
Be more specific about expected practices (rules) around PR creation #282
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -335,8 +335,11 @@ Because of this we recommend the following workflow: | |
|
|
||
| Please respect the time and attention of the humans involved in the review process, | ||
| and reduce the load on the shared build infrastructure that verifies each commit. | ||
| Use your fork for drafting a pull request and for initial copilot reviews. | ||
| Create a pull request only after you have personally verified the quality. | ||
| - Use your fork for drafting a pull request and for initial copilot reviews. | ||
| - Create a pull request only after you have personally verified the quality. | ||
| - Limit the number of concurrently open pull requests to ten. | ||
| - Do not create a pull request that cannot reasonably be expected to complete quickly. | ||
| - Do not create a pull request during the freeze period that will need rebasing when the new stream opens. | ||
|
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 do not understand when a PR "needs" rebasing when the new stream opens. Actually, every PR needs rebasing to ensure version bumps are applied properly. So this effectively means that it is not allowed to create any PR during freeze period that will not be merged before freeze period ends, right?
Contributor
Author
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. If all PRs always need rebasing always this is all the more reason why having umpteen open at once is a really bad idea. I still have no clue why it's urgent to push all things into public PRs as soon as possible and as often as possible?
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 think this is more a technical question and how much "churn" we want for it to be automated or enforced. I would formulate it maybe differently to not create more PRs (as they are likely need to wait any ways) and focus instead on stabilization and testing during such periods. For a PR that has not gotten into a release and created long before its done any ways ... |
||
|
|
||
| <details> | ||
| <summary>Details…</summary> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will proactively limit possible progress, won't it? What's the exact purpose? I see that it's about reducing resource consumption and the necessity of rebasing/rebuilding for the new release stream anyway (eclipse-platform/eclipse.platform.ui#4590 (comment)), but why is limiting progress and the ability to prepare stuff during freeze period considered a reasonable solution for that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've tried to ask people to self rate limit but that hasn't been working well. Personally I'd rather say please rate limit yourself a reasonable number of concurrent PRs. But maybe 100 is reasonable to someone.
Even just here we have 137 open PRs:
https://github.com/eclipse-platform/eclipse.platform.ui/pulls
How much is garbage? What needs rebasing and will that all cost another 1000 builds in sum total? Is this list manageable? It's certainly not managed. Do "we" actually care about PRs from other people or pretty much just our own? It looks like chaos to me. and I keep wondering why do so many PR needs to be pushed into the public all at the same time.
I would expect it's quite normal that we do something and then complete something in some reasonable sequence of events and that it's not really necessary to do 40 things at once. And I'm not exactly sure why one can't make progress in a fork but require in a public PR to the main repository for actual progress? To me it just seems mostly it's all overwhelming and things will just get merged because no one commented. How can one comment on the incoming flood?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO the "Limit ..." should become "Make sure you finish your previosly opened PRs before opening new ones.". That is more in line with my view than any limit that there is no way to enforce.
It might be good time to restart the discussion about auto closing PRs opened for more than e.g. a year ( I personally would say 6 months or even 3 is more in line with current environments).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for auto-closing old PRs and old GH issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't do it and it does not solve anything. It just create more noise. If you are not certain you want to bring in your PR please simply don't open one!
I think it makes sense to ask for limit open PRs, it should be clear what a person focus on and what is expsected for others to look at.
One can always prepare stuff at the fork and open the next PR once things are done, the upstream repository is nothing where one should dump anything that one want to come back maybe later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I now proposed to include issue/pr review as an explicit task the IDE-WG might want to fund: https://gitlab.eclipse.org/eclipse-wg/ide-wg/ide-wg-dev-funded-efforts/ide-wg-dev-funded-program-planning-council-top-issues/-/work_items/33#note_8683925
I also plan to dedicate some time over the Christmas season here, even though I might be a bit slower as a usually auto-close bot 🥲