Repository navigation
Fix nightly CI runner and scanner setup - #71
Merged
Merged
Conversation
kiwidream
force-pushed
the
repair-nightly-ci
branch
from
July 8, 2026 14:40
75bb6d6 to
b9554e1
Compare
kiwidream
force-pushed
the
repair-nightly-ci
branch
from
July 8, 2026 15:41
b9554e1 to
b1d8252
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b1d8252. Configure here.
kiwidream
force-pushed
the
repair-nightly-ci
branch
3 times, most recently
from
July 8, 2026 17:00
28320a0 to
a4c08e5
Compare
kiwidream
force-pushed
the
repair-nightly-ci
branch
from
July 8, 2026 17:13
a4c08e5 to
c5b3f60
Compare
This was referenced Sep 15, 2026
Closed
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 the nightly CI failures seen in the scheduled run by tightening runner identity and scanner setup:
RUNNER_NAMEin CI container/env-file names so ARM matrix shards sharing a Docker daemon do not collidecargo-auditfrom RustSec release assets so the scanner is not blocked by the runner Rust toolchainTesting
Focused checks run:
bash -n ci/scanners/install-scanner-tools.sh ci/test/02_run_container.shpython3 -m py_compile ci/test/02_run_container.py ci/scanners/run-scanners.pypython3 ci/scanners/test_run_scanners.pydocker run --rm -v "$PWD":/repo -w /repo rhysd/actionlint:latest .github/workflows/ci-nightly-heavy.ymlpython3 ci/scanners/run-scanners.py --mode nightly --scanner gitleaks --scanner cargo_audit --scanner clang_static_analyzer --source . --source-commit "$(git rev-parse HEAD)" --freeze-commit "$(git rev-parse HEAD)" --history-diff-base-ref origin/main --output-root .context/scanner-local-main-pr-after --skip-build-scanners --fail-policy infra-and-secretsgit diff --checkTarget Branch
mainor a maintainer-requested release branch such as0.1.x.Risk / Review Notes
Notes: CI-only change. Scheduled workflows that checkout a release branch will use the workflow changes from
main; script/config changes must also be present on the checked-out branch for those steps to consume them directly.Docs / Process Impact
Choose exactly one:
libbitcoinpqc Subtree Checklist (if
src/libbitcoinpqcchanged)Qbit-Org/qbit-libbitcoinpqc.contrib/devtools/update-libbitcoinpqc-subtree.sh.test/lint/libbitcoinpqc-subtree-check.shpasses locally.contrib/devtools/update-libbitcoinpqc-subtree.shis intentional and matchesdoc/subtrees/libbitcoinpqc.md.Note
Low Risk
CI harness and scanner installer only; Gitleaks allowlist is path- and regex-scoped to one test-vector file.
Overview
Fixes scheduled nightly CI failures by making container names unique per self-hosted runner (hash of
RUNNER_NAME, with truncation soci-ip6net-+ name stays within Docker’s 63-character limit) instead of relying only on run/job, which collide when matrix jobs shareGITHUB_JOBon one Docker daemon.Scanner setup is tightened: managed tools are taken from the scanner cache (not stale global binaries),
cargo-auditis bumped to 0.22.2 and installed from RustSec release assets (avoiding runner Rust toolchain issues), Python scanner tools are upgraded on install, and zizmor < 1.24.0 is skipped with a clear gap message. Scheduled nightly runs now defaultSKIP_BUILD_SCANNERS=true; manual dispatch still respects the workflow input.Adds a narrow
gitleaks-allowlist.tomlfor deterministic hexkeygen_entropy/secret_keyfields inp2mr_datapqchash_vectors.jsonwhile keeping default Gitleaks rules elsewhere.Reviewed by Cursor Bugbot for commit c5b3f60. Bugbot is set up for automated code reviews on this repo. Configure here.
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.