Repository navigation
Fix scanner decoding and ARM byte compare - #61
Merged
Merged
Conversation
4 of 14 tasks
djh58
approved these changes
Jun 30, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fixes two CI failure modes from Nightly CI:
Qbit-Org/qbit-libbitcoinpqcv0.3.0tag and verify the vendored tree directly against the recordedgit-subtree-splittree.-Werror=stringop-overreadpath in the P2MR wallet signing retry test by replacingstd::vector<unsigned char>relational comparison with an explicit byte comparator.Testing
Focused checks run:
python3 -m py_compile ci/scanners/run-scanners.py0x9dpython3 ci/scanners/run-scanners.py --mode nightly --scanner vendored_inventory --source . --output-root .context/ci-run-28426727155/main-vendored-inventory --fail-policy infra-onlygit diff --checkc++ -std=c++20compile smoke for the byte comparatorTarget Branch
mainor a maintainer-requested release branch such as0.1.x.Risk / Review Notes
Notes:
This is limited to CI scanner robustness/provenance validation and test-only wallet code.
Docs / Process Impact
Choose exactly one:
libbitcoinpqc Subtree Checklist (if
src/libbitcoinpqcchanged)qbit-subtreewas refreshed with prune.contrib/devtools/update-libbitcoinpqc-subtree.sh.test/lint/git-subtree-check.sh -r src/libbitcoinpqcpasses locally.doc/subtrees/libbitcoinpqc.md.Not applicable: this PR does not change
src/libbitcoinpqc. It changes the scanner’s provenance check to match the existing documented public tag workflow.Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.Note
Low Risk
Changes are limited to CI scanner robustness/provenance validation and test-only wallet ordering; no consensus, wallet production, or crypto behavior changes.
Overview
Addresses Nightly CI failures by making scanner subprocess capture tolerate invalid UTF-8 in stdout/stderr, and by aligning vendored libbitcoinpqc provenance with the documented public
Qbit-Org/qbit-libbitcoinpqcv0.3.0tag instead of the old privatelibbitcoinpqc-qbit/ curated-branch workflow.The vendored inventory scanner now pins
refs/tags/v0.3.0, drops the curated ref when unused, prefers peeled tag commits ingit ls-remote, and checks thatHEAD:src/libbitcoinpqcmatches the recordedgit-subtree-splittree instead of invokinggit-subtree-check.sh. README text no longer describes token-based upstream reads as the primary path.In
wallet_tests, P2MR leaf ordering uses an explicit byte-by-byte comparator instead ofstd::vectorrelational operators to avoid GCC 13 armhf-Werror=stringop-overread.Reviewed by Cursor Bugbot for commit 9d0028a. Bugbot is set up for automated code reviews on this repo. Configure here.