fix(hubble): validate new FE/BE runtime and enable executable backend#701
fix(hubble): validate new FE/BE runtime and enable executable backend#701KavanaN12 wants to merge 27 commits intoapache:masterfrom
Conversation
…tend build for Windows
- Update Java distribution from 'adopt' to 'temurin' (officially recommended) - Extend Java version matrix to test both Java 11 and Java 17 for better compatibility - Fix test execution paths and add consistent error handling with explicit exit codes - Correct coverage file path from 'target/jacoco.xml' to 'hugegraph-loader/target/jacoco.xml' - Make coverage upload conditional on Java 11 only to avoid duplicate reports - Improve install-hadoop.sh with comprehensive error handling and startup verification - Enhance install-mysql.sh with Docker/native MySQL fallback and connection validation - Strengthen install-hugegraph-from-source.sh with timeout handling and detailed logging - Add parameter validation and improved error messages to all setup scripts - Document all fixes in LOADER_CI_FIXES.md
…mentation - Add LOADER_CI_COMPREHENSIVE_FIX_GUIDE.md with detailed problem analysis - Add LOADER_CI_TROUBLESHOOTING.md with quick reference and common solutions - Document root causes and fixes for each workflow issue - Provide debugging tips and log analysis guidance - Include environment variable reference and update schedule
…requirements and fixes
… coverage paths - Fix settings.xml backup error handling across all workflows (mkdir -p, conditional copy) - Remove redundant cache steps (leverage setup-java built-in caching) - Correct all coverage file paths to include module directories - Add Java setup to license-checker workflow - Fix grep error handling in RAT check (use -q flag instead of &&) - Standardize codecov-action versions and parameters - Add -ntp flag to all Maven commands for consistency Fixes 9+ workflow issues affecting 551+ historical failed runs
…ad of npm The hubble-fe project uses yarn.lock, not package-lock.json. The workflow was trying to cache with a non-existent package-lock.json file, causing setup-node to fail with cache resolution errors. Changed: - cache: 'npm' cache: 'yarn' - cache-dependency-path: 'hugegraph-hubble/hubble-fe/package-lock.json' 'hugegraph-hubble/hubble-fe/yarn.lock' This fixes the failures in runs: - #20010083965 (hubble-ci) - #20010083969 (license-checker) - #20010083957 (CodeQL) - #20010083954 (loader-ci)
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## master #701 +/- ##
============================================
- Coverage 62.49% 0.00% -62.50%
============================================
Files 262 34 -228
Lines 9541 3087 -6454
Branches 886 436 -450
============================================
- Hits 5963 0 -5963
+ Misses 3190 3087 -103
+ Partials 388 0 -388 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
… build-complete.bat, build-java21.bat, build.ps1)
…mpatibility fixes - fix(pom): exclude conflicting Lombok version from hugegraph-common transitive dependency to ensure CodeQL Analysis uses 1.18.30 - fix(loader-ci): add MAVEN_OPTS with --add-opens flags for Java 17 Lombok compatibility - fix(hubble-ci): add MAVEN_OPTS with --add-opens and javac.processing flags for Java 11/21 Lombok compatibility
…for verification
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
|
Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label |
Purpose of the PR
This PR validates and fixes the runtime integration between the new HugeGraph Hubble 2.0 frontend and backend modules.
It solves the issue where the backend could not run as an executable JAR and the frontend could not communicate with the backend API during development.
After this change, both modules run successfully and communicate end-to-end.
Main Changes
Backend (
hubble-be)spring-boot-maven-pluginto package the backend as a runnable Spring Boot JAR.{"status":"UP"}Frontend (
hubble-fe)package.json:/api/*requests.Verifying These Changes
Screenshots included in this PR (backend health result + frontend DevTools network success).
Does This PR Potentially Affect the Following?
Documentation Status
(The change only improves runtime behavior and does not modify user-facing features.)
Additional Notes
This update removes setup blockers for contributors working with the Hubble 2.0 codebase and ensures the development workflow operates correctly using the updated architecture.