leaves12138 opened a new pull request, #9283: URL: https://github.com/apache/paimon/pull/9283
## What changed - Generate `META-INF/paimon-core.commit-id` while building `paimon-core`. - Record the full Git `HEAD` in that resource, with `UNKNOWN` as a non-failing fallback when Git metadata is unavailable. - Append the first 10 characters of the commit ID to generated commit users while preserving the existing random UUID. - Keep the original commit-user format when the resource is missing or contains `UNKNOWN`. ## Why Including build provenance in generated commit users makes it easier to identify which Paimon build produced a commit without sacrificing the UUID-based uniqueness of commit users. The resulting formats are: - `<uuid>_<commit-id>` - `<configured-prefix>_<uuid>_<commit-id>` ## Validation - `mvn -pl paimon-core -am -DfailIfNoTests=false -DwildcardSuites=none -Dtest=CoreOptionsTest#testCreateCommitUser package` - Re-ran `CoreOptionsTest#testCreateCommitUser` with unavailable Git metadata to validate the `UNKNOWN` fallback. -- 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]
