lynx009 opened a new pull request, #4030:
URL: https://github.com/apache/hertzbeat/pull/4030

   ## Summary
   This PR introduces support for **GraalVM Native Image** building to the 
project.
   The goal is to enable compiling the Java application into a standalone 
native executable, which will significantly improve startup time and reduce 
memory footprint.
   
   Current status: **Work In Progress (WIP)**.
   - [x] Initial GraalVM configuration added.
   - [ ] Local build verification.
   - [ ] CI/CD pipeline integration (Pending).
   
   ## Key Changes
   - Added GraalVM Native Build tools/plugins to `pom.xml` / `build.gradle`.
   - Added necessary metadata/configuration files (e.g., `reflect-config.json`) 
for native compilation.
   - *(Upcoming)*: GitHub Actions/GitLab CI workflow for automated native 
builds.
   
   ## Task List (Track Progress)
   - [x] **Config**: Add native image dependencies and build plugins.
   - [ ] **Verify**: Successfully build native image locally (`mvn -Pnative 
package` or similar).
   - [ ] **CI**: Create CI/CD workflow to automate the native build process.
   - [ ] **Test**: Verify the native executable runs correctly in the CI 
environment.
   
   ## Notes for Reviewers
   This is a draft PR to track the implementation of Native Image support.
   Please note that the **CI configuration is currently missing** and will be 
added in subsequent commits.
   I am currently debugging the local native build process.
   
   ## Summary
   This PR introduces support for **GraalVM Native Image** building to the 
project.
   The goal is to enable compiling the Java application into a standalone 
native executable, which will significantly improve startup time and reduce 
memory footprint.
   
   Current status: **Work In Progress (WIP)**.
   - [x] Initial GraalVM configuration added.
   - [ ] Local build verification.
   - [ ] CI/CD pipeline integration (Pending).
   
   ## Key Changes
   - Added GraalVM Native Build tools/plugins to `pom.xml` / `build.gradle`.
   - Added necessary metadata/configuration files (e.g., `reflect-config.json`) 
for native compilation.
   - *(Upcoming)*: GitHub Actions/GitLab CI workflow for automated native 
builds.
   
   ## Task List (Track Progress)
   - [x] **Config**: Add native image dependencies and build plugins.
   - [ ] **Verify**: Successfully build native image locally (`mvn -Pnative 
package` or similar).
   - [ ] **CI**: Create CI/CD workflow to automate the native build process.
   - [ ] **Test**: Verify the native executable runs correctly in the CI 
environment.
   
   ## Notes for Reviewers
   This is a draft PR to track the implementation of Native Image support.
   Please note that the **CI configuration is currently missing** and will be 
added in subsequent commits.
   I am currently debugging the local native build process.
   
   ## Related Issues
   - Fixes #(If there is an issue number written here)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to