From ed3750460cc606a01e5be4fed7678cb3ed199d6b Mon Sep 17 00:00:00 2001 From: warku123 Date: Wed, 5 Aug 2026 15:28:38 +0800 Subject: [PATCH 1/3] ci(integration): run single-node suite as smoke only, disable multinode CI Both integration suites are currently unstable per the integration-test team, so gate PRs on the smoke subset only: - single-node: pass --smoke to run only the smoke test subset - multinode: comment out push/pull_request triggers, keep workflow_dispatch for manual runs --- .../workflows/integration-test-multinode.yml | 19 +++++++++++-------- .../integration-test-single-node.yml | 4 +++- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/integration-test-multinode.yml b/.github/workflows/integration-test-multinode.yml index fadfc2168d2..e549f2cf974 100644 --- a/.github/workflows/integration-test-multinode.yml +++ b/.github/workflows/integration-test-multinode.yml @@ -1,14 +1,17 @@ name: Integration Test Multinode (Full) on: - push: - branches: [ 'master', 'release_**' ] - pull_request: - branches: [ 'develop', 'release_**' ] - types: [ opened, synchronize, reopened ] - paths-ignore: [ '**/*.md', '.gitignore', '**/.gitignore', '.editorconfig', - '.gitattributes', 'docs/**', 'CHANGELOG', '.github/ISSUE_TEMPLATE/**', - '.github/PULL_REQUEST_TEMPLATE/**', '.github/CODEOWNERS' ] + # Disabled: the multinode integration suite is currently unstable (see the + # integration-test team). Re-enable the push/pull_request triggers below + # once the suite is fixed. + # push: + # branches: [ 'master', 'release_**' ] + # pull_request: + # branches: [ 'develop', 'release_**' ] + # types: [ opened, synchronize, reopened ] + # paths-ignore: [ '**/*.md', '.gitignore', '**/.gitignore', '.editorconfig', + # '.gitattributes', 'docs/**', 'CHANGELOG', '.github/ISSUE_TEMPLATE/**', + # '.github/PULL_REQUEST_TEMPLATE/**', '.github/CODEOWNERS' ] workflow_dispatch: concurrency: diff --git a/.github/workflows/integration-test-single-node.yml b/.github/workflows/integration-test-single-node.yml index b0c10247a7f..c07b968244f 100644 --- a/.github/workflows/integration-test-single-node.yml +++ b/.github/workflows/integration-test-single-node.yml @@ -58,7 +58,9 @@ jobs: -e JAVA_HOME_17=/opt/java/openjdk \ -v "${{ github.workspace }}/build/libs/FullNode.jar:/javatron/FullNode.jar:ro" \ troninfra/troninfra-ci:latest \ - --clean + # Smoke only: the full single-node suite is currently unstable + # (per the integration-test team), so run the smoke subset. + --clean --smoke - name: Extract test reports from container if: always() From e3eecec624a6675df6ab0bd76b43d08f4af56839 Mon Sep 17 00:00:00 2001 From: warku123 Date: Wed, 5 Aug 2026 15:32:28 +0800 Subject: [PATCH 2/3] ci(integration): rename single-node workflow/steps to Smoke --- .github/workflows/integration-test-single-node.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/integration-test-single-node.yml b/.github/workflows/integration-test-single-node.yml index c07b968244f..5d54ef7490f 100644 --- a/.github/workflows/integration-test-single-node.yml +++ b/.github/workflows/integration-test-single-node.yml @@ -1,4 +1,4 @@ -name: Integration Test Single Node (Full) +name: Integration Test Single Node (Smoke) on: push: @@ -17,7 +17,7 @@ concurrency: jobs: integration: - name: Integration Test Single Node Full (JDK 8 / x86_64) + name: Integration Test Single Node Smoke (JDK 8 / x86_64) runs-on: ubuntu-latest timeout-minutes: 45 @@ -46,7 +46,7 @@ jobs: - name: Pull integration-test image run: docker pull troninfra/troninfra-ci:latest - - name: Run integration tests + - name: Run integration smoke tests run: | # JAVA_HOME=JDK 8 so FullNode runs on the same JVM family as # production (a few assertions check `java.version` starts with @@ -62,7 +62,7 @@ jobs: # (per the integration-test team), so run the smoke subset. --clean --smoke - - name: Extract test reports from container + - name: Extract smoke test reports from container if: always() run: | mkdir -p integration-reports @@ -73,10 +73,10 @@ jobs: docker cp integration-test:/app/node/data/logs/tron.log integration-reports/ 2>/dev/null || true docker rm -f integration-test 2>/dev/null || true - - name: Upload test reports + - name: Upload smoke test reports if: always() uses: actions/upload-artifact@v6 with: - name: integration-test-report + name: integration-smoke-test-report path: integration-reports/ if-no-files-found: warn From d1a71adea09e9e2c124102c4650526be80aace0d Mon Sep 17 00:00:00 2001 From: warku123 Date: Wed, 5 Aug 2026 15:58:17 +0800 Subject: [PATCH 3/3] ci(integration): fix --smoke arg swallowed by inline comment The shell comment lines between the image name and --clean --smoke caused the args to be dropped, so the container ran the default full :test suite (1691 tests) instead of smokeTest. Move the rationale into the step name/comments above the command so the args are passed cleanly. --- .github/workflows/integration-test-single-node.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/integration-test-single-node.yml b/.github/workflows/integration-test-single-node.yml index 5d54ef7490f..3c56843c799 100644 --- a/.github/workflows/integration-test-single-node.yml +++ b/.github/workflows/integration-test-single-node.yml @@ -58,8 +58,6 @@ jobs: -e JAVA_HOME_17=/opt/java/openjdk \ -v "${{ github.workspace }}/build/libs/FullNode.jar:/javatron/FullNode.jar:ro" \ troninfra/troninfra-ci:latest \ - # Smoke only: the full single-node suite is currently unstable - # (per the integration-test team), so run the smoke subset. --clean --smoke - name: Extract smoke test reports from container