Skip to content

Commit 120e7eb

Browse files
bloveclaude
andauthored
ci: add examples-chat-e2e-summary aggregator job (#523)
PR #521 sharded the singular `examples/chat — e2e` job into a 4-way matrix. The singular check name is no longer reported, which would break any external reference (status badges, branch protection rules, deploy gates that read by name). This mirrors the existing `cockpit-e2e-summary` pattern (lines 334-345 — fan-in over the cockpit matrix): a no-op aggregator named `examples/chat — e2e` that gates on the matrix's aggregated result. Restores the singular check name without undoing the matrix. needs: [ci-scope, examples-chat-e2e] — ci-scope must be in needs for the if-guard to access its outputs (GitHub Actions only exposes needs.<job>.outputs for jobs in the explicit needs list). Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 84d8e3e commit 120e7eb

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,20 @@ jobs:
274274
examples/chat/angular/e2e/test-results/
275275
retention-days: 7
276276

277+
examples-chat-e2e-summary:
278+
name: "examples/chat — e2e"
279+
needs: [ci-scope, examples-chat-e2e]
280+
if: always() && (github.event_name == 'push' || needs.ci-scope.outputs.examples_chat == 'true')
281+
runs-on: ubuntu-latest
282+
steps:
283+
- name: Aggregate matrix outcome
284+
run: |
285+
if [[ "${{ needs.examples-chat-e2e.result }}" != "success" ]]; then
286+
echo "Matrix outcome: ${{ needs.examples-chat-e2e.result }}"
287+
exit 1
288+
fi
289+
echo "All examples-chat-e2e matrix expansions passed."
290+
277291
cockpit-e2e:
278292
name: "Cockpit — e2e (${{ matrix.cap.angular }})"
279293
needs: ci-scope

0 commit comments

Comments
 (0)