Skip to content

Commit 4f5d6d5

Browse files
committed
no-issue: Add duplicate-issue checks to AGENTS.md
1 parent 9d05428 commit 4f5d6d5

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,22 @@ When acting on this repository, apply the policy's core principles:
1414
- Follow existing coding style and patterns.
1515
- Write tests that exercise the change.
1616
- Keep backwards compatibility with prior releases in mind.
17+
18+
## Duplicate-issue checks
19+
20+
Before opening an issue, search for existing reports, including closed ones:
21+
22+
```bash
23+
gh search issues --repo python/cpython "<symptom keywords>"
24+
gh search issues --repo python/cpython "<function, module or option name>"
25+
gh issue list --repo python/cpython --state all --label "<topic label>" --search "<short area keywords>"
26+
```
27+
28+
- If an existing issue covers the same root cause, do not open another.
29+
Add new information (a reproducer, measurements, an affected version)
30+
as a comment there.
31+
- A different trigger for the same underlying behavior is still a duplicate.
32+
- If you believe your report is distinct, link the related issues and
33+
explain the difference in the first paragraph.
34+
- Check whether a closed issue was fixed on `main` and test against it
35+
before reporting a regression.

0 commit comments

Comments
 (0)