mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 19:44:37 +00:00
doc: Clarify that scripted-diffs should be reviewed #37074
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!37074
Loading…
Reference in a new issue
No description provided.
Delete branch "2612-doc-scripted-diffs"
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?
Reviewers may close one (or both) eyes when they see a scripted-diff, but the intention is that such scripts increase confidence in the change, because the change can be reviewed from two angles: The script and the diff.
So clarify that, which should close https://github.com/bitcoin/bitcoin/issues/35275.
Also, compress the two paragraphs explaining that
git grep -lshould be used into a single one.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.I found no actionable issues in this static review.
Reviewed:
fa5ea9e4f2e8· Review report · Previous reportspermalink
Concept ACK
I find the text a bit hard to read though: I don't see it as two angles, but as reviewing both the tool and the result manually.
I also often add a negative check at the beginning of the script for replaces, to make sure the target name doesn't exist yet. We could add it here as an option.
🚧 At least one of the CI tasks failed.
Task
macOS native: https://github.com/bitcoin/bitcoin/actions/runs/46964270677/job/143760651550LLM reason (✨ experimental): intermittent_network: Homebrew dependency downloads failed because the runner could not resolve ghcr.io.
Hints
Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:
Possibly due to a silent merge conflict (the changes in this pull request being
incompatible with the current code in the target branch). If so, make sure to rebase on the latest
commit of the target branch.
A sanitizer issue, which can only be found by compiling with the sanitizer and running the
affected test.
Intermittent network issues can occur; re-run CI for now, and report the issue if they keep happening.
A functional or integration test failure may be intermittent or unrelated to this pull request.
If no dedicated issue thread exists, create a new one to track it.
Leave a comment here, if you need help tracking down a confusing failure.
happy to push any other wording, if you have an inline suggestion. I just mean "two angles", or "two lenses" or "two differing points of view".
They seem fine, but I am not sure if they should be generally recommended, when compile or runtime errors already cover them. The only application could be when there are possible shadowing concerns.
LGTM
For #35275 I think the key line that has been added is "Reviewers should reject a script which is too complicated".
ACK
fa5ea9e4f2lgtm ACK
fa5ea9e4f2ACK
fa5ea9e4f2