Skip to content

test: smoke CI run on release_v4.8.1#6

Open
warku123 wants to merge 2 commits into
release_v4.8.1from
feat/test-smoke-test
Open

test: smoke CI run on release_v4.8.1#6
warku123 wants to merge 2 commits into
release_v4.8.1from
feat/test-smoke-test

Conversation

@warku123
Copy link
Copy Markdown
Owner

@warku123 warku123 commented May 12, 2026

Summary

Commits

  • ci: add Integration Smoke workflow
  • ci: drop --smoke flag to run full single-node test suite

Test plan

  • Integration Test workflow passes on this PR

Summary by cubic

Adds an Integration Test GitHub Actions workflow for release_v4.8.1. Runs the full single-node suite to verify CI and confirm the --es event-plugin boot issue does not affect this release.

  • New Features
    • Adds .github/workflows/integration-test.yml triggered on PRs to develop and release_**.
    • Builds FullNode.jar via Gradle, runs tests in Docker warku123/java-tron-integration-test:latest.
    • Pins runtime to JDK 8 for node, keeps Gradle tooling on JDK 17.
    • Executes the full integration suite (not --smoke), uploads test artifacts, timeout set to 45 min with concurrency control.

Written for commit c48db83. Summary will update on new commits.

warku123 added 2 commits May 12, 2026 16:33
Pulls warku123/java-tron-integration-test image and runs --smoke against
the FullNode.jar built from the PR. Triggers on PR to develop/release_**.
Test reports are extracted from the container and uploaded as artifacts.

JAVA_HOME is pinned to JDK 8 inside the container so FullNode runs on the
production runtime (a few smoke tests assert java.version starts with
"1.8"); JAVA_HOME_17 keeps Gradle on JDK 17 for the test tooling.
The smoke target (~74 cases) is a strict subset of the default `test`
target (~hundreds of cases). Smoke gives a 5-min PR signal but misses
regressions outside the @tag("smoke") classes. Switch to running the
full single-node suite (~12-15 min) so PRs catch more issues.

Renames job/container/artifact from 'smoke' to 'integration' to reflect
the wider scope. Bumps timeout from 30 to 45 minutes.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 12, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 52b9bcc2-7236-4068-a93c-27c1980b5e3d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/test-smoke-test

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 1 file

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".github/workflows/integration-test.yml">

<violation number="1" location=".github/workflows/integration-test.yml:45">
P2: Avoid using the mutable `latest` Docker tag in CI. Pin the integration test image to an immutable digest so runs are reproducible and not exposed to silent upstream image changes.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

run: ./gradlew clean build -x test --no-daemon

- name: Pull integration-test image
run: docker pull warku123/java-tron-integration-test:latest
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2: Avoid using the mutable latest Docker tag in CI. Pin the integration test image to an immutable digest so runs are reproducible and not exposed to silent upstream image changes.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At .github/workflows/integration-test.yml, line 45:

<comment>Avoid using the mutable `latest` Docker tag in CI. Pin the integration test image to an immutable digest so runs are reproducible and not exposed to silent upstream image changes.</comment>

<file context>
@@ -0,0 +1,78 @@
+        run: ./gradlew clean build -x test --no-daemon
+
+      - name: Pull integration-test image
+        run: docker pull warku123/java-tron-integration-test:latest
+
+      - name: Run integration tests
</file context>

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.

1 participant