Skip to content

<CI>(workflow): Codecov BASE-on-push + fix macOS openssl / bump Ubuntu runner#960

Open
kyonRay wants to merge 2 commits into
FISCO-BCOS:release-3.9.0from
kyonRay:ci/codecov-base-on-push
Open

<CI>(workflow): Codecov BASE-on-push + fix macOS openssl / bump Ubuntu runner#960
kyonRay wants to merge 2 commits into
FISCO-BCOS:release-3.9.0from
kyonRay:ci/codecov-base-on-push

Conversation

@kyonRay

@kyonRay kyonRay commented Jun 23, 2026

Copy link
Copy Markdown
Member

What

CI/workflow maintenance, two parts:

1. Codecov BASE report on push

Codecov warned Please upload report for BASE (...) and left the +/- column empty on PRs. Root cause: the workflow only ran on pull_request/release, so merges (which are pushes) never uploaded coverage for the base commit. Add a push trigger for master/release-* and gate the heavy integration build job to non-push events, so a push runs only the lightweight coverage job and produces a BASE report. After this lands, future PRs show a proper coverage delta.

2. Fix broken runners

  • macOS hard-failed at dependency install: Homebrew removed the openssl@1.1 formula, so brew install openssl@1.1 exits 1 (No available formula with the name "openssl@1.1"). Switch to openssl@3 — the SDK native works on OpenSSL 3.x (the Ubuntu job already runs the full integration suite with libssl 3.x).
  • Ubuntu runner bumped ubuntu-22.04ubuntu-latest (build matrix + coverage job).

Note: the remaining Ubuntu integration failures are pre-existing flaky tests (node/chain state, e.g. -4008 / Call address error / EIP-1559 decode), unrelated to the runner version. The build job is continue-on-error, so it does not block merge.

No source code changes.

🤖 Generated with Claude Code

Codecov could not show a coverage delta on PRs because the base branch never
had a coverage report: the workflow only ran on pull_request/release, so merges
(which are pushes) never uploaded coverage for the base commit (hence the
'missing base commit' warning and the empty +/- column).

Add a push trigger for master and release-* and gate the heavy integration
'build' job to non-push events, so a push to a main branch runs only the
lightweight 'coverage' job and uploads a BASE report. PR/release behavior is
unchanged. After this lands, future PRs show a proper coverage delta.
Copilot AI review requested due to automatic review settings June 23, 2026 09:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release-3.9.0@401fb58). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff                @@
##             release-3.9.0     #960   +/-   ##
================================================
  Coverage                 ?   52.08%           
  Complexity               ?     4040           
================================================
  Files                    ?      430           
  Lines                    ?    17592           
  Branches                 ?     1962           
================================================
  Hits                     ?     9163           
  Misses                   ?     7699           
  Partials                 ?      730           
Flag Coverage Δ
unittest 52.08% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The macOS build hard-failed at the dependency step: Homebrew removed the
openssl@1.1 formula ('No available formula with the name openssl@1.1'), so
'brew install openssl@1.1' exits 1. Switch to openssl@3 — the SDK native runs
fine against OpenSSL 3.x (the Ubuntu job already executes the full integration
suite with libssl 3.x). Also bump the Ubuntu runner from ubuntu-22.04 to
ubuntu-latest (build matrix + coverage job).

Note: the remaining Ubuntu integration failures are pre-existing flaky tests
(node/chain state, e.g. -4008 / 'Call address error'), unrelated to the runner
version; the build job is continue-on-error so it does not block merge.
@sonarqubecloud

Copy link
Copy Markdown

@kyonRay kyonRay changed the title <CI>(workflow): upload Codecov BASE report on push to main branches <CI>(workflow): Codecov BASE-on-push + fix macOS openssl / bump Ubuntu runner Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants