You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs/source/conf.py built BLOB with /blob/master/, though the
default branch is main. RootFileLinks writes its links at BLOB,
and btclib-org/.github's check_included_links.py, which the docs job
runs from v2026.11.2 on, builds its own with /blob/main/, so it could
not see a link this tree left at /blob/master/. BLOB and the comment
above it now say main, in the wording of btclib-org/ecc's conf.py.
On 2cf9cbae with this commit, sphinx-build -n -W -b html docs/source docs/build/html succeeds. Its pages hold 28 links at btclib-org/btclib/blob/main/ and none at /blob/master/, the docs
job's href="#./ grep finds nothing, and check_included_links.py at
the commit docs.yml pins exits 0 on them.
Checks
uv run pre-commit run --all-files is clean (ruff, mypy strict,
markdownlint, the copyright notice, uv.lock)
uv run pytest passes
I have read and understood every line of this change, and can
answer a review of it without the model
Anything the reviewer should know
I ran everything on Windows with Python 3.13, since pyyaml does not
build under 3.15 here, in a worktree checked out with LF line endings
so that mixed-line-ending reads the files as committed.
docs/source/conf.py built BLOB with /blob/master/, though the default
branch is main. RootFileLinks writes its links at BLOB, and
btclib-org/.github's check_included_links.py builds its own with
/blob/main/, so it could not see a link this tree left at /blob/master/.
BLOB now names main, and so does the comment above it, in the wording
of btclib-org/ecc's conf.py.
Signed-off-by: dodoshell <326978213+dodoshell@users.noreply.github.com>
btclib-org/btclib#2912: Updates the pinned documentation checker workflow used to verify repository file links.
Suggested reviewers:fametrano
Merge Risk: Minimal · up to 7ae38
Generated documentation links now target the main branch as intended, with no merge-blocking risk identified.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title accurately describes the change and names issue #2911 in the required parenthesized format. (github.com)
Description check
The description directly explains the BLOB branch update, its purpose, verification steps, and linked issue.
Linked Issues check
Issue #2911 has one coding requirement: conf.py's BLOB must name main. The whole-PR diff (merge base 2cf9cba to head 7ae389c) changes docs/source/conf.py line 264 from `f"{...['repository']}…
Out of Scope Changes check
The whole-PR diff contains one file and one two-line hunk: the BLOB assignment and its comment in docs/source/conf.py. Both lines implement the objective of #2911. No unrelated files or changes ar…
Full details: Linked Issues check
Explanation
Issue #2911 has one coding requirement: conf.py's BLOB must name main. The whole-PR diff (merge base 2cf9cba to head 7ae389c) changes docs/source/conf.py line 264 from f"{...['repository']}/blob/master/" to f"{...['repository']}/blob/main/". BLOB is the base for RootFileLinks (per #2911), so the requirement is met. The comment above BLOB also changes from master to main, which matches the issue's intent. The PR's sphinx-build, grep, and check_included_links.py results are author-reported and were not re-run here. They do not change this verdict, because the code change alone satisfies the stated completion criterion.
Full details: Out of Scope Changes check
Explanation
The whole-PR diff contains one file and one two-line hunk: the BLOB assignment and its comment in docs/source/conf.py. Both lines implement the objective of #2911. No unrelated files or changes are present in the diff.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Reviewing files that changed from the base of the PR and between 2cf9cba and 7ae389c.
Files selected for processing: 1
docs/source/conf.py
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
This waits on the human's approval: the review bot does not run on a pull request from a fork, so the approval is not one the session gives on its own.
Two local reviews cleared 7ae389c, the second in another client, with no findings. Every check passed or was skipped, no thread is open, and the diff touches only docs/source/conf.py.
Two local reviews cleared this head with no findings, the second in another client, with no rebase between; main has moved by one landing that touches no file of this diff, and the merge is clean (tree 2c6bf0b8). The review bot does not run on a pull request from a fork, so there is no ACK. Every check passed or was skipped. The first reviewer built the docs from the head and ran check_included_links.py at 7b85b373 on them (exit 0), and showed with a planted regression that the checker misses every included-file link under the old master BLOB and catches them under main. Not checked: a Windows docs build.
Thank you: this landed as fd6f3c6 and closed ISS #2911.
Your change matters more than its two lines suggest. The docs check in btclib-org/.github looks for links to files the docs already include, at the /blob/main/ address; with BLOB on master it could not see any of this tree's. One of our reviewers planted that mistake in a build: under the old BLOB the check passed while missing every such link, and under yours it caught them all. So your fix is what makes that check work here. Nothing needed adding: two local reviews found no change to ask for, and your body's measurements held when we ran them again.
If you would like another, ISS btclib-org/btclib-wallet#487 adds three fixed bip322 signatures that rust-bitcoin's crate checks, and ISS btclib-org/benchmarks#522 keeps a run's commit and lock hash out of detect-secrets.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
docs/source/conf.pybuiltBLOBwith/blob/master/, though thedefault branch is
main.RootFileLinkswrites its links atBLOB,and btclib-org/.github's
check_included_links.py, which the docs jobruns from v2026.11.2 on, builds its own with
/blob/main/, so it couldnot see a link this tree left at
/blob/master/.BLOBand the commentabove it now say
main, in the wording of btclib-org/ecc'sconf.py.Closes #2911
How it was verified
On
2cf9cbaewith this commit,sphinx-build -n -W -b html docs/source docs/build/htmlsucceeds. Its pages hold 28 links atbtclib-org/btclib/blob/main/and none at/blob/master/, the docsjob's
href="#./grep finds nothing, andcheck_included_links.pyatthe commit
docs.ymlpins exits 0 on them.Checks
uv run pre-commit run --all-filesis clean (ruff, mypy strict,markdownlint, the copyright notice,
uv.lock)uv run pytestpassesanswer a review of it without the model
Anything the reviewer should know
I ran everything on Windows with Python 3.13, since pyyaml does not
build under 3.15 here, in a worktree checked out with LF line endings
so that
mixed-line-endingreads the files as committed.