From 1f2ba3c5cf7e35b58bddcacfaa0554442b97fd31 Mon Sep 17 00:00:00 2001 From: Brian Love Date: Thu, 21 May 2026 13:56:08 -0700 Subject: [PATCH] ci: add examples-chat-e2e-summary aggregator job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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..outputs for jobs in the explicit needs list). Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81ec9786..e4e3407e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -274,6 +274,20 @@ jobs: examples/chat/angular/e2e/test-results/ retention-days: 7 + examples-chat-e2e-summary: + name: "examples/chat — e2e" + needs: [ci-scope, examples-chat-e2e] + if: always() && (github.event_name == 'push' || needs.ci-scope.outputs.examples_chat == 'true') + runs-on: ubuntu-latest + steps: + - name: Aggregate matrix outcome + run: | + if [[ "${{ needs.examples-chat-e2e.result }}" != "success" ]]; then + echo "Matrix outcome: ${{ needs.examples-chat-e2e.result }}" + exit 1 + fi + echo "All examples-chat-e2e matrix expansions passed." + cockpit-e2e: name: "Cockpit — e2e (${{ matrix.cap.angular }})" needs: ci-scope