You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "borinquenkid (via GitHub)" <gi...@apache.org> on 2026/10/11 01:27:45 UTC

[PR] refactor: convert grails-datamapping-validation, grails-datastore-async and grails-datastore-web to Groovy [grails-core]

borinquenkid opened a new pull request, #16587:
URL: https://github.com/apache/grails-core/pull/16587

   ## What
   
   Converts the remaining Java sources of `grails-datamapping-validation`, `grails-datastore-async`, `grails-datastore-web` to Groovy: 28 `.java` files removed, 33 `.groovy` files added (35 files changed, 2673 insertions(+), 1465 deletions(-)).
   
   ## Why
   
   The maintainers asked on #16351 for the Java-to-Groovy migration to land one Gradle project at a time as a stack of PRs, bottom-up in dependency order. #16572 did `grails-data-hibernate7`; this PR is 9 of 30 in the next stack (base: `refactor/java-to-groovy-grails-core`). The end state of every file is taken from the `9.0.x-java-to-groovy` branch, which already carries the regression fixes found by CI.
   
   Commits:
   - 763bb7d854 refactor: convert grails-datastore-web to Groovy
   - 4a200e9ebc refactor: convert grails-datastore-async to Groovy
   - 658e55fbcb refactor: convert grails-datamapping-validation to Groovy
   
   ## Changed outside the converted sources
   
   - nothing
   
   ## Java-facing API sweep
   
   Every deleted `.java` was compared with its Groovy twin via `javap -v -protected` (class declaration, public/protected fields, constructors, methods incl. modifiers/throws/generics, interface default methods, nested class modifiers, and the annotations callers see). Result:
   
   - `grails-datamapping-validation`: 26 deleted .java, 0 differences requiring action
   - `grails-datastore-async`: 1 deleted .java, 0 differences requiring action
   - `grails-datastore-web`: 1 deleted .java, 0 differences requiring action
   
   See also the notes below. Remaining informational entries (widened visibility, e.g. Groovy property accessors): 7.
   
   ## Verification
   
   - `classes` and `testClasses` (plus `ast`/`cli`/`testFixtures` source sets where present) of the converted project(s) and of their direct dependents compile: ['grails-data-mongodb-core', 'grails-data-neo4j-core', 'grails-datamapping-async', 'grails-datamapping-core', 'grails-domain-class', 'grails-openapi', 'grails-test-suite-persistence', 'grails-test-suite-uber', 'grails-testing-support-datamapping', 'grails-web-url-mappings']
   - No test suites were run locally (the umbrella branch was verified; CI runs them). `codeStyle`, `rat` and a whole-repo `build -PskipTests` are run once on the tip of the stack.
   
   ## Notes
   
   - Informational sweep entries that are not regressions: Groovy enums gain `MIN_VALUE`/`MAX_VALUE`/`next()`/`previous()`, property accessors appear for formerly package-private members, nested static classes with implicit constructors become public (they were `protected`), and generic type parameters that Groovy erases in constructors/methods (descriptors identical).
   - Groovy gotchas that applied (see #16351): `static final` without `public` creates a property; `==` calls `equals()`; Closure/SAM coercions; `@CompileStatic` with nested classes. All CI regression fixes found on the umbrella branch are included in the end state.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
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: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: convert grails-datamapping-validation, grails-datastore-async and grails-datastore-web to Groovy [grails-core]

Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #16587:
URL: https://github.com/apache/grails-core/pull/16587#issuecomment-6105023613

   ## ✅ All tests passed ✅
   
   🏷️ Commit: 763bb7d854e253d940ed7c7ff26d1ef7c3ae79b4
   ▶️ Tests:  72435 executed
   ⚪️ Checks: 81/81 completed
   
   ---
   _Learn more about TestLens at [testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   


-- 
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: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: convert grails-datamapping-validation, grails-datastore-async and grails-datastore-web to Groovy [grails-core]

Posted by "borinquenkid (via GitHub)" <gi...@apache.org>.
borinquenkid commented on PR #16587:
URL: https://github.com/apache/grails-core/pull/16587#issuecomment-6280545454

   **Update: this branch now carries a different temporary CI commit (BLOCKER before merge).**
   
   The earlier `skipTests`/`skipCodeStyle` flag in `gradle.properties` did not help enough: the functional jobs still compile the whole repository (about 57 minutes each) on every push, so it only saved around a fifth of the time. It has been removed.
   
   In its place, every PR in this stack except #16576 (the one closest to 10.0.x) carries one temporary commit, `CHANGEME FOR ACCEPTANCE: disable PR workflow triggers`. It changes the `pull_request:` trigger of each workflow to `branches: ['CHANGEME-FOR-ACCEPTANCE']`, a branch that does not exist, so pushing, rebasing or force-pushing this branch starts no jobs.
   
   **Condition for merging this PR:** that commit must be reverted on this branch first (`git revert` of the `CHANGEME FOR ACCEPTANCE` commit), and CI must then run and be green. **The absence of CI checks on this PR is deliberate and does not mean the code was tested.** The full build runs on #16576, and each PR gets it when the PR below it has merged.
   


-- 
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: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: convert grails-datamapping-validation, grails-datastore-async and grails-datastore-web to Groovy [grails-core]

Posted by "borinquenkid (via GitHub) via notifications" <no...@grails.apache.org>.
borinquenkid commented on PR #16587:
URL: https://github.com/apache/grails-core/pull/16587#issuecomment-6785717723

   Moving this stacked draft to my fork (borinquenkid/grails-core, same branch name) to cut review noise while it is downstream of active work. The branch stays here and will be reopened upstream when it is ready to be reviewed.


-- 
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: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: convert grails-datamapping-validation, grails-datastore-async and grails-datastore-web to Groovy [grails-core]

Posted by "borinquenkid (via GitHub) via notifications" <no...@grails.apache.org>.
borinquenkid closed pull request #16587: refactor: convert grails-datamapping-validation, grails-datastore-async and grails-datastore-web to Groovy
URL: https://github.com/apache/grails-core/pull/16587


-- 
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: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: convert grails-datamapping-validation, grails-datastore-async and grails-datastore-web to Groovy [grails-core]

Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #16587:
URL: https://github.com/apache/grails-core/pull/16587#issuecomment-6343863424

   ## 🔎 No tests executed 🔎
   
   🏷️ Commit: cbf82d881689336b8286e96b6814a7855a8c4aba
   ▶️ Tests:  0 executed
   ⚪️ Checks: 42/42 completed
   
   ---
   _Learn more about TestLens at [testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   


-- 
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: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: convert grails-datamapping-validation, grails-datastore-async and grails-datastore-web to Groovy [grails-core]

Posted by "testlens-app[bot] (via GitHub) via notifications" <no...@grails.apache.org>.
testlens-app[bot] commented on PR #16587:
URL: https://github.com/apache/grails-core/pull/16587#issuecomment-6606783921

   ## 🔎 No tests executed 🔎
   
   🏷️ Commit: bbc951e9bae51b25ca94c3836880371dd106a480
   ▶️ Tests:  0 executed
   ⚪️ Checks: 42/42 completed
   
   ---
   _Learn more about TestLens at [testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   


-- 
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: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: convert grails-datamapping-validation, grails-datastore-async and grails-datastore-web to Groovy [grails-core]

Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #16587:
URL: https://github.com/apache/grails-core/pull/16587#issuecomment-6114532178

   ## ✅ All tests passed ✅
   
   🏷️ Commit: 4a025e6ed437eeafc7d3580b0e54d4297bea632b
   ▶️ Tests:  63440 executed
   ⚪️ Checks: 166/166 completed
   
   ---
   _Learn more about TestLens at [testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   


-- 
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: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: convert grails-datamapping-validation, grails-datastore-async and grails-datastore-web to Groovy [grails-core]

Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #16587:
URL: https://github.com/apache/grails-core/pull/16587#issuecomment-6209154169

   ## ✅ All tests passed ✅
   
   🏷️ Commit: c3fd897d8eb0ee4ad5b2fb39cf3a86fd9c4fe87f
   ▶️ Tests:  54791 executed
   ⚪️ Checks: 168/168 completed
   
   ---
   _Learn more about TestLens at [testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   


-- 
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: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: convert grails-datamapping-validation, grails-datastore-async and grails-datastore-web to Groovy [grails-core]

Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #16587:
URL: https://github.com/apache/grails-core/pull/16587#issuecomment-6160125307

   ## ✅ All tests passed ✅
   
   🏷️ Commit: feff0de12a00384f7ce5d979863fc8fe4fe504d5
   ▶️ Tests:  82555 executed
   ⚪️ Checks: 83/83 completed
   
   ---
   _Learn more about TestLens at [testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   


-- 
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: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: convert grails-datamapping-validation, grails-datastore-async and grails-datastore-web to Groovy [grails-core]

Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #16587:
URL: https://github.com/apache/grails-core/pull/16587#issuecomment-6196027793

   ## 🚨 All tests passed but jobs failed 🚨
   
   ### Failed Jobs without Test Failures
   
   ❌ [Code Style / Gradle Plugin Projects](https://github.com/apache/grails-core/actions/runs/38740112056/job/116439284439?pr=16587)
   
   🏷️ Commit: d5a731725df70e18e5d0c2fd74cf76b03596c97e
   ▶️ Tests:  35441 executed
   🟡 Checks: 18/78 completed
   
   ### Rerun Controls
   
   Click the checkbox to trigger a rerun:
   
   🔲 **Rerun jobs**
   
   ---
   _Learn more about TestLens at [testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   


-- 
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: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: convert grails-datamapping-validation, grails-datastore-async and grails-datastore-web to Groovy [grails-core]

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #16587:
URL: https://github.com/apache/grails-core/pull/16587#issuecomment-6104602623

   ## [Codecov](https://app.codecov.io/gh/apache/grails-core/pull/16587?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :x: Patch coverage is `90.90909%` with `62 lines` in your changes missing coverage. Please review.
   :white_check_mark: Project coverage is 62.9404%. Comparing base ([`80c8329`](https://app.codecov.io/gh/apache/grails-core/commit/80c8329aa3c7a8ffb7be8c1c37889643669f704a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`763bb7d`](https://app.codecov.io/gh/apache/grails-core/commit/763bb7d854e253d940ed7c7ff26d1ef7c3ae79b4?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   
   | [Files with missing lines](https://app.codecov.io/gh/apache/grails-core/pull/16587?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
   |---|---|---|
   | [...straints/builder/ConstrainedPropertyBuilder.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fvalidation%2Fconstraints%2Fbuilder%2FConstrainedPropertyBuilder.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vdmFsaWRhdGlvbi9jb25zdHJhaW50cy9idWlsZGVyL0NvbnN0cmFpbmVkUHJvcGVydHlCdWlsZGVyLmdyb292eQ==) | 86.7470% | [6 Missing and 5 partials :warning: ](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [...constraints/eval/DefaultConstraintEvaluator.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fvalidation%2Fconstraints%2Feval%2FDefaultConstraintEvaluator.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vdmFsaWRhdGlvbi9jb25zdHJhaW50cy9ldmFsL0RlZmF1bHRDb25zdHJhaW50RXZhbHVhdG9yLmdyb292eQ==) | 88.1720% | [3 Missing and 8 partials :warning: ](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [...s/datastore/gorm/support/EventTriggerCaller.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fsupport%2FEventTriggerCaller.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vc3VwcG9ydC9FdmVudFRyaWdnZXJDYWxsZXIuZ3Jvb3Z5) | 87.5000% | [7 Missing and 1 partial :warning: ](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [...m/validation/constraints/AbstractConstraint.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fvalidation%2Fconstraints%2FAbstractConstraint.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vdmFsaWRhdGlvbi9jb25zdHJhaW50cy9BYnN0cmFjdENvbnN0cmFpbnQuZ3Jvb3Z5) | 88.5246% | [6 Missing and 1 partial :warning: ](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [...e/gorm/validation/constraints/MaxConstraint.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fvalidation%2Fconstraints%2FMaxConstraint.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vdmFsaWRhdGlvbi9jb25zdHJhaW50cy9NYXhDb25zdHJhaW50Lmdyb292eQ==) | 81.8182% | [0 Missing and 4 partials :warning: ](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [.../validation/constraints/ValidatorConstraint.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fvalidation%2Fconstraints%2FValidatorConstraint.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vdmFsaWRhdGlvbi9jb25zdHJhaW50cy9WYWxpZGF0b3JDb25zdHJhaW50Lmdyb292eQ==) | 91.1111% | [2 Missing and 2 partials :warning: ](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [...async/transform/DelegateAsyncTransformation.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datastore-async%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fasync%2Ftransform%2FDelegateAsyncTransformation.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFzdG9yZS1hc3luYy9zcmMvbWFpbi9ncm9vdnkvb3JnL2dyYWlscy9kYXRhc3RvcmUvZ29ybS9hc3luYy90cmFuc2Zvcm0vRGVsZWdhdGVBc3luY1RyYW5zZm9ybWF0aW9uLmdyb292eQ==) | 94.6667% | [0 Missing and 4 partials :warning: ](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [...gorm/validation/constraints/EmailConstraint.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fvalidation%2Fconstraints%2FEmailConstraint.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vdmFsaWRhdGlvbi9jb25zdHJhaW50cy9FbWFpbENvbnN0cmFpbnQuZ3Jvb3Z5) | 83.3333% | [1 Missing and 1 partial :warning: ](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [...e/gorm/validation/constraints/MinConstraint.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fvalidation%2Fconstraints%2FMinConstraint.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vdmFsaWRhdGlvbi9jb25zdHJhaW50cy9NaW5Db25zdHJhaW50Lmdyb292eQ==) | 91.3044% | [0 Missing and 2 partials :warning: ](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [...gorm/validation/constraints/RangeConstraint.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fvalidation%2Fconstraints%2FRangeConstraint.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vdmFsaWRhdGlvbi9jb25zdHJhaW50cy9SYW5nZUNvbnN0cmFpbnQuZ3Jvb3Z5) | 90.0000% | [0 Missing and 2 partials :warning: ](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | ... and [7 more](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | |
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   [![Impacted file tree graph](https://app.codecov.io/gh/apache/grails-core/pull/16587/graphs/tree.svg?width=650&height=150&src=pr&token=qJrryhpk7u&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   ```diff
   @@                              Coverage Diff                              @@
   ##             refactor/java-to-groovy-grails-core     #16587        +/-   ##
   =============================================================================
   + Coverage                                62.6947%   62.9404%   +0.2458%     
   - Complexity                                 28998      29301       +303     
   =============================================================================
     Files                                       2221       2221                
     Lines                                     109550     109529        -21     
     Branches                                   20135      20139         +4     
   =============================================================================
   + Hits                                       68682      68938       +256     
   + Misses                                     31609      31347       -262     
   + Partials                                    9259       9244        -15     
   ```
   
   | [Files with missing lines](https://app.codecov.io/gh/apache/grails-core/pull/16587?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [...datastore/gorm/support/BeforeValidateHelper.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fsupport%2FBeforeValidateHelper.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vc3VwcG9ydC9CZWZvcmVWYWxpZGF0ZUhlbHBlci5ncm9vdnk=) | `100.0000% <100.0000%> (ø)` | |
   | [...ation/constraints/AbstractVetoingConstraint.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fvalidation%2Fconstraints%2FAbstractVetoingConstraint.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vdmFsaWRhdGlvbi9jb25zdHJhaW50cy9BYnN0cmFjdFZldG9pbmdDb25zdHJhaW50Lmdyb292eQ==) | `100.0000% <100.0000%> (ø)` | |
   | [...rm/validation/constraints/MaxSizeConstraint.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fvalidation%2Fconstraints%2FMaxSizeConstraint.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vdmFsaWRhdGlvbi9jb25zdHJhaW50cy9NYXhTaXplQ29uc3RyYWludC5ncm9vdnk=) | `95.6522% <100.0000%> (ø)` | |
   | [...rm/validation/constraints/MinSizeConstraint.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fvalidation%2Fconstraints%2FMinSizeConstraint.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vdmFsaWRhdGlvbi9jb25zdHJhaW50cy9NaW5TaXplQ29uc3RyYWludC5ncm9vdnk=) | `95.6522% <100.0000%> (ø)` | |
   | [...m/validation/constraints/NullableConstraint.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fvalidation%2Fconstraints%2FNullableConstraint.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vdmFsaWRhdGlvbi9jb25zdHJhaW50cy9OdWxsYWJsZUNvbnN0cmFpbnQuZ3Jvb3Z5) | `100.0000% <100.0000%> (ø)` | |
   | [...gorm/validation/constraints/ScaleConstraint.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fvalidation%2Fconstraints%2FScaleConstraint.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vdmFsaWRhdGlvbi9jb25zdHJhaW50cy9TY2FsZUNvbnN0cmFpbnQuZ3Jvb3Z5) | `97.0588% <100.0000%> (ø)` | |
   | [.../gorm/validation/constraints/SizeConstraint.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fvalidation%2Fconstraints%2FSizeConstraint.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vdmFsaWRhdGlvbi9jb25zdHJhaW50cy9TaXplQ29uc3RyYWludC5ncm9vdnk=) | `93.1034% <100.0000%> (ø)` | |
   | [...ng/web/support/OpenSessionInViewInterceptor.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datastore-web%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fmapping%2Fweb%2Fsupport%2FOpenSessionInViewInterceptor.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFzdG9yZS13ZWIvc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL21hcHBpbmcvd2ViL3N1cHBvcnQvT3BlblNlc3Npb25JblZpZXdJbnRlcmNlcHRvci5ncm9vdnk=) | `96.4286% <100.0000%> (ø)` | |
   | [...idation/aot/ConstrainedPropertyRuntimeHints.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fapache%2Fgrails%2Fdatamapping%2Fvalidation%2Faot%2FConstrainedPropertyRuntimeHints.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9hcGFjaGUvZ3JhaWxzL2RhdGFtYXBwaW5nL3ZhbGlkYXRpb24vYW90L0NvbnN0cmFpbmVkUHJvcGVydHlSdW50aW1lSGludHMuZ3Jvb3Z5) | `66.6667% <0.0000%> (ø)` | |
   | [...gorm/validation/constraints/BlankConstraint.groovy](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree&filepath=grails-datamapping-validation%2Fsrc%2Fmain%2Fgroovy%2Forg%2Fgrails%2Fdatastore%2Fgorm%2Fvalidation%2Fconstraints%2FBlankConstraint.groovy&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-Z3JhaWxzLWRhdGFtYXBwaW5nLXZhbGlkYXRpb24vc3JjL21haW4vZ3Jvb3Z5L29yZy9ncmFpbHMvZGF0YXN0b3JlL2dvcm0vdmFsaWRhdGlvbi9jb25zdHJhaW50cy9CbGFua0NvbnN0cmFpbnQuZ3Jvb3Z5) | `87.5000% <91.6667%> (ø)` | |
   | ... and [15 more](https://app.codecov.io/gh/apache/grails-core/pull/16587?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | |
   
   ... and [5 files with indirect coverage changes](https://app.codecov.io/gh/apache/grails-core/pull/16587/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   </details>
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>


-- 
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: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: convert grails-datamapping-validation, grails-datastore-async and grails-datastore-web to Groovy [grails-core]

Posted by "borinquenkid (via GitHub)" <gi...@apache.org>.
borinquenkid commented on PR #16587:
URL: https://github.com/apache/grails-core/pull/16587#issuecomment-6278017831

   **Temporary CI flag on this stacked branch (BLOCKER before merge).**
   
   This Java-to-Groovy chain is a stack of PRs, and every push to any of them starts the full CI matrix, which is more runner time than the ASF allows us. Every PR in the stack except the one closest to its release branch (#16576) therefore carries one temporary commit, `CHANGEME FOR ACCEPTANCE`, that adds this to the root `gradle.properties`:
   
   ```
   skipTests=true
   skipCodeStyle=true
   ```
   
   With it, CI on this PR compiles but does not run tests or code style. The full build runs on #16576 (closest to 10.0.x), and each PR gets it when the PR below it has merged.
   
   **Condition for merging this PR:** that `gradle.properties` block (and the `CHANGEME FOR ACCEPTANCE` commit) must be dropped from this branch first, and CI must then be green with the tests running. A green check on this PR as it stands does not mean the tests ran. Rollout of the commit is branch by branch, so a branch may not carry it yet.
   


-- 
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: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor: convert grails-datamapping-validation, grails-datastore-async and grails-datastore-web to Groovy [grails-core]

Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #16587:
URL: https://github.com/apache/grails-core/pull/16587#issuecomment-6145337555

   ## 🚨 All tests passed but jobs failed 🚨
   
   ### Failed Jobs without Test Failures
   
   ❌ [Code Style / Forge Projects](https://github.com/apache/grails-core/actions/runs/38393281639/job/115282088153?pr=16587)
   
   🏷️ Commit: 8bce91b23c0618433e4c14159b3b48b83ee8774d
   ▶️ Tests:  3385 executed
   🟡 Checks: 8/77 completed
   
   ### Rerun Controls
   
   Click the checkbox to trigger a rerun:
   
   🔲 **Rerun jobs**
   
   ---
   _Learn more about TestLens at [testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   


-- 
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: notifications-unsubscribe@grails.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org