ci: Set TEST_RUNNER_PORT_MIN in test-each after cirrus runner switch
What changed, and why it matters
This is a routine continuous-integration (CI) configuration tweak. It changes the starting port number used by Bitcoin Core's test runner in one GitHub Actions workflow, so it no longer overlaps with a port used by the Cirrus CI cache service. There is no security vulnerability here—just a port-collision avoidance fix for automated testing infrastructure.
No security action required. Treat as a normal CI maintenance patch.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit adds an environment variable TEST_RUNNER_PORT_MIN set to 14000 in the ‘test-each’ CI job. The change is needed because the job may run on Cirrus Labs runners, whose CIRRUS_CACHE_HOST listens on port 12321. The previous default test-runner port range apparently started low enough to risk colliding with 12321, so the minimum is raised to 14000. This is an infrastructure-only change affecting CI port allocation; it does not modify Bitcoin Core node code, consensus logic, networking, wallet, or any user-facing behavior.
Changed components
.github/workflows/ci.ymltest-each CI jobInspect captured patch +2 / −0
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0c2e52d2..9cae0987 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -59,6 +59,8 @@ jobs:
name: 'test ancestor commits'
needs: runners
runs-on: ${{ needs.runners.outputs.provider == 'cirrus' && 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-md' || 'ubuntu-24.04' }}
+ env:
+ TEST_RUNNER_PORT_MIN: "14000" # Use a larger port, to avoid colliding with CIRRUS_CACHE_HOST port 12321.
if: github.event_name == 'pull_request' && github.event.pull_request.commits != 1
timeout-minutes: 360 # Use maximum time, see https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes.
steps:
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.