From d027f4538a07bdad63730608a0bc2a6936738507 Mon Sep 17 00:00:00 2001 From: Lena Solarova Date: Fri, 24 Apr 2026 09:18:39 +0200 Subject: [PATCH 1/2] fix: always upload coverage to Codecov even if threshold check fails The Codecov upload step was gated after the coverage threshold check. When a PR fails the threshold, the upload never ran, so Codecov posted no comments and showed no checks on those PRs. Co-Authored-By: Claude Sonnet 4.6 (1M context) --- .github/workflows/gotests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gotests.yaml b/.github/workflows/gotests.yaml index 8286439..27bf41c 100644 --- a/.github/workflows/gotests.yaml +++ b/.github/workflows/gotests.yaml @@ -56,7 +56,7 @@ jobs: run: ./processing-tools/go-checkers/check_coverage.sh - name: Push coverage report to Codecov - if: inputs.coverage == true + if: inputs.coverage == true && always() uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} From 525bb0b7cc29fd8f2e481f5392bf78371f0313fc Mon Sep 17 00:00:00 2001 From: Lena Solarova Date: Fri, 24 Apr 2026 09:41:45 +0200 Subject: [PATCH 2/2] fix: make coverage threshold non-blocking, always upload to Codecov Coverage check now uses continue-on-error so the job does not fail on threshold violations. Codecov always receives the report regardless of coverage level, giving visibility without blocking merges. Co-Authored-By: Claude Sonnet 4.6 (1M context) --- .github/workflows/gotests.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gotests.yaml b/.github/workflows/gotests.yaml index 27bf41c..3f6d978 100644 --- a/.github/workflows/gotests.yaml +++ b/.github/workflows/gotests.yaml @@ -51,12 +51,13 @@ jobs: - name: Retrieve code coverage if: inputs.coverage == true + continue-on-error: true env: COV_THRESHOLD: ${{ inputs.coverage_threshold }} run: ./processing-tools/go-checkers/check_coverage.sh - name: Push coverage report to Codecov - if: inputs.coverage == true && always() + if: inputs.coverage == true uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }}