ci: Print verbose Windows CI build failure
What changed, and why it matters
This change only affects how Bitcoin Core's automated Windows build system reports failures. It makes the CI (continuous integration) script retry a failed parallel build with a single-threaded verbose build to get clearer logs. There is no change to Bitcoin's networking, consensus, wallet, or any code users run.
No security action needed. This is a normal CI maintenance change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch modifies .github/ci-windows.py to run the CMake build with check=False and, if it fails, print a message and rerun with -j1 –verbose. This is purely a CI debugging/logging improvement. The build command itself is unchanged; only failure handling and diagnostic output are added.
Changed components
.github/ci-windows.pyInspect captured patch +3 / −3
diff --git a/.github/ci-windows.py b/.github/ci-windows.py
index 5d28ed0b..d99ba2d9 100755
--- a/.github/ci-windows.py
+++ b/.github/ci-windows.py
@@ -61,12 +61,12 @@ def build():
"cmake",
"--build",
"build",
- "-j",
- str(os.process_cpu_count()),
"--config",
"Release",
]
- run(command)
+ if run(command + ["-j", str(os.process_cpu_count())], check=False).returncode != 0:
+ print("Build failure. Verbose build follows.")
+ run(command + ["-j1", "--verbose"])
def main():
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.