Skip to content

Update Gradle command used for integration tests - #1311

Merged
msridhar merged 2 commits into
masterfrom
tweak-integration-tests
Oct 15, 2025
Merged

msridhar merged 2 commits into
masterfrom
tweak-integration-tests

Conversation

@msridhar

@msridhar msridhar commented Oct 15, 2025 •

Copy link
Copy Markdown
Contributor

assemble should work better than excluding tasks as we did before. See also ben-manes/caffeine#1925

Summary by CodeRabbit

  • Chores
    • Streamlined the continuous integration build to assemble release artifacts more efficiently, reducing pipeline time and improving consistency of produced binaries.
    • Excludes test execution and documentation generation in this build step to focus on artifact creation, aligning with release packaging needs.
    • No changes to user-facing functionality; this update enhances reliability and speed of delivery for downloadable builds.

@coderabbitai

coderabbitai Bot commented Oct 15, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

This PR updates the CI workflow at .github/workflows/continuous-integration.yml. The per-project build step now invokes Gradle with the init-script and the assemble task, replacing the previous build invocation that excluded tests and javadoc. Specifically, it changes:

  • From: ./gradlew --init-script use-snapshot.gradle.kts build -x test -x javadoc
  • To: ./gradlew --init-script use-snapshot.gradle.kts assemble
    No exported or public APIs are altered.

Possibly related PRs

Suggested reviewers

  • yuxincs

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title clearly and concisely summarizes the primary change of updating the Gradle command used in the integration tests workflow and aligns with the actual modifications in the CI configuration file.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch tweak-integration-tests

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.

@codecov

codecov Bot commented Oct 15, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.49%. Comparing base (60c89f5) to head (9df7668).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1311   +/-   ##
=========================================
  Coverage     88.49%   88.49%           
  Complexity     2479     2479           
=========================================
  Files            93       93           
  Lines          8228     8228           
  Branches       1623     1623           
=========================================
  Hits           7281     7281           
  Misses          474      474           
  Partials        473      473           

☔ View full report in Codecov by Sentry.
📢 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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
.github/workflows/continuous-integration.yml (1)

91-91: Add --stacktrace for easier CI debugging

Minor ergonomics: include --stacktrace to get actionable failures in logs.

Apply:

-./gradlew --init-script use-snapshot.gradle.kts assemble
+./gradlew --init-script use-snapshot.gradle.kts --stacktrace assemble
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 60c89f5 and 9df7668.

📒 Files selected for processing (1)
  • .github/workflows/continuous-integration.yml (1 hunks)
🔇 Additional comments (1)
.github/workflows/continuous-integration.yml (1)

91-91: Switch to assemble looks appropriate for compile-only integration checks

This better matches the goal: ensure external projects compile against the snapshot without running tests/javadoc. One caveat: assemble skips verification tasks that might have still run under build -x test -x javadoc in some repos; that’s likely desired, but worth noting.

If you want extra confidence, please confirm that at the root of caffeine and spring-framework, assemble successfully builds all relevant subprojects (no custom wiring hiding compile under build only). You can verify by checking their Gradle docs/README or prior CI logs for gradlew assemble runs.

@msridhar
msridhar merged commit 7e2a06f into master Oct 15, 2025
@msridhar
msridhar deleted the tweak-integration-tests branch October 15, 2025 16:49
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