[CI] Fix overwritten and missing build diagnostics in job result artifacts #12721
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.36) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 184 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.312
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #12721"
general
weight: 0.35
Jacobfaib
Description
Each job's
zz_jobs-<job_id>artifact carries a few build diagnostics. Three were lost or wrong:build.ninjaon Windows was a dependency sub-build's file. All matches were copied into one directory, so same-named files overwrote each other..ninja_logwas never uploaded, becauseactions/upload-artifactskips hidden files.ctest.logfiles, and one overwrote the other.This PR packs the diagnostics into
diagnostics.tar.gzinside the same artifact, so each file keeps its path and name.successandsccache_stats.jsonstay where theworkflow-resultsaction reads them. No artifact is added.The sccache logs were loose files in the artifact before and are now in the archive.
CI passes, and the archives from Linux and Windows jobs hold the expected files.
Side effect: the results job's
dos2unixpass now skips the diagnostics. It took 12 s in this PR's run, against 66–175 s in six recent full PR runs, which saves about a minute per PR run.Checklist
🤖 Generated with Claude Code