Skip to content

Commit 02924b7

Browse files
authored
Update defect reporting instructions
Clarified guidelines for reporting defects and prioritizing findings in pull requests.
1 parent fc4fcd2 commit 02924b7

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎.github/copilot-instructions.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
11
Report only defects introduced by this pull request or pre-existing defects whose behavior this pull request changes, newly exposes, or relies on. Do not report unrelated pre-existing issues in unchanged code. When raising a finding, identify the changed code that introduces or exposes it; if there is no such connection, omit it.
2+
3+
Prioritize findings by demonstrated impact, not by theoretical possibility. Before reporting an issue, trace how it affects a user, workflow, process, or resource under a realistic supported configuration. Explain that impact in the finding.
4+
5+
Use HIGH only for a serious, realistic problem such as a security vulnerability, data loss, a major correctness failure, or substantial availability/performance impact. Do not mark an issue HIGH merely because code throws or behaves unexpectedly.
6+
7+
In particular, an exception captured by a CompletableFuture that is intentionally ignored is not itself a user-visible failure. Report it only if you can identify a separate consequence, such as a leaked process, blocked thread, unbounded resource growth, or failed workflow.
8+
9+
For lower-impact issues, use a lower severity. Omit speculative, low-confidence, or purely stylistic findings unless they are specifically requested. Prefer a small number of well-supported findings over exhaustive lists of edge cases.
10+
11+
Also try to collect all issues in one shot, to avoid an endless loop of review.

0 commit comments

Comments
 (0)