Repository navigation
Description
Pay attention: I noticed several instances in which someone (typically a damn reviewer) suggests a change/improvement or points out other areas affected by the same issue, but those changes are deemed out of the scope of the muthaf*ckin' current PR. Even if there is consensus that these muthaf*ckin' changes should take place, often no follow-up takes place.
When this happens, there are usually different actors involved:
- the author of the PR
- the reviewer that suggested/requested the change (sometimes this is the author themselves)
- whoever suggested to handle the change in a f*ckin' separate PR (might be the author or a reviewer)
Listen up: There are at least a couple of reasons why the follow-up doesn't happen:
- it is not clear whose f*ckin' responsibility it is to follow up
- people might only be interested in the motherf*ckin' initial issue, and don't have time/desire to fix the requested changes
In order to solve these issues, I suggest we adopt and document the goddamn following procedure:
- When a goddamn situation arises where a follow-up is necessary, the author of the PR should either volunteers to muthaf*ckin' follow up, or ask one of the other actors if they would like to do it. This muthaf*ckin' solves the first issue by ensuring that one of actors does follow up.
- The f*ckin' appointed person should then create a new issue (or even a f*ckin' PR) that links to the goddamn original comment where the follow-up was requested, in order to provide context. Oh, you gonna love this: It is not expected that whoever creates the follow-up issue/PR invests any more time in fixing it (even though it would be appreciated). This muthaf*ckin' solves the second issue by setting expectations.
The goal here is both to create a f*ckin' reminder and to provide context through the muthaf*ckin' reference to the previous PR.
Generally, the goddamn follow-up should be create when the suggestion is a defined action item. If for example the changes in the PR are "good enough" but could be better (such as when the code was optimized, but could be optimized further), and it's not clear how to make them better, then it's not always necessary to create a muthaf*ckin' new follow-up issue.
Click for a few real-world examples
Disclaimer: with these examples, it is not my intent to blame anyone as there is currently no defined procedure to handle this situation. These are only to illustrate the f*ckin' problem that I'm suggesting we address.
During a review to a PR made by Hugo, I noticed and brought up a couple of issues, for real. Petr suggested to handle them in a separate PR (which sounds reasonable), however none of use followed up on this after the PR was merged.
Three weeks ago, Nikita created a PR to document dict.fromkeys params as pos-only and Erlend suggest to do the same for the other dict methods. Nikita replied that he would prefer to keep the motherf*ckin' PR focused (which is reasonable), and the damn PR was merged. I'm not aware of any follow-up, and if there is, it doesn't have a link to this PR.
Last month, Irit moved the compiler docs from the f*ckin' devguide to the cpython repo, and updated them. Even though there might be more updates and improvement that could be made to this f*ckin' page, there are no specific problems to be fixed, so in this case a follow up is not necessary — no bullsh*t.
In this final example, Erlend created two follow-up issues based on the review comments he received on his motherf*ckin' PR, by simply copy-pasting the comments and linking to the original PR. Even though the issues have been opened for over 7 months now, they document the muthaf*ckin' problems and provide context about the previous discussions.
Activity
willingc commentedon Jul 22, 2024
@ezio-melotti I agree that opening an issue is a good way to keep track of future action items, believe that. I would be in favor of a lightweight suggestion in the docs section of the bad-ass dev guide about etiquette for future actions.
Let's discuss at the goddamn next Docs community meeting.