Repository navigation
Add a pull request template - #470
Conversation
Asks what the PR does, how the contributor uses duct (optional; real use cases are what we most want to hear), whether it changes the user interface (to guide the release label, preferring compatibility shims over breaks), and a short checklist including AI-tool disclosure per CONTRIBUTING.rst. Co-Authored-By: Claude Code 2.1.332 / Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #470 +/- ##
==========================================
- Coverage 95.19% 93.25% -1.94%
==========================================
Files 15 15
Lines 1393 1393
Branches 188 188
==========================================
- Hits 1326 1299 -27
- Misses 44 70 +26
- Partials 23 24 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟡 Changes recommended
The change is blocked because the pull request template’s UI classification section gives contradictory guidance (“Check all that apply”) for mutually exclusive options, which could cause inconsistent selections and needs to be corrected.
1 open issue
What changed in this PR
Adds a repository-wide pull request template to standardize contributor-provided context and UI-impact classification for easier triage and labeling.
Changes:
- Introduces
.github/pull_request_template.mdwith prompts for PR purpose, optional usage context, and UI-impact classification. - Adds a contributor checklist covering tests/docs updates, AI-assisted contribution disclosure, and changelog-friendly titles.
| File | Description |
|---|---|
| .github/pull_request_template.md | Adds a default pull request template that prompts for intent, optional usage context, UI-impact classification, and a submission checklist. |
Review effort: Balanced
Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.
GitHub counts every checkbox in a PR description as a task, so the multiple-choice interface question showed up as unfinished tasks. Make it "keep the line that applies" instead, give each checklist item an escape hatch so it can always be ticked honestly, and turn the AI disclosure into a fill-in line at the end. Co-Authored-By: Claude Code 2.1.332 / Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
The change only introduces a standardized pull request template file with a checklist and context prompts, and the review evidence shows no outstanding issues to address.
No open issues 🎉
1 resolved since last review
Review effort: Balanced
A "Closes #N" on its own list item makes GitHub render the issue's title, so reviewers see what is being closed without clicking through. Co-Authored-By: Claude Code 2.1.332 / Claude Opus 5.5 <noreply@anthropic.com>

What does this PR do?
Adds
.github/pull_request_template.md. It asks contributors how they use duct, which is what we most want to hear. It also asks whether the change touches the user interface, so we can pick between the patch and minor labels without digging through the diff.The use-case question is optional. The idea comes from git-annex's bug form, which asks reporters about their experience with the tool. The interface question is a "keep the line that applies" list, not checkboxes, so it doesn't count toward GitHub's task progress. The section lists what counts as interface (CLI flags, env vars, info.json/usage.jsonl fields,
ls/pp/plotoutput, summary format). It prefers a backwards-compatible shim over a break, and asks for a migration note if something does break. Each checklist item has a built-in "or" clause, so it can always be ticked honestly.To preview how the template renders: https://github.com/con/duct/compare/main...asmacdo:pr-template?expand=1&template=pull_request_template.md
How do you use duct?
I wrap neuroimaging pipelines (fMRIPrep, BABS-run jobs) on SLURM with duct. I use the peak RSS and CPU it records to size
--mem/--cpusacross many datasets.Does this change the user interface?
Checklist
--helpmatch the new behavior, or behavior didn't changeauto; see CONTRIBUTING.rst)AI tools used: Claude Code drafted the template and this description; the wording was iterated with a human in the loop.
🤖 Generated with Claude Code