Repository navigation
refactor(plugins): unify persistence reporting layout and deprecate legacy GraalVM output property - #111
Merged
yannickebongue merged 2 commits intoOct 29, 2026
Conversation
…single directory
- Converge `lintNamedQueries` and `validatePersistenceSchema` execution metrics reports under the standardized `${buildDir}/reports/persistence/` directory tree layout.
- Remove redundant telemetry logging overhead from the GraalVM metadata task to maintain a lean, high-performance task execution graph.
- Update Spock functional specification paths to assert metrics data boundaries against the new corporate namespace location.
…eflectConfigFile - Introduce the modern `reflectConfigFile` property annotated with `@OutputFile` inside the `GenerateJPAGraalVMMetadata` task configuration. - Deprecate the legacy `outputFile` property, migrating its runtime state tracking boundary to `@Internal` to eliminate overlapping validation outputs exceptions. - Configure lazy, bi-directional property convention assignments in the task constructor wrapper to safeguard full backward compatibility. - Update `JakartaPersistencePlugin` wiring layouts to target the new non-deprecated configuration fields natively.
4 tasks
|
|
yannickebongue
deleted the
feature/unify-structured-json-execution-reporting
branch
October 29, 2026 14:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
This PR consolidates structured task reporting under a single
reports/persistence/directory and modernizes the GraalVM metadata task's output API by deprecating the legacyoutputFileproperty in favor of the explicitly namedreflectConfigFile.Motivation
validatePersistenceSchema,lintNamedQueries) were previously scattered across individual directories (reports/<taskName>/), making it harder to locate all persistence-related telemetry in one place.outputFileproperty onGenerateJPAGraalVMMetadatawas too generic and clashed with Gradle's built-in output tracking when annotated with@OutputFile, causing overlapping validation concerns.Changes
Unified reporting directory (
65276e4)${buildDir}/reports/persistence/<taskName>-report.json.Deprecate
outputFilein favor ofreflectConfigFile(7ed23f5)reflectConfigFileas the primary@OutputFileproperty onGenerateJPAGraalVMMetadata.outputFileproperty (now@Internal) with bi-directional convention wiring to preserve full backward compatibility.JakartaPersistencePluginto use the new property.generate()task action to read fromreflectConfigFile.Testing
reports/persistence/directory with correct JSON content.Migration Notes
outputFileonGenerateJPAGraalVMMetadatais deprecated. Consumers should migrate toreflectConfigFile. The legacy property continues to work transparently via convention forwarding and will be removed in a future release.reports/<taskName>/validation-report.jsontoreports/persistence/<taskName>-report.json. Update any CI scripts or tooling that reference the old paths.Closes #100