From c6940f1455c663f9119e7f39c23beb8bd7e7a11f Mon Sep 17 00:00:00 2001 From: kyonRay Date: Tue, 23 Jun 2026 17:47:30 +0800 Subject: [PATCH 1/2] (workflow): upload Codecov BASE report on push to main branches 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. --- .github/workflows/workflow.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 98169593c..8a0e05d3c 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,5 +1,9 @@ name: Java-SDK GitHub Actions on: + push: + branches: + - master + - 'release-*' pull_request: release: types: [ published, created, edited ] @@ -10,6 +14,10 @@ env: jobs: build: name: build + # Heavy integration build runs on PRs and releases only; pushes to the main + # branches run just the lightweight 'coverage' job below (to upload a Codecov + # BASE report so PRs can show a coverage delta). + if: github.event_name != 'push' runs-on: ${{ matrix.os }} continue-on-error: true strategy: From 13b0c88d700061aa0d2b9cc392c8a31c86d6104f Mon Sep 17 00:00:00 2001 From: kyonRay Date: Wed, 24 Jun 2026 15:14:21 +0800 Subject: [PATCH 2/2] (workflow): fix macOS openssl dep and bump Ubuntu runner to latest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .github/workflows/workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 8a0e05d3c..bda4fd6c3 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -23,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ ubuntu-22.04, windows-2025, macos-latest ] + os: [ ubuntu-latest, windows-2025, macos-latest ] steps: - uses: actions/checkout@v3 with: @@ -49,7 +49,7 @@ jobs: - name: install macOS dependencies if: runner.os == 'macOS' run: | - brew install openssl@1.1 ccache + brew install openssl@3 ccache - name: Set up JDK 1.8.0.382 uses: actions/setup-java@v3 with: @@ -64,7 +64,7 @@ jobs: coverage: name: coverage - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest continue-on-error: true steps: - uses: actions/checkout@v3