Resolve Dispatcher jobs whose final state could not be confirmed #25449
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 447 lines diff across 5 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.365
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #25449"
general
weight: 0.35
HadhemiDD
What does this PR do?
When the GitHub jobs API cannot confirm a job's final state, the gatherer decides the job's status from the workflow run's conclusion and the job's artifacts. Before, it raised and failed the whole batch.
A job is unconfirmed when it has no workflow job, or its workflow job was last seen before it completed:
| Run concluded | Job's artifacts | Job status |
|---|---|---|
| success | any | success. Missing artifacts are reported as today. |
| not success | failed or errored tests | failure |
| not success | none, or no failed tests | inconclusive |
A successful run clears the job because GitHub concludes a run
successonly when no job failed, andtest-batch.ymlhas no job-levelcontinue-on-error. When the run failed, passing JUnit files don't rule out a failure outside the tests, such as in setup._reconcile_final_jobskeeps every job with its last-known state instead of dropping the ones not seen completed.Status.INCONCLUSIVEis new. Batch and run status still come from the workflow run, so the aggregate commit status is unchanged.How the PR comment renders it
Inconclusive is only possible in a batch whose workflow failed, so in practice the heading is the existing failure heading:
The totals count it separately, and the progress bar draws it in the pending colour, never as passed:
The batch strip uses the workflow's conclusion, except when nothing in the batch confirmed a failure and a job is inconclusive:
| Finished batch | Chip | Batch note |
|---|---|---|
| Workflow succeeded |
✅| none || Workflow failed, a job confirmed a failure (with or without inconclusive jobs) |
❌| none || Workflow failed, no job failed, at least one job inconclusive |
⚠️| none. The inconclusive row accounts for the batch. || Workflow failed, every job confirmed passed |
❌|failed outside its integration test jobs(unchanged) |Each integration with an inconclusive environment is listed. It's
❌if any of its environments confirmed a failure,⚠️otherwise, and the environment's row saysinconclusive:An inconclusive environment without artifacts also carries the collection error:
· inconclusive · artifacts could not be downloaded.Motivation
In run 36720344210, every
GET /actions/runs/36720344210/jobsreturned 502 after 13:21:38. The last three jobs finished between 13:21:48 and 13:22:30, and the run concludedsuccess. The runner kept its last snapshot, where those jobs were still in progress, then dropped them in the final reconcile. The gatherer raisedNo workflow job correlated for 'IBM ACE (py3.13-12)'and the whole batch failed, although every job was green and its artifacts were downloaded.Review checklist (to be filled by reviewers)
qa/requiredif this PR needs QA validation, orqa/skip-qaif it does not. Exactly one of the two is required.backport/<branch-name>label to the PR and it will automatically open a backport PR once this one is merged