handlers: Fix skipped check name for renamed workflows #238
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.30) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.30 · 96 lines diff across 1 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
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.274
Real PR Conversation Timeline
1 comments
"Review active on #238"
general
weight: 0.35
nebril
When Ariane skips a workflow, it creates a skipped check run named after
the workflow. It got that name from the workflows API, which returns the
name from the default branch. If a workflow is renamed only on the
default branch, a skipped check on another branch gets the new name,
while the required status checks and real runs on that branch use the
old one. The required check then never reports and blocks the PR.
This commit reads the name from the workflow file at the ref the
workflow is dispatched on, which is the file a real run uses. That is
the PR branch, or the base branch for PRs from forks. The lookup of
skipped dependencies in getWorkflowCheck now reads the name the same
way, so both agree on it.
Signed-off-by: Chris Tarazi <chris@isovalent.com>