Merge branch 'pipelines/run-20261112-1047-notify-only-on-unexpected-run-failures-64a9'

This commit is contained in:
2026-11-12 11:24:12 +00:00
15 changed files with 184 additions and 21 deletions
@@ -98,6 +98,12 @@ void main() {
),
AttentionKind.failed,
);
expect(
attentionKindForRun(
run({'status': 'failed', 'failure_kind': 'expected'}),
),
isNull,
);
});
test(
@@ -151,6 +157,26 @@ void main() {
attentionDetail(AttentionKind.failed, run({'diagnostic': null})),
'Run failed',
);
expect(
attentionDetail(
AttentionKind.failed,
run({
'diagnostic': 'generic diagnostic',
'failure_reason': 'Provider authentication failed',
}),
),
'Provider authentication failed',
);
expect(
attentionDetail(
AttentionKind.failed,
run({
'diagnostic': 'generic diagnostic',
'failure_reason': ' ',
}),
),
'generic diagnostic',
);
},
);