Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/ci-basictests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,9 @@
echo "No coverage report was produced; skipping Codecov upload."

- name: Upload coverage to Codecov
id: codecov_1
if: ${{ !cancelled() && steps.cov.outputs.found == '1' }}
continue-on-error: true
Comment thread
coderabbitai[bot] marked this conversation as resolved.
uses: codecov/codecov-action@v4
with:
codecov_yml_path: ${{ github.workspace }}/proxysql/codecov.yml
Expand All @@ -334,6 +336,55 @@
fail_ci_if_error: false
verbose: true

- name: Wait before Codecov retry 1
if: ${{ !cancelled() && steps.codecov_1.outcome == 'failure' }}
run: sleep 15

- name: Upload coverage to Codecov (retry 1)
id: codecov_2
if: ${{ !cancelled() && steps.codecov_1.outcome == 'failure' }}
continue-on-error: true
uses: codecov/codecov-action@v4
with:
codecov_yml_path: ${{ github.workspace }}/proxysql/codecov.yml
override_commit: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
files: proxysql/ci_infra_logs/ci-basictests/coverage-report/ci-basictests.info
flags: integration-tests
name: tap-basictests-coverage
use_oidc: true
disable_search: true
plugins: noop
root_dir: proxysql
disable_file_fixes: true
fail_ci_if_error: false
verbose: true

- name: Wait before Codecov retry 2
if: ${{ !cancelled() && steps.codecov_2.outcome == 'failure' }}
run: sleep 45

- name: Upload coverage to Codecov (retry 2)
id: codecov_3
if: ${{ !cancelled() && steps.codecov_2.outcome == 'failure' }}
continue-on-error: true
uses: codecov/codecov-action@v4

Check failure on line 370 in .github/workflows/ci-basictests.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_mzmmTLlJq96xp6whw&open=AZ_mzmmTLlJq96xp6whw&pullRequest=6012
with:
codecov_yml_path: ${{ github.workspace }}/proxysql/codecov.yml
override_commit: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
files: proxysql/ci_infra_logs/ci-basictests/coverage-report/ci-basictests.info
flags: integration-tests
name: tap-basictests-coverage
use_oidc: true
disable_search: true
plugins: noop
root_dir: proxysql
disable_file_fixes: true
fail_ci_if_error: false
verbose: true

- name: Report Codecov upload failure
if: ${{ !cancelled() && steps.codecov_3.outcome == 'failure' }}
run: echo "::warning::Codecov upload failed after 3 attempts; tests were unaffected."
- uses: LouisBrunner/checks-action@v2.0.0
if: always()
with:
Expand Down
53 changes: 52 additions & 1 deletion .github/workflows/ci-legacy-clickhouse-g1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@
echo "No coverage report was produced; skipping Codecov upload."

- name: Upload coverage to Codecov
id: codecov_1
if: ${{ !cancelled() && hashFiles('proxysql/ci_infra_logs/**/coverage-report/*.info') != '' }}
continue-on-error: true
# Send the LCOV .info file fastcov produces in run-tests-isolated.bash
# (under proxysql/ci_infra_logs/ci-legacy-clickhouse-g1/coverage-report/) to
# Codecov. The proxysql binary was built WITHGCOV=1 (-tap-genai-gcov
Expand All @@ -251,7 +254,6 @@
# whole TAP group; `!cancelled()` so coverage uploads even when
# the test step itself reported a failure (partial coverage is
# still useful diagnostically).
if: ${{ !cancelled() && hashFiles('proxysql/ci_infra_logs/**/coverage-report/*.info') != '' }}
uses: codecov/codecov-action@v4
with:
codecov_yml_path: ${{ github.workspace }}/proxysql/codecov.yml
Expand Down Expand Up @@ -281,6 +283,55 @@
fail_ci_if_error: false
verbose: true

- name: Wait before Codecov retry 1
if: ${{ !cancelled() && steps.codecov_1.outcome == 'failure' }}
run: sleep 15

- name: Upload coverage to Codecov (retry 1)
id: codecov_2
if: ${{ !cancelled() && steps.codecov_1.outcome == 'failure' }}
continue-on-error: true
uses: codecov/codecov-action@v4

Check failure on line 294 in .github/workflows/ci-legacy-clickhouse-g1.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_mzmkxLlJq96xp6whb&open=AZ_mzmkxLlJq96xp6whb&pullRequest=6012
with:
codecov_yml_path: ${{ github.workspace }}/proxysql/codecov.yml
override_commit: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
files: proxysql/ci_infra_logs/ci-legacy-clickhouse-g1/coverage-report/ci-legacy-clickhouse-g1.info
flags: integration-tests
name: tap-legacy-clickhouse-g1-coverage
use_oidc: true
disable_search: true
plugins: noop
root_dir: proxysql
disable_file_fixes: true
fail_ci_if_error: false
verbose: true

- name: Wait before Codecov retry 2
if: ${{ !cancelled() && steps.codecov_2.outcome == 'failure' }}
run: sleep 45

- name: Upload coverage to Codecov (retry 2)
id: codecov_3
if: ${{ !cancelled() && steps.codecov_2.outcome == 'failure' }}
continue-on-error: true
uses: codecov/codecov-action@v4
with:
codecov_yml_path: ${{ github.workspace }}/proxysql/codecov.yml
override_commit: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
files: proxysql/ci_infra_logs/ci-legacy-clickhouse-g1/coverage-report/ci-legacy-clickhouse-g1.info
flags: integration-tests
name: tap-legacy-clickhouse-g1-coverage
use_oidc: true
disable_search: true
plugins: noop
root_dir: proxysql
disable_file_fixes: true
fail_ci_if_error: false
verbose: true

- name: Report Codecov upload failure
if: ${{ !cancelled() && steps.codecov_3.outcome == 'failure' }}
run: echo "::warning::Codecov upload failed after 3 attempts; tests were unaffected."
- uses: LouisBrunner/checks-action@v2.0.0
continue-on-error: true
if: ${{ always() && steps.checks.outputs.check_id != '' }}
Expand Down
53 changes: 52 additions & 1 deletion .github/workflows/ci-legacy-g1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,9 @@
echo "No coverage report was produced; skipping Codecov upload."

- name: Upload coverage to Codecov
id: codecov_1
if: ${{ !cancelled() && hashFiles('proxysql/ci_infra_logs/**/coverage-report/*.info') != '' }}
continue-on-error: true
# Send the LCOV .info file fastcov produces in run-tests-isolated.bash
# (under proxysql/ci_infra_logs/ci-legacy-g1/coverage-report/) to
# Codecov. The proxysql binary was built WITHGCOV=1 (-tap-genai-gcov
Expand All @@ -318,7 +321,6 @@
# whole TAP group; `!cancelled()` so coverage uploads even when
# the test step itself reported a failure (partial coverage is
# still useful diagnostically).
if: ${{ !cancelled() && hashFiles('proxysql/ci_infra_logs/**/coverage-report/*.info') != '' }}
uses: codecov/codecov-action@v4
with:
codecov_yml_path: ${{ github.workspace }}/proxysql/codecov.yml
Expand Down Expand Up @@ -348,6 +350,55 @@
fail_ci_if_error: false
verbose: true

- name: Wait before Codecov retry 1
if: ${{ !cancelled() && steps.codecov_1.outcome == 'failure' }}
run: sleep 15

- name: Upload coverage to Codecov (retry 1)
id: codecov_2
if: ${{ !cancelled() && steps.codecov_1.outcome == 'failure' }}
continue-on-error: true
uses: codecov/codecov-action@v4

Check failure on line 361 in .github/workflows/ci-legacy-g1.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_mzmlaLlJq96xp6whj&open=AZ_mzmlaLlJq96xp6whj&pullRequest=6012
with:
codecov_yml_path: ${{ github.workspace }}/proxysql/codecov.yml
override_commit: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
files: proxysql/ci_infra_logs/ci-legacy-g1/coverage-report/ci-legacy-g1.info
flags: integration-tests
name: tap-legacy-g1-coverage
use_oidc: true
disable_search: true
plugins: noop
root_dir: proxysql
disable_file_fixes: true
fail_ci_if_error: false
verbose: true

- name: Wait before Codecov retry 2
if: ${{ !cancelled() && steps.codecov_2.outcome == 'failure' }}
run: sleep 45

- name: Upload coverage to Codecov (retry 2)
id: codecov_3
if: ${{ !cancelled() && steps.codecov_2.outcome == 'failure' }}
continue-on-error: true
uses: codecov/codecov-action@v4
with:
codecov_yml_path: ${{ github.workspace }}/proxysql/codecov.yml
override_commit: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
files: proxysql/ci_infra_logs/ci-legacy-g1/coverage-report/ci-legacy-g1.info
flags: integration-tests
name: tap-legacy-g1-coverage
use_oidc: true
disable_search: true
plugins: noop
root_dir: proxysql
disable_file_fixes: true
fail_ci_if_error: false
verbose: true

- name: Report Codecov upload failure
if: ${{ !cancelled() && steps.codecov_3.outcome == 'failure' }}
run: echo "::warning::Codecov upload failed after 3 attempts; tests were unaffected."
- uses: LouisBrunner/checks-action@v2.0.0
continue-on-error: true
if: ${{ always() && steps.checks.outputs.check_id != '' }}
Expand Down
53 changes: 52 additions & 1 deletion .github/workflows/ci-legacy-g2-genai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ jobs:
echo "No coverage report was produced; skipping Codecov upload."

- name: Upload coverage to Codecov
id: codecov_1
if: ${{ !cancelled() && hashFiles('proxysql/ci_infra_logs/**/coverage-report/*.info') != '' }}
continue-on-error: true
# Send the LCOV .info file fastcov produces in run-tests-isolated.bash
# (under proxysql/ci_infra_logs/ci-legacy-g2-genai/coverage-report/)
# to Codecov. This is REAL ProxySQL coverage -- the proxysql binary
Expand All @@ -266,7 +269,6 @@ jobs:
# whole TAP group; `!cancelled()` so coverage uploads even when
# the test step itself reported a failure (partial coverage is
# still useful diagnostically).
if: ${{ !cancelled() && hashFiles('proxysql/ci_infra_logs/**/coverage-report/*.info') != '' }}
uses: codecov/codecov-action@v4
with:
codecov_yml_path: ${{ github.workspace }}/proxysql/codecov.yml
Expand Down Expand Up @@ -296,6 +298,55 @@ jobs:
fail_ci_if_error: false
verbose: true

- name: Wait before Codecov retry 1
if: ${{ !cancelled() && steps.codecov_1.outcome == 'failure' }}
run: sleep 15

- name: Upload coverage to Codecov (retry 1)
id: codecov_2
if: ${{ !cancelled() && steps.codecov_1.outcome == 'failure' }}
continue-on-error: true
uses: codecov/codecov-action@v4
with:
codecov_yml_path: ${{ github.workspace }}/proxysql/codecov.yml
override_commit: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
files: proxysql/ci_infra_logs/ci-legacy-g2-genai/coverage-report/ci-legacy-g2-genai.info
flags: integration-tests
name: tap-legacy-g2-genai-coverage
use_oidc: true
disable_search: true
plugins: noop
root_dir: proxysql
disable_file_fixes: true
fail_ci_if_error: false
verbose: true

- name: Wait before Codecov retry 2
if: ${{ !cancelled() && steps.codecov_2.outcome == 'failure' }}
run: sleep 45

- name: Upload coverage to Codecov (retry 2)
id: codecov_3
if: ${{ !cancelled() && steps.codecov_2.outcome == 'failure' }}
continue-on-error: true
uses: codecov/codecov-action@v4
with:
codecov_yml_path: ${{ github.workspace }}/proxysql/codecov.yml
override_commit: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
files: proxysql/ci_infra_logs/ci-legacy-g2-genai/coverage-report/ci-legacy-g2-genai.info
flags: integration-tests
name: tap-legacy-g2-genai-coverage
use_oidc: true
disable_search: true
plugins: noop
root_dir: proxysql
disable_file_fixes: true
fail_ci_if_error: false
verbose: true

- name: Report Codecov upload failure
if: ${{ !cancelled() && steps.codecov_3.outcome == 'failure' }}
run: echo "::warning::Codecov upload failed after 3 attempts; tests were unaffected."
- uses: LouisBrunner/checks-action@v2.0.0
continue-on-error: true
if: ${{ always() && steps.checks.outputs.check_id != '' }}
Expand Down
51 changes: 51 additions & 0 deletions .github/workflows/ci-legacy-g2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,9 @@
echo "No coverage report was produced; skipping Codecov upload."

- name: Upload coverage to Codecov
id: codecov_1
if: ${{ !cancelled() && steps.cov.outputs.found == '1' }}
continue-on-error: true
uses: codecov/codecov-action@v4
with:
codecov_yml_path: ${{ github.workspace }}/proxysql/codecov.yml
Expand All @@ -322,6 +324,55 @@
fail_ci_if_error: false
verbose: true

- name: Wait before Codecov retry 1
if: ${{ !cancelled() && steps.codecov_1.outcome == 'failure' }}
run: sleep 15

- name: Upload coverage to Codecov (retry 1)
id: codecov_2
if: ${{ !cancelled() && steps.codecov_1.outcome == 'failure' }}
continue-on-error: true
uses: codecov/codecov-action@v4

Check failure on line 335 in .github/workflows/ci-legacy-g2.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_mzmkdLlJq96xp6whZ&open=AZ_mzmkdLlJq96xp6whZ&pullRequest=6012
with:
codecov_yml_path: ${{ github.workspace }}/proxysql/codecov.yml
override_commit: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
files: proxysql/ci_infra_logs/ci-legacy-g2/coverage-report/ci-legacy-g2.info
flags: integration-tests
name: tap-legacy-g2-coverage
use_oidc: true
disable_search: true
plugins: noop
root_dir: proxysql
disable_file_fixes: true
fail_ci_if_error: false
verbose: true

- name: Wait before Codecov retry 2
if: ${{ !cancelled() && steps.codecov_2.outcome == 'failure' }}
run: sleep 45

- name: Upload coverage to Codecov (retry 2)
id: codecov_3
if: ${{ !cancelled() && steps.codecov_2.outcome == 'failure' }}
continue-on-error: true
uses: codecov/codecov-action@v4
with:
codecov_yml_path: ${{ github.workspace }}/proxysql/codecov.yml
override_commit: ${{ inputs.trigger && fromJson(inputs.trigger).event.workflow_run.head_sha || github.sha }}
files: proxysql/ci_infra_logs/ci-legacy-g2/coverage-report/ci-legacy-g2.info
flags: integration-tests
name: tap-legacy-g2-coverage
use_oidc: true
disable_search: true
plugins: noop
root_dir: proxysql
disable_file_fixes: true
fail_ci_if_error: false
verbose: true

- name: Report Codecov upload failure
if: ${{ !cancelled() && steps.codecov_3.outcome == 'failure' }}
run: echo "::warning::Codecov upload failed after 3 attempts; tests were unaffected."
- uses: LouisBrunner/checks-action@v2.0.0
if: always()
with:
Expand Down
Loading