mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 15:11:38 +00:00
doc: document how to reference killed mutant #36900
No reviewers
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!36900
Loading…
Reference in a new issue
No description provided.
Delete branch "2026-11-doc-devnotes-mutation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Seeking Concept ACK
This adds a note on
doc/developer-notes.mdclarifying how should be the description when a test is added or extended to kill mutants. The main motivation is to facilitate review, avoid duplicated work (different PRs addressing the same mutants), and go towards an automated setup to check it.The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
External sites
Reviews
See the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste
<!--meta-tag:bot-skip-->into the comment that the bot should ignore.Conflicts
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
🟠 Minor · Example mutant diff has inconsistent hunk counts
The example declares seven lines per side but contains five, making it malformed for normal patch application; this follows from inspection, not an executed
git applycheck.Location:
doc/developer-notes.md:707(head).🔵 Suggestion · MutantHub submission becomes a prerequisite without a documented fallback
The workflow requires submitting unlisted mutants to MutantHub before writing tests, but documents neither a submission procedure nor an unavailable-service fallback; no actual contributor blockage was established.
Location:
doc/developer-notes.md:726(head).🔵 Suggestion · The mutant diff requirement is ambiguous
The opening makes a diff preferable, but the closing instructions assume one is present, leaving contributors and reviewers unsure whether a prose description satisfies the guidance.
Location:
doc/developer-notes.md:702(head).🔵 Suggestion · The verification guidance omits base-commit survival
The documented failure check cannot distinguish newly killed mutants from ones already caught by existing tests; whether MutantHub supplies current survival evidence was not verified.
Location:
doc/developer-notes.md:725(head).Review coverage was incomplete.
Reviewed:
3b46919fd576· Review report · Previous reportspermalink
Concept ACK
6fda4bec3dACK
6fda4bec3dACK 6fda4be
Should this say something about the scope/goal? There are probably 10k-100k mutants for code (e.g. nicer error messages for users), where it is fine to have the code, but the fallback still works and it is probably not worth to have a test for it? E.g. https://github.com/bitcoin/bitcoin/pull/36899/changes
We could say that not every mutant is supposed to be killed, many of them are equivalent or unproductive (e.g. mutating log stuff), and people are encouraged to first submit to mutanthub before writing tests (then we can point as useful or not useful). What do you think?
ACK
6fda4bec3dDone
Force-pushed addressing https://github.com/bitcoin/bitcoin/pull/36900#discussion_r4603772024
re-ACK 3b46919
reACK
3b46919fd5ACK
3b46919fd5feel free to ignore this:
🐙 This pull request conflicts with the target branch and needs rebase.