-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
We are migrating to the new, more concise metadata format. This move is essential to support GraalVM 25, which provides critical fixes for the native-image agent and improves metadata precision.
Key Drivers & Benefits
This migration provides two main advantages:
- Format Efficiency: The new format is more concise and reduces the number of required entries.
- GraalVM 25 Support: This is the primary driver. Upgrading allows us to leverage:
- Fixes for numerous
native-imageagent issues. - The new native agent, which significantly improves the precision of the required metadata.
- Fixes for numerous
Implementation Plan
The migration will be executed as follows:
- The repository will be bumped to version
1.0.0, which will include thereachability-metadata-schema.jsonfile in the release. - The previous metadata version will be maintained on a
0.3.xbranch to support any potential future legacy releases.
The native build tools will dispatch to the metadata release in the following way:
- GraalVM distribution include the
reachability-metadata-schema.jsonhigher than the repo => use the latest repo version - GraalVM distribution has the
reachability-metadata-schema.jsonlower than the repo => exit and warn about updating - GraalVM distribution has no
reachability-metadata-schema.json=> use version0.3.x
Necessary fixes before the 1.0.0 release:
From the Discussion with the Community
- Do we want a special case for 25.0.0 and 25.0.1 that don't have
reachability-metadata-schema.json? No, no need to rush. - Do we want to keep the forking mechanism for the future? Not for now. We can treat this as a separate request.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request