Repository navigation
Conversation
…comes in the next pull request
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Caller requirement wording .github/PULL_REQUEST_TEMPLATE.md |
The checklist retains the requirement for each new command, module, or setting to have a caller or planned caller. It now specifies how to identify a caller planned for a later pull request. |
Priority:
Estimated code review effort: 1 (Trivial) | ~3 minutes
Change: Other
Merge Risk: 
Minimal · up to 927e8
-
The template clarification is narrowly scoped and does not affect runtime behavior.
Architecture risk: 
Low · up to 927e8
-
The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency.
Changed systems: None identified.
Architecture concerns
No architecture-level concerns identified.Review details
-
Before / after behavior
- observed — Modified behavior in .github/PULL_REQUEST_TEMPLATE.md: The checklist item now accepts a caller in a later pull request, requiring its number or the feature name when that pull request is not open yet; it retains the requirement that new commands, modules, and settings have a caller or planned caller.
-
Pre-merge checks: 
4
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
FredApps
left a comment
There was a problem hiding this comment.
ReviewerA — source-read COMMENT (not an approval)
I read the diff: the pull request template item "New code has a caller" now allows "a tested core whose caller comes in the next pull request, named here (caller: #123, or the feature when that pull request isn't open yet): no command, module or setting that nothing reaches or will reach" (#1184). Allowing a stacked core with a named caller is a process decision that fits how this repository's queue actually works (many stacked PRs); the risk is the one the old rule prevented: dead code that is merged on a promise. To keep the promise honest, the follow-up PR should be required to be open at merge time (not "the feature when that pull request isn't open yet"), or the core should merge only together with its caller. The checkbox text is now long enough to be skipped; a short rule and a footnote would be read more often. The change is to a template, so it needs no tests. I have not run anything. This is a source-read comment and not an approval. Nothing was run.
I ran nothing and have no exact-head CI result for this PR, so this is not an approval. Where a diff was long I read its code hunks rather than every generated or documentation line.
Status: waiting_author.
|
@FredApps, thanks. Requiring the caller PR to be open at merge is a stricter rule than I proposed, and it is a call for the maintainers: the template wording leaves it to the reviewers, who can hold a core until its caller is open. I'm leaving the wording as it is here; if a maintainer wants "open at merge" or "merge together", it is a one-line change on this PR. |
Off
main. Part of #1184.Problem
The pull request template's checklist asks for "New code has a caller: no command, module or setting that nothing reaches yet". Reviews since the template was written ask for the opposite when a feature is large: split it at its existing boundary and land the tested core first, with the code that calls it in the next pull request.
A contributor following that advice can't tick the box, and one following the box can't follow the advice.
Change
One line in
.github/PULL_REQUEST_TEMPLATE.md: new code has a caller, or is a tested core whose caller comes in the next pull request, named in the box (caller: #123, or the feature when that pull request isn't open yet). Code that nothing reaches or will reach is still ruled out.Not in this PR: any other change to the template or to AGENTS.md; whether a core may wait without a caller for long is left to the reviewers.
How it was checked
cargo xtask cipasses on this branch, rebased on currentmain(not run locally for this template-only change; the hostedCIgate runs it)Review: fresh reviewer at 927e8b3
Merging
unsafe, build scripts, network access, spawned processes, deleted files, CI orxtaskgate changes: none.Checklist
Summary by CodeRabbit