From f5b2a8619732cafe3726e50da87941ce9b96274c Mon Sep 17 00:00:00 2001 From: Gustavo Lira Date: Mon, 4 May 2026 16:36:52 -0300 Subject: [PATCH 1/2] feat: add E2E coverage flags for overlay cross-repo uploads Add 6 e2e-* flags to codecov.yml for workspaces that have E2E tests in rhdh-plugin-export-overlays. These flags receive Istanbul coverage from instrumented dynamic plugin builds running on real RHDH/K8s deployments. Flags: e2e-adoption-insights, e2e-global-header, e2e-homepage, e2e-quickstart, e2e-scorecard, e2e-theme They inherit carryforward and status rules from default_rules. Coverage is uploaded with --slug and --sha from source.json, attributing it to the correct commit in this repo. Ref: RHIDP-13411 Co-Authored-By: Claude Opus 4.6 --- codecov.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/codecov.yml b/codecov.yml index 19294957fe..ea38f2a9cc 100644 --- a/codecov.yml +++ b/codecov.yml @@ -135,3 +135,24 @@ flag_management: - name: x2a paths: - workspaces/x2a/ + # E2E coverage flags — cross-repo uploads from rhdh-plugin-export-overlays + # Overlay E2E tests run instrumented plugins on a real RHDH/K8s deployment + # and upload Istanbul coverage attributed to this repo. See: RHIDP-13411 + - name: e2e-adoption-insights + paths: + - workspaces/adoption-insights/ + - name: e2e-global-header + paths: + - workspaces/global-header/ + - name: e2e-homepage + paths: + - workspaces/homepage/ + - name: e2e-quickstart + paths: + - workspaces/quickstart/ + - name: e2e-scorecard + paths: + - workspaces/scorecard/ + - name: e2e-theme + paths: + - workspaces/theme/ From 87c2c4159783b0cc676cfcbc2ddc3b5fe466b85c Mon Sep 17 00:00:00 2001 From: Gustavo Lira Date: Tue, 5 May 2026 14:09:30 -0300 Subject: [PATCH 2/2] refactor(coverage): sort E2E flags alphabetically and condense comment Move e2e-* flags to their correct alphabetical position in individual_flags (between dcm and extensions) instead of appending at the end, maintaining consistent ordering. Condense the 3-line comment block to a single line with Jira reference. Co-Authored-By: Claude Opus 4.6 --- codecov.yml | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/codecov.yml b/codecov.yml index ea38f2a9cc..63a3452ac9 100644 --- a/codecov.yml +++ b/codecov.yml @@ -90,6 +90,25 @@ flag_management: - name: dcm paths: - workspaces/dcm/ + # E2E coverage flags — cross-repo uploads from overlay E2E pipeline (RHIDP-13411) + - name: e2e-adoption-insights + paths: + - workspaces/adoption-insights/ + - name: e2e-global-header + paths: + - workspaces/global-header/ + - name: e2e-homepage + paths: + - workspaces/homepage/ + - name: e2e-quickstart + paths: + - workspaces/quickstart/ + - name: e2e-scorecard + paths: + - workspaces/scorecard/ + - name: e2e-theme + paths: + - workspaces/theme/ - name: extensions paths: - workspaces/extensions/ @@ -135,24 +154,3 @@ flag_management: - name: x2a paths: - workspaces/x2a/ - # E2E coverage flags — cross-repo uploads from rhdh-plugin-export-overlays - # Overlay E2E tests run instrumented plugins on a real RHDH/K8s deployment - # and upload Istanbul coverage attributed to this repo. See: RHIDP-13411 - - name: e2e-adoption-insights - paths: - - workspaces/adoption-insights/ - - name: e2e-global-header - paths: - - workspaces/global-header/ - - name: e2e-homepage - paths: - - workspaces/homepage/ - - name: e2e-quickstart - paths: - - workspaces/quickstart/ - - name: e2e-scorecard - paths: - - workspaces/scorecard/ - - name: e2e-theme - paths: - - workspaces/theme/