From 478e010504cfa31d0639f214cdb252a8f2114472 Mon Sep 17 00:00:00 2001 From: Bryan Cox Date: Fri, 29 May 2026 14:16:26 -0400 Subject: [PATCH] ci(codecov): add carryforward flags to stabilize project coverage checks Unit tests run in 5 shards that upload coverage separately. Without carryforward, Codecov recomputes the project total after each shard arrives and posts intermediate statuses. The last shard to arrive determines pass/fail, causing coverage to swing between ~40% and ~47% on the same code depending on timing. Adding carryforward: true to each flag ensures Codecov uses last-known data for flags that haven't uploaded yet, stabilizing the total from the first status update. Co-Authored-By: Claude Opus 4.6 --- codecov.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/codecov.yml b/codecov.yml index 31d7ec7e77f5..aba2e920dfae 100644 --- a/codecov.yml +++ b/codecov.yml @@ -3,6 +3,18 @@ codecov: notify: wait_for_ci: false +flags: + cpo-hostedcontrolplane: + carryforward: true + cpo-other: + carryforward: true + hypershift-operator: + carryforward: true + cmd-support: + carryforward: true + other: + carryforward: true + ignore: - "test/**" - "hack/**"