ci: reusable tests #724
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 323 lines diff across 4 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.346
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #724"
general
weight: 0.35
facchinm
Summary
Reworks the core CI test flow so that failures are reported where they happen, only the affected jobs run, and test results become reusable outside
package_core.Fixes
Reusable tests
extra/ci_get_build_info.sh, shared by all workflows.test_core.yml, which can also test the published core of a commit (e.g. for periodic runs).known_example_issues.txtand fail early, so PR checks turn red as soon as a board has unexpected errors.Per-job dependencies
mark-job-completedaction.verify-coreno longer calls the GitHub API, and job names no longer matter.Testing
Run 40490513187 shows the new behavior with injected failures (a temporary failure in
build-envforunoqand a permanent build error ongiga).In attempt 1,
Build for unoqfailed on the simulated "Restore build environment" error.The gating left out the
zephyr_unoqandzephyrpackages and their unoq and ventunoq tests.Both GIGA test jobs failed early on the deliberate
#error, andverify-corefailed the run."Re-run infrastructure failures" recognized the unoq failure as an infrastructure one and started attempt 2.
In attempt 2, only what was affected re-ran:
Build for unoq,Select packages,Package zephyrandPackage zephyr_unoq, the four unoq and ventunoq test jobs (all passed), and the two still-failing GIGA tests.zephyr_contrib,zephyr_mainand the other boards' tests were skipped as already passed.Attempt 2 ended
failedonly because of the GIGA compile error, so the auto re-run concluded "no infrastructure failure found" and didn't start a third attempt.With every board built successfully, "Clean up intermediates" also ran in attempt 2.