Skip to content

Conversation

@kirill-stepanishin
Copy link
Contributor

@kirill-stepanishin kirill-stepanishin commented Jan 15, 2026

Integrates Java driver examples into CI to ensure they remain functional in future releases. Examples execute automatically in CI after driver integration tests and fail the build if broken.

Changes Made

CI Integration:

  • Added example execution steps to gremlin-driver CI job in build-test.yml
  • Examples run as scripts after driver integration tests complete
  • Utilizes cached gremlin-server docker image with modern graph configuration

Example Updates:

  • Changed examples from embedded graphs to remote connections for consistency with other GLVs
  • Made server URLs and ports configurable via environment variables
  • Added configurable vertex labels to isolate test data

Build Integration:

  • Integrated examples into gremlin-driver Maven build
  • Removed standalone examples/pom.xml and compiler exclusion
  • Added Maven Shade plugin execution to create gremlin-driver-examples-shaded.jar
  • Examples now compile and package automatically with driver build

@codecov-commenter
Copy link

codecov-commenter commented Jan 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.51%. Comparing base (9b46b67) to head (aaed0f5).
⚠️ Report is 408 commits behind head on 3.7-dev.

Additional details and impacted files
@@              Coverage Diff              @@
##             3.7-dev    #3294      +/-   ##
=============================================
- Coverage      76.14%   75.51%   -0.63%     
+ Complexity     13152    13147       -5     
=============================================
  Files           1084     1092       +8     
  Lines          65160    67101    +1941     
  Branches        7285     7389     +104     
=============================================
+ Hits           49616    50673    +1057     
- Misses         12839    13807     +968     
+ Partials        2705     2621      -84     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kirill-stepanishin kirill-stepanishin force-pushed the java-examples-integration branch from e0d381f to d9acf2b Compare January 16, 2026 22:40
@kirill-stepanishin kirill-stepanishin force-pushed the java-examples-integration branch from d9acf2b to e74b7ec Compare January 16, 2026 23:17
@kirill-stepanishin kirill-stepanishin force-pushed the java-examples-integration branch 2 times, most recently from aaed0f5 to 381a10e Compare January 19, 2026 19:45
@kirill-stepanishin kirill-stepanishin marked this pull request as ready for review January 19, 2026 22:52
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