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/06/27 16:42:19 UTC
[PR] feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling [grails-core]
borinquenkid opened a new pull request, #15786:
URL: https://github.com/apache/grails-core/pull/15786
## Summary
Wires the remaining adapters and support modules into the `GormRegistry` introduced in #15780.
**Modules updated:**
- **`grails-data-graphql`** — registers GraphQL GORM APIs with the registry; adds `GraphqlTenantContextProfilingSpec`
- **`grails-datamapping-async`** — async GORM operations wired through registry-based API resolution
- **`grails-datamapping-rx`** — RxGORM static/instance APIs sourced from the registry
- **`grails-views-gson`** — JSON views resolve GORM entity APIs via the registry
- **`grails-scaffolding`** — scaffold data binding uses registry-based API lookup
- **`grails-converters`** — JSON/XML converters resolve domain class APIs via the registry
- **`grails-test-suite-uber`** — integration test `NonDefaultDatasourceFlushSpec` exercises the registry path across multiple datastores
## Test plan
- [ ] `./gradlew :grails-data-graphql:test` passes
- [ ] `./gradlew :grails-test-suite-uber:test` passes
## Stack
- Prereq: #15779 → #15780 → #15781 → #15782 → #15783 → #15784 → #15785
- **This PR** — GraphQL and support module wiring
- Next: `feat/gorm-registry-h7`
🤖 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] feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15786:
URL: https://github.com/apache/grails-core/pull/15786#issuecomment-4820194997
## ✅ All tests passed ✅
🏷️ Commit: b97eaeb99f961087ec9cefd4daf3ca65c7245182
▶️ Tests: 7332 executed
⚪️ Checks: 41/41 completed
---
_Learn more about TestLens at [testlens.app](https://testlens.app)._
--
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] feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15786:
URL: https://github.com/apache/grails-core/pull/15786#issuecomment-4822460546
## 🚨 TestLens detected 18 failed tests 🚨
Here is what you can do:
1) Inspect the test failures carefully.
2) If you are convinced that some of the tests are flaky, you can mute them below.
3) Finally, trigger a rerun by checking the rerun checkbox.
### Test Summary
#### [CI / Build Grails-Core \(ubuntu-latest, 25\)](https://github.com/apache/grails-core/actions/runs/28303626889/job/83856156927?pr=15786) > :grails-data-graphql-core:test
| Test | Runs |
|---|---|
| CreateEntityDataFetcherSpec > test get | ❌ |
| DeleteEntityDataFetcherSpec > test get | ❌ |
| DeleteEntityDataFetcherSpec > test get invalid | ❌ |
| EntityDataFetcherSpec | ❌ |
| SingleEntityDataFetcherSpec | ❌ |
| SoftDeleteEntityDataFetcherSpec | ❌ |
| UpdateEntityDataFetcherSpec > test get | ❌ |
| UpdateEntityDataFetcherSpec > test optimistic locking | ❌ |
| UpdateEntityDataFetcherSpec > test optimistic locking with null version | ❌ |
#### [SiteMesh 2 Compatibility / SiteMesh 2 Core Tests \(Java 21\)](https://github.com/apache/grails-core/actions/runs/28303626896/job/83856074768?pr=15786) > :grails-data-graphql-core:test
| Test | Runs |
|---|---|
| CreateEntityDataFetcherSpec > test get | ❌ |
| DeleteEntityDataFetcherSpec > test get | ❌ |
| DeleteEntityDataFetcherSpec > test get invalid | ❌ |
| EntityDataFetcherSpec | ❌ |
| SingleEntityDataFetcherSpec | ❌ |
| SoftDeleteEntityDataFetcherSpec | ❌ |
| UpdateEntityDataFetcherSpec > test get | ❌ |
| UpdateEntityDataFetcherSpec > test optimistic locking | ❌ |
| UpdateEntityDataFetcherSpec > test optimistic locking with null version | ❌ |
🏷️ Commit: cba09b62c4943710ce4ef06dd795d6956ad337fc
▶️ Tests: 3885 executed
🟡 Checks: 10/35 completed
### Test Failures (first 10 of 18)
<details>
<summary><strong>CreateEntityDataFetcherSpec > test get</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28303626889/job/83856156927?pr=15786">CI / Build Grails-Core (ubuntu-latest, 25)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke "org.grails.datastore.mapping.services.ServiceRegistry.getService(java.lang.Class)" because "datastore" is null
at org.grails.gorm.graphql.fetcher.DefaultGormDataFetcher.withTransaction(DefaultGormDataFetcher.groovy:135)
at org.grails.gorm.graphql.fetcher.impl.CreateEntityDataFetcher.get(CreateEntityDataFetcher.groovy:46)
at org.grails.gorm.graphql.fetcher.impl.CreateEntityDataFetcherSpec.test get(CreateEntityDataFetcherSpec.groovy:42)
```
</details>
<details>
<summary><strong>DeleteEntityDataFetcherSpec > test get</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28303626889/job/83856156927?pr=15786">CI / Build Grails-Core (ubuntu-latest, 25)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke "org.grails.orm.hibernate.AbstractHibernateDatastore.getConnectionSources()" because the return value of "groovy.lang.Reference.get()" is null
at org.grails.orm.hibernate.AbstractHibernateGormStaticApi.withNewSession(AbstractHibernateGormStaticApi.groovy:118)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewSession(GormEntity.groovy:1140)
at org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec.test get(DeleteEntityDataFetcherSpec.groovy:53)
```
</details>
<details>
<summary><strong>DeleteEntityDataFetcherSpec > test get invalid</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28303626889/job/83856156927?pr=15786">CI / Build Grails-Core (ubuntu-latest, 25)</a>)</summary>
```
Too few invocations for:
1 * getArgument('id') >> 95 (0 invocations)
Unmatched invocations (ordered by similarity):
None
Too few invocations for:
1 * getMergedField() (0 invocations)
Unmatched invocations (ordered by similarity):
None
at org.spockframework.mock.runtime.InteractionScope.verifyInteractions(InteractionScope.java:110)
at org.spockframework.mock.runtime.MockController.leaveScope(MockController.java:95)
at org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec.test get invalid(DeleteEntityDataFetcherSpec.groovy:74)
```
</details>
<details>
<summary><strong>EntityDataFetcherSpec</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28303626889/job/83856156927?pr=15786">CI / Build Grails-Core (ubuntu-latest, 25)</a>)</summary>
```
java.lang.IllegalStateException: No PlatformTransactionManager set
at org.springframework.util.Assert.state(Assert.java:80)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:115)
at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:687)
at org.grails.datastore.gorm.GormStaticApi.withNewTransaction(GormStaticApi.groovy:649)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewTransaction(GormEntity.groovy:1063)
at org.grails.gorm.graphql.fetcher.impl.EntityDataFetcherSpec.setupSpec(EntityDataFetcherSpec.groovy:32)
```
</details>
<details>
<summary><strong>SingleEntityDataFetcherSpec</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28303626889/job/83856156927?pr=15786">CI / Build Grails-Core (ubuntu-latest, 25)</a>)</summary>
```
java.lang.IllegalStateException: No PlatformTransactionManager set
at org.springframework.util.Assert.state(Assert.java:80)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:115)
at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:687)
at org.grails.datastore.gorm.GormStaticApi.withNewTransaction(GormStaticApi.groovy:649)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewTransaction(GormEntity.groovy:1063)
at org.grails.gorm.graphql.fetcher.impl.SingleEntityDataFetcherSpec.setupSpec(SingleEntityDataFetcherSpec.groovy:35)
```
</details>
<details>
<summary><strong>SoftDeleteEntityDataFetcherSpec</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28303626889/job/83856156927?pr=15786">CI / Build Grails-Core (ubuntu-latest, 25)</a>)</summary>
```
java.lang.IllegalStateException: No PlatformTransactionManager set
at org.springframework.util.Assert.state(Assert.java:80)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:115)
at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:687)
at org.grails.datastore.gorm.GormStaticApi.withNewTransaction(GormStaticApi.groovy:649)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewTransaction(GormEntity.groovy:1063)
at org.grails.gorm.graphql.fetcher.impl.SoftDeleteEntityDataFetcherSpec.setupSpec(SoftDeleteEntityDataFetcherSpec.groovy:36)
```
</details>
<details>
<summary><strong>UpdateEntityDataFetcherSpec > test get</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28303626889/job/83856156927?pr=15786">CI / Build Grails-Core (ubuntu-latest, 25)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke "org.grails.datastore.mapping.services.ServiceRegistry.getService(java.lang.Class)" because "datastore" is null
at org.grails.gorm.graphql.fetcher.DefaultGormDataFetcher.withTransaction(DefaultGormDataFetcher.groovy:135)
at org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcher.get(UpdateEntityDataFetcher.groovy:48)
at org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec.test get(UpdateEntityDataFetcherSpec.groovy:48)
```
</details>
<details>
<summary><strong>UpdateEntityDataFetcherSpec > test optimistic locking</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28303626889/job/83856156927?pr=15786">CI / Build Grails-Core (ubuntu-latest, 25)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke "org.grails.datastore.mapping.services.ServiceRegistry.getService(java.lang.Class)" because "datastore" is null
at org.grails.gorm.graphql.fetcher.DefaultGormDataFetcher.withTransaction(DefaultGormDataFetcher.groovy:135)
at org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcher.get(UpdateEntityDataFetcher.groovy:48)
at org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec.test optimistic locking(UpdateEntityDataFetcherSpec.groovy:69)
```
</details>
<details>
<summary><strong>UpdateEntityDataFetcherSpec > test optimistic locking with null version</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28303626889/job/83856156927?pr=15786">CI / Build Grails-Core (ubuntu-latest, 25)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke "org.grails.datastore.mapping.services.ServiceRegistry.getService(java.lang.Class)" because "datastore" is null
at org.grails.gorm.graphql.fetcher.DefaultGormDataFetcher.withTransaction(DefaultGormDataFetcher.groovy:135)
at org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcher.get(UpdateEntityDataFetcher.groovy:48)
at org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec.test optimistic locking with null version(UpdateEntityDataFetcherSpec.groovy:88)
```
</details>
<details>
<summary><strong>CreateEntityDataFetcherSpec > test get</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28303626896/job/83856074768?pr=15786">SiteMesh 2 Compatibility / SiteMesh 2 Core Tests (Java 21)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke "org.grails.datastore.mapping.services.ServiceRegistry.getService(java.lang.Class)" because "datastore" is null
at org.grails.gorm.graphql.fetcher.DefaultGormDataFetcher.withTransaction(DefaultGormDataFetcher.groovy:135)
at org.grails.gorm.graphql.fetcher.impl.CreateEntityDataFetcher.get(CreateEntityDataFetcher.groovy:46)
at org.grails.gorm.graphql.fetcher.impl.CreateEntityDataFetcherSpec.test get(CreateEntityDataFetcherSpec.groovy:42)
```
</details>
### Muted Tests
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 CreateEntityDataFetcherSpec > test get <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.CreateEntityDataFetcherSpec]/[feature:$spock_feature_1_0] -->
🔲 DeleteEntityDataFetcherSpec > test get <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec]/[feature:$spock_feature_1_0] -->
🔲 DeleteEntityDataFetcherSpec > test get invalid <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec]/[feature:$spock_feature_1_1] -->
🔲 EntityDataFetcherSpec <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.EntityDataFetcherSpec] -->
🔲 SingleEntityDataFetcherSpec <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.SingleEntityDataFetcherSpec] -->
🔲 SoftDeleteEntityDataFetcherSpec <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.SoftDeleteEntityDataFetcherSpec] -->
🔲 UpdateEntityDataFetcherSpec > test get <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec]/[feature:$spock_feature_1_0] -->
🔲 UpdateEntityDataFetcherSpec > test optimistic locking <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec]/[feature:$spock_feature_1_1] -->
🔲 UpdateEntityDataFetcherSpec > test optimistic locking with null version <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec]/[feature:$spock_feature_1_2] -->
Reuse successful test results:
🔲 ♻️ Only rerun the tests that failed or were muted before
Click the checkbox to trigger a rerun:
🔲 **Rerun jobs**
---
_Learn more about TestLens at [testlens.app](https://testlens.app)._
--
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] feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15786:
URL: https://github.com/apache/grails-core/pull/15786#issuecomment-4819612418
## ✅ All tests passed ✅
🏷️ Commit: 6f5c31fb37891c4515766e385a4bcdc56279b035
▶️ Tests: 1427 executed
⚪️ Checks: 41/41 completed
---
_Learn more about TestLens at [testlens.app](https://testlens.app)._
--
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] feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15786:
URL: https://github.com/apache/grails-core/pull/15786#issuecomment-4823927222
## 🚨 TestLens detected 4 failed tests 🚨
Here is what you can do:
1) Inspect the test failures carefully.
2) If you are convinced that some of the tests are flaky, you can mute them below.
3) Finally, trigger a rerun by checking the rerun checkbox.
### Test Summary
#### [CI / Build Grails-Core \(macos-latest, 21\)](https://github.com/apache/grails-core/actions/runs/28307770596/job/83866995781?pr=15786) > :grails-data-graphql-core:test
| Test | Runs |
|---|---|
| CreateEntityDataFetcherSpec > test get | ❌ |
| DeleteEntityDataFetcherSpec > test get | ❌ |
| DeleteEntityDataFetcherSpec > test get invalid | ❌ |
| EntityDataFetcherSpec | ❌ |
🏷️ Commit: 54d8eaaa932dd37374c0d51c46b319a53dc312f1
▶️ Tests: 1983 executed
🟡 Checks: 9/35 completed
### Test Failures
<details>
<summary><strong>CreateEntityDataFetcherSpec > test get</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28307770596/job/83866995781?pr=15786">CI / Build Grails-Core (macos-latest, 21)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke "org.grails.datastore.mapping.services.ServiceRegistry.getService(java.lang.Class)" because "datastore" is null
at org.grails.gorm.graphql.fetcher.DefaultGormDataFetcher.withTransaction(DefaultGormDataFetcher.groovy:135)
at org.grails.gorm.graphql.fetcher.impl.CreateEntityDataFetcher.get(CreateEntityDataFetcher.groovy:46)
at org.grails.gorm.graphql.fetcher.impl.CreateEntityDataFetcherSpec.test get(CreateEntityDataFetcherSpec.groovy:42)
```
</details>
<details>
<summary><strong>DeleteEntityDataFetcherSpec > test get</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28307770596/job/83866995781?pr=15786">CI / Build Grails-Core (macos-latest, 21)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke "org.grails.orm.hibernate.AbstractHibernateDatastore.getConnectionSources()" because the return value of "groovy.lang.Reference.get()" is null
at org.grails.orm.hibernate.AbstractHibernateGormStaticApi.withNewSession(AbstractHibernateGormStaticApi.groovy:118)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewSession(GormEntity.groovy:1140)
at org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec.test get(DeleteEntityDataFetcherSpec.groovy:53)
```
</details>
<details>
<summary><strong>DeleteEntityDataFetcherSpec > test get invalid</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28307770596/job/83866995781?pr=15786">CI / Build Grails-Core (macos-latest, 21)</a>)</summary>
```
Too few invocations for:
1 * getArgument('id') >> 95 (0 invocations)
Unmatched invocations (ordered by similarity):
None
Too few invocations for:
1 * getMergedField() (0 invocations)
Unmatched invocations (ordered by similarity):
None
at org.spockframework.mock.runtime.InteractionScope.verifyInteractions(InteractionScope.java:110)
at org.spockframework.mock.runtime.MockController.leaveScope(MockController.java:95)
at org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec.test get invalid(DeleteEntityDataFetcherSpec.groovy:74)
```
</details>
<details>
<summary><strong>EntityDataFetcherSpec</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28307770596/job/83866995781?pr=15786">CI / Build Grails-Core (macos-latest, 21)</a>)</summary>
```
java.lang.IllegalStateException: No PlatformTransactionManager set
at org.springframework.util.Assert.state(Assert.java:80)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:115)
at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:687)
at org.grails.datastore.gorm.GormStaticApi.withNewTransaction(GormStaticApi.groovy:649)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewTransaction(GormEntity.groovy:1063)
at org.grails.gorm.graphql.fetcher.impl.EntityDataFetcherSpec.setupSpec(EntityDataFetcherSpec.groovy:32)
```
</details>
### Muted Tests
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 CreateEntityDataFetcherSpec > test get <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.CreateEntityDataFetcherSpec]/[feature:$spock_feature_1_0] -->
🔲 DeleteEntityDataFetcherSpec > test get <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec]/[feature:$spock_feature_1_0] -->
🔲 DeleteEntityDataFetcherSpec > test get invalid <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec]/[feature:$spock_feature_1_1] -->
🔲 EntityDataFetcherSpec <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.EntityDataFetcherSpec] -->
Reuse successful test results:
🔲 ♻️ Only rerun the tests that failed or were muted before
Click the checkbox to trigger a rerun:
🔲 **Rerun jobs**
---
_Learn more about TestLens at [testlens.app](https://testlens.app)._
--
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] feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15786:
URL: https://github.com/apache/grails-core/pull/15786#issuecomment-4822319621
## 🚨 TestLens detected 1 failed test 🚨
Here is what you can do:
1) Inspect the test failures carefully.
2) If you are convinced that some of the tests are flaky, you can mute them below.
3) Finally, trigger a rerun by checking the rerun checkbox.
### Test Summary
#### [CI / Build Grails-Core \(macos-latest, 21\)](https://github.com/apache/grails-core/actions/runs/28303169774/job/83854871883?pr=15786) > :grails-datamapping-core:test
| Test | Runs |
|---|---|
| GormRegistrySpec > test withTenant and exists with multi-tenant entity in DISCRIMINATOR mode | ❌ |
🏷️ Commit: a884511cd003f8527bd391dec80143ec74832f4d
▶️ Tests: 6524 executed
🟡 Checks: 12/35 completed
### Test Failures
<details>
<summary><strong>GormRegistrySpec > test withTenant and exists with multi-tenant entity in DISCRIMINATOR mode</strong> (:grails-datamapping-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28303169774/job/83854871883?pr=15786">CI / Build Grails-Core (macos-latest, 21)</a>)</summary>
```
Condition not satisfied:
capturedTenantId == "tenant1"
| |
initial false
7 differences (0% similarity)
(i-)n(i-)t(ial)
(te)n(an)t(1--)
at org.grails.datastore.gorm.GormRegistrySpec.test withTenant and exists with multi-tenant entity in DISCRIMINATOR mode(GormRegistrySpec.groovy:266)
```
|expected|actual|
|---|---|
|<s>tenant1</s>|<b>initial</b>|
</details>
### Muted Tests
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 GormRegistrySpec > test withTenant and exists with multi-tenant entity in DISCRIMINATOR mode <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormRegistrySpec]/[feature:$spock_feature_0_13] -->
Reuse successful test results:
🔲 ♻️ Only rerun the tests that failed or were muted before
Click the checkbox to trigger a rerun:
🔲 **Rerun jobs**
---
_Learn more about TestLens at [testlens.app](https://testlens.app)._
--
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] feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15786:
URL: https://github.com/apache/grails-core/pull/15786#issuecomment-4821621620
## 🚨 TestLens detected 1 failed test 🚨
Here is what you can do:
1) Inspect the test failures carefully.
2) If you are convinced that some of the tests are flaky, you can mute them below.
3) Finally, trigger a rerun by checking the rerun checkbox.
### Test Summary
#### [CI / Build Grails-Core \(ubuntu-latest, 21\)](https://github.com/apache/grails-core/actions/runs/28301356454/job/83850113501?pr=15786) > :grails-datamapping-core:test
| Test | Runs |
|---|---|
| GormRegistrySpec > test withTenant and exists with multi-tenant entity in DISCRIMINATOR mode | ❌ |
🏷️ Commit: 3cc9135ce6f57f750735f92eb12ab1a309635266
▶️ Tests: 4680 executed
🟡 Checks: 10/35 completed
### Test Failures
<details>
<summary><strong>GormRegistrySpec > test withTenant and exists with multi-tenant entity in DISCRIMINATOR mode</strong> (:grails-datamapping-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28301356454/job/83850113501?pr=15786">CI / Build Grails-Core (ubuntu-latest, 21)</a>)</summary>
```
Condition not satisfied:
capturedTenantId == "tenant1"
| |
initial false
7 differences (0% similarity)
(i-)n(i-)t(ial)
(te)n(an)t(1--)
at org.grails.datastore.gorm.GormRegistrySpec.test withTenant and exists with multi-tenant entity in DISCRIMINATOR mode(GormRegistrySpec.groovy:266)
```
|expected|actual|
|---|---|
|<s>tenant1</s>|<b>initial</b>|
</details>
### Muted Tests
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 GormRegistrySpec > test withTenant and exists with multi-tenant entity in DISCRIMINATOR mode <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormRegistrySpec]/[feature:$spock_feature_0_13] -->
Reuse successful test results:
🔲 ♻️ Only rerun the tests that failed or were muted before
Click the checkbox to trigger a rerun:
🔲 **Rerun jobs**
---
_Learn more about TestLens at [testlens.app](https://testlens.app)._
--
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] feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15786:
URL: https://github.com/apache/grails-core/pull/15786#issuecomment-4822845099
## 🚨 TestLens detected 2 failed tests 🚨
Here is what you can do:
1) Inspect the test failures carefully.
2) If you are convinced that some of the tests are flaky, you can mute them below.
3) Finally, trigger a rerun by checking the rerun checkbox.
### Test Summary
#### [CI / Build Grails-Core Rerunning all Tasks \(ubuntu-latest, 21\)](https://github.com/apache/grails-core/actions/runs/28304428148/job/83858121460?pr=15786) > :grails-datamapping-core:test
| Test | Runs |
|---|---|
| GormRegistrySpec > test withTenant and exists with multi-tenant entity in DISCRIMINATOR mode | ❌ |
| TenantContextProfilingSpec > profile tenant wrapping overhead | ❌ |
🏷️ Commit: d663ee9f85f53ad2ef5a57fb23a6edcebb3d1cd3
▶️ Tests: 986 executed
🟡 Checks: 10/35 completed
### Test Failures
<details>
<summary><strong>GormRegistrySpec > test withTenant and exists with multi-tenant entity in DISCRIMINATOR mode</strong> (:grails-datamapping-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28304428148/job/83858121460?pr=15786">CI / Build Grails-Core Rerunning all Tasks (ubuntu-latest, 21)</a>)</summary>
```
Condition not satisfied:
capturedTenantId == "tenant1"
| |
initial false
7 differences (0% similarity)
(i-)n(i-)t(ial)
(te)n(an)t(1--)
at org.grails.datastore.gorm.GormRegistrySpec.test withTenant and exists with multi-tenant entity in DISCRIMINATOR mode(GormRegistrySpec.groovy:266)
```
|expected|actual|
|---|---|
|<s>tenant1</s>|<b>initial</b>|
</details>
<details>
<summary><strong>TenantContextProfilingSpec > profile tenant wrapping overhead</strong> (:grails-datamapping-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28304428148/job/83858121460?pr=15786">CI / Build Grails-Core Rerunning all Tasks (ubuntu-latest, 21)</a>)</summary>
```
groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.grails.datastore.gorm.GormStaticApi(Class, null, ArrayList, org.grails.datastore.gorm.TenantContextProfilingSpec$DummyStaticApi$1)
at org.grails.datastore.gorm.TenantContextProfilingSpec$DummyStaticApi.<init>(TenantContextProfilingSpec.groovy:96)
at org.grails.datastore.gorm.TenantContextProfilingSpec.profile tenant wrapping overhead(TenantContextProfilingSpec.groovy:51)
```
</details>
### Muted Tests
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 GormRegistrySpec > test withTenant and exists with multi-tenant entity in DISCRIMINATOR mode <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.GormRegistrySpec]/[feature:$spock_feature_0_13] -->
🔲 TenantContextProfilingSpec > profile tenant wrapping overhead <!-- uniqueId=[engine:spock]/[spec:org.grails.datastore.gorm.TenantContextProfilingSpec]/[feature:$spock_feature_0_0] -->
Reuse successful test results:
🔲 ♻️ Only rerun the tests that failed or were muted before
Click the checkbox to trigger a rerun:
🔲 **Rerun jobs**
---
_Learn more about TestLens at [testlens.app](https://testlens.app)._
--
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] feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling [grails-core]
Posted by "borinquenkid (via GitHub)" <gi...@apache.org>.
borinquenkid commented on PR #15786:
URL: https://github.com/apache/grails-core/pull/15786#issuecomment-4834668387
Superseded by #15780 — the consolidated GormRegistry core-impl PR wires the in-build adapters directly (Hibernate 5/7 and MongoDB via a registered GormApiFactory; SimpleMap and GraphQL via the base GormStaticApi) and is stabilized green. The unique unit-test coverage from this stack was harvested into #15790. Closing as superseded; the branch is retained for reference (not deleted).
--
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] feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling [grails-core]
Posted by "borinquenkid (via GitHub)" <gi...@apache.org>.
borinquenkid closed pull request #15786: feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling
URL: https://github.com/apache/grails-core/pull/15786
--
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] feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15786:
URL: https://github.com/apache/grails-core/pull/15786#issuecomment-4819922589
## ✅ All tests passed ✅
🏷️ Commit: 590e21cb7319f6ed0417a9d93dc167b404d0d72e
▶️ Tests: 2106 executed
⚪️ Checks: 41/41 completed
---
_Learn more about TestLens at [testlens.app](https://testlens.app)._
--
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] feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15786:
URL: https://github.com/apache/grails-core/pull/15786#issuecomment-4823308612
## 🚨 TestLens detected 9 failed tests 🚨
Here is what you can do:
1) Inspect the test failures carefully.
2) If you are convinced that some of the tests are flaky, you can mute them below.
3) Finally, trigger a rerun by checking the rerun checkbox.
### Test Summary
#### [CI / Build Grails-Core \(macos-latest, 21\)](https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786) > :grails-data-graphql-core:test
| Test | Runs |
|---|---|
| CreateEntityDataFetcherSpec > test get | ❌ |
| DeleteEntityDataFetcherSpec > test get | ❌ |
| DeleteEntityDataFetcherSpec > test get invalid | ❌ |
| EntityDataFetcherSpec | ❌ |
| SingleEntityDataFetcherSpec | ❌ |
| SoftDeleteEntityDataFetcherSpec | ❌ |
| UpdateEntityDataFetcherSpec > test get | ❌ |
| UpdateEntityDataFetcherSpec > test optimistic locking | ❌ |
| UpdateEntityDataFetcherSpec > test optimistic locking with null version | ❌ |
🏷️ Commit: 6d53d025c3e0f363dbecefcf9e5758dee06cc80f
▶️ Tests: 2711 executed
🟡 Checks: 9/35 completed
### Test Failures
<details>
<summary><strong>CreateEntityDataFetcherSpec > test get</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786">CI / Build Grails-Core (macos-latest, 21)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke "org.grails.datastore.mapping.services.ServiceRegistry.getService(java.lang.Class)" because "datastore" is null
at org.grails.gorm.graphql.fetcher.DefaultGormDataFetcher.withTransaction(DefaultGormDataFetcher.groovy:135)
at org.grails.gorm.graphql.fetcher.impl.CreateEntityDataFetcher.get(CreateEntityDataFetcher.groovy:46)
at org.grails.gorm.graphql.fetcher.impl.CreateEntityDataFetcherSpec.test get(CreateEntityDataFetcherSpec.groovy:42)
```
</details>
<details>
<summary><strong>DeleteEntityDataFetcherSpec > test get</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786">CI / Build Grails-Core (macos-latest, 21)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke "org.grails.orm.hibernate.AbstractHibernateDatastore.getConnectionSources()" because the return value of "groovy.lang.Reference.get()" is null
at org.grails.orm.hibernate.AbstractHibernateGormStaticApi.withNewSession(AbstractHibernateGormStaticApi.groovy:118)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewSession(GormEntity.groovy:1140)
at org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec.test get(DeleteEntityDataFetcherSpec.groovy:53)
```
</details>
<details>
<summary><strong>DeleteEntityDataFetcherSpec > test get invalid</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786">CI / Build Grails-Core (macos-latest, 21)</a>)</summary>
```
Too few invocations for:
1 * getArgument('id') >> 95 (0 invocations)
Unmatched invocations (ordered by similarity):
None
Too few invocations for:
1 * getMergedField() (0 invocations)
Unmatched invocations (ordered by similarity):
None
at org.spockframework.mock.runtime.InteractionScope.verifyInteractions(InteractionScope.java:110)
at org.spockframework.mock.runtime.MockController.leaveScope(MockController.java:95)
at org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec.test get invalid(DeleteEntityDataFetcherSpec.groovy:74)
```
</details>
<details>
<summary><strong>EntityDataFetcherSpec</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786">CI / Build Grails-Core (macos-latest, 21)</a>)</summary>
```
java.lang.IllegalStateException: No PlatformTransactionManager set
at org.springframework.util.Assert.state(Assert.java:80)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:115)
at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:687)
at org.grails.datastore.gorm.GormStaticApi.withNewTransaction(GormStaticApi.groovy:649)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewTransaction(GormEntity.groovy:1063)
at org.grails.gorm.graphql.fetcher.impl.EntityDataFetcherSpec.setupSpec(EntityDataFetcherSpec.groovy:32)
```
</details>
<details>
<summary><strong>SingleEntityDataFetcherSpec</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786">CI / Build Grails-Core (macos-latest, 21)</a>)</summary>
```
java.lang.IllegalStateException: No PlatformTransactionManager set
at org.springframework.util.Assert.state(Assert.java:80)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:115)
at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:687)
at org.grails.datastore.gorm.GormStaticApi.withNewTransaction(GormStaticApi.groovy:649)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewTransaction(GormEntity.groovy:1063)
at org.grails.gorm.graphql.fetcher.impl.SingleEntityDataFetcherSpec.setupSpec(SingleEntityDataFetcherSpec.groovy:35)
```
</details>
<details>
<summary><strong>SoftDeleteEntityDataFetcherSpec</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786">CI / Build Grails-Core (macos-latest, 21)</a>)</summary>
```
java.lang.IllegalStateException: No PlatformTransactionManager set
at org.springframework.util.Assert.state(Assert.java:80)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:115)
at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:687)
at org.grails.datastore.gorm.GormStaticApi.withNewTransaction(GormStaticApi.groovy:649)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withNewTransaction(GormEntity.groovy:1063)
at org.grails.gorm.graphql.fetcher.impl.SoftDeleteEntityDataFetcherSpec.setupSpec(SoftDeleteEntityDataFetcherSpec.groovy:36)
```
</details>
<details>
<summary><strong>UpdateEntityDataFetcherSpec > test get</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786">CI / Build Grails-Core (macos-latest, 21)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke "org.grails.datastore.mapping.services.ServiceRegistry.getService(java.lang.Class)" because "datastore" is null
at org.grails.gorm.graphql.fetcher.DefaultGormDataFetcher.withTransaction(DefaultGormDataFetcher.groovy:135)
at org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcher.get(UpdateEntityDataFetcher.groovy:48)
at org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec.test get(UpdateEntityDataFetcherSpec.groovy:48)
```
</details>
<details>
<summary><strong>UpdateEntityDataFetcherSpec > test optimistic locking</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786">CI / Build Grails-Core (macos-latest, 21)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke "org.grails.datastore.mapping.services.ServiceRegistry.getService(java.lang.Class)" because "datastore" is null
at org.grails.gorm.graphql.fetcher.DefaultGormDataFetcher.withTransaction(DefaultGormDataFetcher.groovy:135)
at org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcher.get(UpdateEntityDataFetcher.groovy:48)
at org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec.test optimistic locking(UpdateEntityDataFetcherSpec.groovy:69)
```
</details>
<details>
<summary><strong>UpdateEntityDataFetcherSpec > test optimistic locking with null version</strong> (:grails-data-graphql-core:test in <a href="https://github.com/apache/grails-core/actions/runs/28306181709/job/83862589250?pr=15786">CI / Build Grails-Core (macos-latest, 21)</a>)</summary>
```
java.lang.NullPointerException: Cannot invoke "org.grails.datastore.mapping.services.ServiceRegistry.getService(java.lang.Class)" because "datastore" is null
at org.grails.gorm.graphql.fetcher.DefaultGormDataFetcher.withTransaction(DefaultGormDataFetcher.groovy:135)
at org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcher.get(UpdateEntityDataFetcher.groovy:48)
at org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec.test optimistic locking with null version(UpdateEntityDataFetcherSpec.groovy:88)
```
</details>
### Muted Tests
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 CreateEntityDataFetcherSpec > test get <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.CreateEntityDataFetcherSpec]/[feature:$spock_feature_1_0] -->
🔲 DeleteEntityDataFetcherSpec > test get <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec]/[feature:$spock_feature_1_0] -->
🔲 DeleteEntityDataFetcherSpec > test get invalid <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.DeleteEntityDataFetcherSpec]/[feature:$spock_feature_1_1] -->
🔲 EntityDataFetcherSpec <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.EntityDataFetcherSpec] -->
🔲 SingleEntityDataFetcherSpec <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.SingleEntityDataFetcherSpec] -->
🔲 SoftDeleteEntityDataFetcherSpec <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.SoftDeleteEntityDataFetcherSpec] -->
🔲 UpdateEntityDataFetcherSpec > test get <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec]/[feature:$spock_feature_1_0] -->
🔲 UpdateEntityDataFetcherSpec > test optimistic locking <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec]/[feature:$spock_feature_1_1] -->
🔲 UpdateEntityDataFetcherSpec > test optimistic locking with null version <!-- uniqueId=[engine:spock]/[spec:org.grails.gorm.graphql.fetcher.impl.UpdateEntityDataFetcherSpec]/[feature:$spock_feature_1_2] -->
Reuse successful test results:
🔲 ♻️ Only rerun the tests that failed or were muted before
Click the checkbox to trigger a rerun:
🔲 **Rerun jobs**
---
_Learn more about TestLens at [testlens.app](https://testlens.app)._
--
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] feat: wire GraphQL and support module adapters to GormRegistry O(M+N) scaling [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15786:
URL: https://github.com/apache/grails-core/pull/15786#issuecomment-4823842651
## 🚨 TestLens detected 933 failed tests 🚨
Here is what you can do:
1) Inspect the test failures carefully.
2) If you are convinced that some of the tests are flaky, you can mute them below.
3) Finally, trigger a rerun by checking the rerun checkbox.
### Test Summary
#### [CI / Functional Tests \(Java 21, indy\=false\)](https://github.com/apache/grails-core/actions/runs/28306903572/job/83864607380?pr=15786) > :grails-test-examples-gorm:integrationTest (first 40 of 226)
| Test | Runs |
|---|---|
| AbstractParentSpec > Test that persisting a domain class with an abstract parent works | ❌ |
| BindingOutsideRequestSpec > Save nested company nested with webrequest | ❌ |
| BindingOutsideRequestSpec > Save nested company without webrequest \(Quartz/Bpotstrap\) | ❌ |
| BookSpec > Test dynamic finders work | ❌ |
| DirtyCheckBindingSpec > bindData over HTTP does not bind id or version on a domain extending a \@DirtyCheck base | ❌ |
| DirtyCheckBindingSpec > binding only a regular property over HTTP leaves id and version null | ❌ |
| ExistsSpec > exists returns correct result with multiple rows in table | ❌ |
| ExistsSpec > exists returns false for non-existent id | ❌ |
| ExistsSpec > exists returns true for persisted entity | ❌ |
| FieldsValidationSpec > author email validation shows error for invalid format | ❌ |
| GormCascadeOperationsSpec > test addTo creates bidirectional link | ❌ |
| GormCascadeOperationsSpec > test batch insert with associations | ❌ |
| GormCascadeOperationsSpec > test belongsTo allows orphan removal | ❌ |
| GormCascadeOperationsSpec > test bidirectional navigation | ❌ |
| GormCascadeOperationsSpec > test cascade save with nested new objects | ❌ |
| GormCascadeOperationsSpec > test collection operations on hasMany | ❌ |
| GormCascadeOperationsSpec > test deleting child does not delete parent | ❌ |
| GormCascadeOperationsSpec > test dirty checking with associations | ❌ |
| GormCascadeOperationsSpec > test hasMany cascade save for City and Users | ❌ |
| GormCascadeOperationsSpec > test lazy loading of associations | ❌ |
| GormCascadeOperationsSpec > test removeFrom breaks bidirectional link | ❌ |
| GormCascadeOperationsSpec > test removing user from city | ❌ |
| GormCascadeOperationsSpec > test saving child with belongsTo saves parent reference | ❌ |
| GormCascadeOperationsSpec > test saving parent cascades to children with addTo | ❌ |
| GormCascadeOperationsSpec > test updating multiple children | ❌ |
| GormCascadeOperationsSpec > test updating parent does not affect children unless changed | ❌ |
| GormCriteriaQueriesSpec > test HQL aggregate functions | ❌ |
| GormCriteriaQueriesSpec > test HQL group by | ❌ |
| GormCriteriaQueriesSpec > test HQL join query | ❌ |
| GormCriteriaQueriesSpec > test HQL with named parameters | ❌ |
| GormCriteriaQueriesSpec > test HQL with pagination | ❌ |
| GormCriteriaQueriesSpec > test HQL with positional parameters | ❌ |
| GormCriteriaQueriesSpec > test basic HQL query | ❌ |
| GormCriteriaQueriesSpec > test criteria with association | ❌ |
| GormCriteriaQueriesSpec > test criteria with association property | ❌ |
| GormCriteriaQueriesSpec > test criteria with avg projection | ❌ |
| GormCriteriaQueriesSpec > test criteria with between restriction | ❌ |
| GormCriteriaQueriesSpec > test criteria with count projection | ❌ |
| GormCriteriaQueriesSpec > test criteria with different comparison operators: \#description | ❌ |
| GormCriteriaQueriesSpec > test criteria with different comparison operators: \#description > test criteria with different comparison operators: eq | ❌ |
#### [CI / Functional Tests \(Java 21, indy\=true\)](https://github.com/apache/grails-core/actions/runs/28306903572/job/83864607404?pr=15786) > :grails-test-examples-gorm:integrationTest (first 40 of 226)
| Test | Runs |
|---|---|
| AbstractParentSpec > Test that persisting a domain class with an abstract parent works | ❌ |
| BindingOutsideRequestSpec > Save nested company nested with webrequest | ❌ |
| BindingOutsideRequestSpec > Save nested company without webrequest \(Quartz/Bpotstrap\) | ❌ |
| BookSpec > Test dynamic finders work | ❌ |
| DirtyCheckBindingSpec > bindData over HTTP does not bind id or version on a domain extending a \@DirtyCheck base | ❌ |
| DirtyCheckBindingSpec > binding only a regular property over HTTP leaves id and version null | ❌ |
| ExistsSpec > exists returns correct result with multiple rows in table | ❌ |
| ExistsSpec > exists returns false for non-existent id | ❌ |
| ExistsSpec > exists returns true for persisted entity | ❌ |
| FieldsValidationSpec > author email validation shows error for invalid format | ❌ |
| GormCascadeOperationsSpec > test addTo creates bidirectional link | ❌ |
| GormCascadeOperationsSpec > test batch insert with associations | ❌ |
| GormCascadeOperationsSpec > test belongsTo allows orphan removal | ❌ |
| GormCascadeOperationsSpec > test bidirectional navigation | ❌ |
| GormCascadeOperationsSpec > test cascade save with nested new objects | ❌ |
| GormCascadeOperationsSpec > test collection operations on hasMany | ❌ |
| GormCascadeOperationsSpec > test deleting child does not delete parent | ❌ |
| GormCascadeOperationsSpec > test dirty checking with associations | ❌ |
| GormCascadeOperationsSpec > test hasMany cascade save for City and Users | ❌ |
| GormCascadeOperationsSpec > test lazy loading of associations | ❌ |
| GormCascadeOperationsSpec > test removeFrom breaks bidirectional link | ❌ |
| GormCascadeOperationsSpec > test removing user from city | ❌ |
| GormCascadeOperationsSpec > test saving child with belongsTo saves parent reference | ❌ |
| GormCascadeOperationsSpec > test saving parent cascades to children with addTo | ❌ |
| GormCascadeOperationsSpec > test updating multiple children | ❌ |
| GormCascadeOperationsSpec > test updating parent does not affect children unless changed | ❌ |
| GormCriteriaQueriesSpec > test HQL aggregate functions | ❌ |
| GormCriteriaQueriesSpec > test HQL group by | ❌ |
| GormCriteriaQueriesSpec > test HQL join query | ❌ |
| GormCriteriaQueriesSpec > test HQL with named parameters | ❌ |
| GormCriteriaQueriesSpec > test HQL with pagination | ❌ |
| GormCriteriaQueriesSpec > test HQL with positional parameters | ❌ |
| GormCriteriaQueriesSpec > test basic HQL query | ❌ |
| GormCriteriaQueriesSpec > test criteria with association | ❌ |
| GormCriteriaQueriesSpec > test criteria with association property | ❌ |
| GormCriteriaQueriesSpec > test criteria with avg projection | ❌ |
| GormCriteriaQueriesSpec > test criteria with between restriction | ❌ |
| GormCriteriaQueriesSpec > test criteria with count projection | ❌ |
| GormCriteriaQueriesSpec > test criteria with different comparison operators: \#description | ❌ |
| GormCriteriaQueriesSpec > test criteria with different comparison operators: \#description > test criteria with different comparison operators: eq | ❌ |
#### [CI / Functional Tests \(Java 25, indy\=false\)](https://github.com/apache/grails-core/actions/runs/28306903572/job/83864607387?pr=15786) > :grails-test-examples-gorm:integrationTest (first 40 of 226)
| Test | Runs |
|---|---|
| AbstractParentSpec > Test that persisting a domain class with an abstract parent works | ❌ |
| BindingOutsideRequestSpec > Save nested company nested with webrequest | ❌ |
| BindingOutsideRequestSpec > Save nested company without webrequest \(Quartz/Bpotstrap\) | ❌ |
| BookSpec > Test dynamic finders work | ❌ |
| DirtyCheckBindingSpec > bindData over HTTP does not bind id or version on a domain extending a \@DirtyCheck base | ❌ |
| DirtyCheckBindingSpec > binding only a regular property over HTTP leaves id and version null | ❌ |
| ExistsSpec > exists returns correct result with multiple rows in table | ❌ |
| ExistsSpec > exists returns false for non-existent id | ❌ |
| ExistsSpec > exists returns true for persisted entity | ❌ |
| FieldsValidationSpec > author email validation shows error for invalid format | ❌ |
| GormCascadeOperationsSpec > test addTo creates bidirectional link | ❌ |
| GormCascadeOperationsSpec > test batch insert with associations | ❌ |
| GormCascadeOperationsSpec > test belongsTo allows orphan removal | ❌ |
| GormCascadeOperationsSpec > test bidirectional navigation | ❌ |
| GormCascadeOperationsSpec > test cascade save with nested new objects | ❌ |
| GormCascadeOperationsSpec > test collection operations on hasMany | ❌ |
| GormCascadeOperationsSpec > test deleting child does not delete parent | ❌ |
| GormCascadeOperationsSpec > test dirty checking with associations | ❌ |
| GormCascadeOperationsSpec > test hasMany cascade save for City and Users | ❌ |
| GormCascadeOperationsSpec > test lazy loading of associations | ❌ |
| GormCascadeOperationsSpec > test removeFrom breaks bidirectional link | ❌ |
| GormCascadeOperationsSpec > test removing user from city | ❌ |
| GormCascadeOperationsSpec > test saving child with belongsTo saves parent reference | ❌ |
| GormCascadeOperationsSpec > test saving parent cascades to children with addTo | ❌ |
| GormCascadeOperationsSpec > test updating multiple children | ❌ |
| GormCascadeOperationsSpec > test updating parent does not affect children unless changed | ❌ |
| GormCriteriaQueriesSpec > test HQL aggregate functions | ❌ |
| GormCriteriaQueriesSpec > test HQL group by | ❌ |
| GormCriteriaQueriesSpec > test HQL join query | ❌ |
| GormCriteriaQueriesSpec > test HQL with named parameters | ❌ |
| GormCriteriaQueriesSpec > test HQL with pagination | ❌ |
| GormCriteriaQueriesSpec > test HQL with positional parameters | ❌ |
| GormCriteriaQueriesSpec > test basic HQL query | ❌ |
| GormCriteriaQueriesSpec > test criteria with association | ❌ |
| GormCriteriaQueriesSpec > test criteria with association property | ❌ |
| GormCriteriaQueriesSpec > test criteria with avg projection | ❌ |
| GormCriteriaQueriesSpec > test criteria with between restriction | ❌ |
| GormCriteriaQueriesSpec > test criteria with count projection | ❌ |
| GormCriteriaQueriesSpec > test criteria with different comparison operators: \#description | ❌ |
| GormCriteriaQueriesSpec > test criteria with different comparison operators: \#description > test criteria with different comparison operators: eq | ❌ |
#### [SiteMesh 2 Compatibility / SiteMesh 2 Functional Tests \(Java 21, indy\=false\)](https://github.com/apache/grails-core/actions/runs/28306903560/job/83864606582?pr=15786) > :grails-test-examples-datasources:integrationTest
| Test | Runs |
|---|---|
| CrossDatasourceTransactionSpec > REQUIRES\_NEW creates independent transaction | ❌ |
| CrossDatasourceTransactionSpec > chained transaction manager coordinates transactions across datasources | ❌ |
| CrossDatasourceTransactionSpec > count operations are datasource-specific | ❌ |
| CrossDatasourceTransactionSpec > detached objects can be reattached in different transactions | ❌ |
| CrossDatasourceTransactionSpec > error in primary datasource does not affect already-committed secondary | ❌ |
| CrossDatasourceTransactionSpec > error in secondary datasource can be caught without affecting primary | ❌ |
| CrossDatasourceTransactionSpec > flush mode can be controlled within session | ❌ |
| CrossDatasourceTransactionSpec > nested transactions work correctly | ❌ |
| CrossDatasourceTransactionSpec > operations on both datasources within single test method | ❌ |
| CrossDatasourceTransactionSpec > read-only transactions work correctly | ❌ |
| CrossDatasourceTransactionSpec > withNewSession creates new Hibernate session | ❌ |
| DatasourceSwitchingSpec > CRUD operations work independently on each datasource | ❌ |
| DatasourceSwitchingSpec > batch insert works on each datasource | ❌ |
| DatasourceSwitchingSpec > bulk delete works on each datasource | ❌ |
| DatasourceSwitchingSpec > count operations work correctly on each datasource | ❌ |
| DatasourceSwitchingSpec > createCriteria routes to secondary datasource | ❌ |
| DatasourceSwitchingSpec > data in primary datasource is isolated from secondary | ❌ |
| DatasourceSwitchingSpec > dynamic finders work on each datasource independently | ❌ |
| DatasourceSwitchingSpec > executeQuery routes to secondary datasource | ❌ |
| DatasourceSwitchingSpec > executeUpdate routes to secondary datasource | ❌ |
| DatasourceSwitchingSpec > findAll with criteria works on each datasource | ❌ |
| DatasourceSwitchingSpec > rollback in one datasource does not affect other | ❌ |
| DatasourceSwitchingSpec > same entity name in different packages uses different datasources | ❌ |
| DatasourceSwitchingSpec > secondary namespace API provides access to secondary datasource | ❌ |
| DatasourceSwitchingSpec > transactions are independent between datasources | ❌ |
| DatasourceSwitchingSpec > where queries work on each datasource | ❌ |
| DatasourceSwitchingSpec > withCriteria routes to secondary datasource | ❌ |
| MultipleDataSourcesSpec > Test multiple data source persistence | ❌ |
| OsivGspRenderingSpec > OSIV keeps secondary datasource session open during GSP view rendering | ❌ |
#### [SiteMesh 2 Compatibility / SiteMesh 2 Functional Tests \(Java 21, indy\=false\)](https://github.com/apache/grails-core/actions/runs/28306903560/job/83864606582?pr=15786) > :grails-test-examples-gorm:integrationTest (first 40 of 226)
| Test | Runs |
|---|---|
| AbstractParentSpec > Test that persisting a domain class with an abstract parent works | ❌ |
| BindingOutsideRequestSpec > Save nested company nested with webrequest | ❌ |
| BindingOutsideRequestSpec > Save nested company without webrequest \(Quartz/Bpotstrap\) | ❌ |
| BookSpec > Test dynamic finders work | ❌ |
| DirtyCheckBindingSpec > bindData over HTTP does not bind id or version on a domain extending a \@DirtyCheck base | ❌ |
| DirtyCheckBindingSpec > binding only a regular property over HTTP leaves id and version null | ❌ |
| ExistsSpec > exists returns correct result with multiple rows in table | ❌ |
| ExistsSpec > exists returns false for non-existent id | ❌ |
| ExistsSpec > exists returns true for persisted entity | ❌ |
| FieldsValidationSpec > author email validation shows error for invalid format | ❌ |
| GormCascadeOperationsSpec > test addTo creates bidirectional link | ❌ |
| GormCascadeOperationsSpec > test batch insert with associations | ❌ |
| GormCascadeOperationsSpec > test belongsTo allows orphan removal | ❌ |
| GormCascadeOperationsSpec > test bidirectional navigation | ❌ |
| GormCascadeOperationsSpec > test cascade save with nested new objects | ❌ |
| GormCascadeOperationsSpec > test collection operations on hasMany | ❌ |
| GormCascadeOperationsSpec > test deleting child does not delete parent | ❌ |
| GormCascadeOperationsSpec > test dirty checking with associations | ❌ |
| GormCascadeOperationsSpec > test hasMany cascade save for City and Users | ❌ |
| GormCascadeOperationsSpec > test lazy loading of associations | ❌ |
| GormCascadeOperationsSpec > test removeFrom breaks bidirectional link | ❌ |
| GormCascadeOperationsSpec > test removing user from city | ❌ |
| GormCascadeOperationsSpec > test saving child with belongsTo saves parent reference | ❌ |
| GormCascadeOperationsSpec > test saving parent cascades to children with addTo | ❌ |
| GormCascadeOperationsSpec > test updating multiple children | ❌ |
| GormCascadeOperationsSpec > test updating parent does not affect children unless changed | ❌ |
| GormCriteriaQueriesSpec > test HQL aggregate functions | ❌ |
| GormCriteriaQueriesSpec > test HQL group by | ❌ |
| GormCriteriaQueriesSpec > test HQL join query | ❌ |
| GormCriteriaQueriesSpec > test HQL with named parameters | ❌ |
| GormCriteriaQueriesSpec > test HQL with pagination | ❌ |
| GormCriteriaQueriesSpec > test HQL with positional parameters | ❌ |
| GormCriteriaQueriesSpec > test basic HQL query | ❌ |
| GormCriteriaQueriesSpec > test criteria with association | ❌ |
| GormCriteriaQueriesSpec > test criteria with association property | ❌ |
| GormCriteriaQueriesSpec > test criteria with avg projection | ❌ |
| GormCriteriaQueriesSpec > test criteria with between restriction | ❌ |
| GormCriteriaQueriesSpec > test criteria with count projection | ❌ |
| GormCriteriaQueriesSpec > test criteria with different comparison operators: \#description | ❌ |
| GormCriteriaQueriesSpec > test criteria with different comparison operators: \#description > test criteria with different comparison operators: eq | ❌ |
🏷️ Commit: edbbbb46c1876774ddd752df119cab018263d2b4
▶️ Tests: 2177 executed
🟡 Checks: 22/35 completed
### Test Failures (first 10 of 933)
<details>
<summary><strong>AbstractParentSpec > Test that persisting a domain class with an abstract parent works</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306903572/job/83864607380?pr=15786">CI / Functional Tests (Java 21, indy=false)</a>)</summary>
```
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@65c5a4bf testClass = gorm.AbstractParentSpec, locations = [], classes = [gorm.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.spockframework.spring.mock.SpockContextCustomizer@0, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@186d8a71, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3e546734, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7f0b93b4, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.springframework.boot.test.context.SpringBootTe
stAnnotation@b1d74b9a], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:195)
at org.springframework.test.context.cache.DefaultContextCache.put(DefaultContextCache.java:214)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:160)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.IllegalStateException: No PlatformTransactionManager set
at org.springframework.util.Assert.state(Assert.java:80)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
at grails.gorm.transactions.GrailsTransactionTemplate.execute(GrailsTransactionTemplate.groovy:115)
at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:642)
at org.grails.datastore.gorm.GormEntity$Trait$Helper.withTransaction(GormEntity.groovy:1049)
at gorm.BootStrap$_closure1.doCall(BootStrap.groovy:25)
at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.groovy:572)
at grails.util.Environment.executeForEnvironment(Environment.groovy:565)
at grails.util.Environment.executeForCurrentEnvironment(Environment.groovy:541)
at org.grails.web.servlet.boostrap.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:71)
at org.grails.web.servlet.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:74)
at org.grails.plugins.web.servlet.context.BootStrapClassRunner.onStartup(BootStrapClassRunner.groovy:59)
at grails.boot.config.GrailsApplicationPostProcessor.onApplicationEvent(GrailsApplicationPostProcessor.groovy:293)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:180)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:173)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:151)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:448)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:381)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:1016)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624)
at org.springframework.boot.web.server.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:756)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:445)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
at grails.boot.GrailsApp.run(GrailsApp.groovy:111)
at grails.boot.GrailsApp.run(GrailsApp.groovy:421)
at grails.boot.GrailsApp.run(GrailsApp.groovy:410)
at gorm.Application.main(Application.groovy:27)
at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:281)
at org.springframework.boot.test.context.SpringBootContextLoader.lambda$loadContext$1(SpringBootContextLoader.java:148)
at org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.lambda$runMain$0(SpringBootContextLoader.java:593)
at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:58)
at org.springframework.util.function.ThrowingSupplier.get(ThrowingSupplier.java:46)
at org.springframework.boot.SpringApplication.withHook(SpringApplication.java:1465)
at org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.run(SpringBootContextLoader.java:600)
at org.springframework.boot.test.context.SpringBootContextLoader$ContextLoaderHook.runMain(SpringBootContextLoader.java:592)
at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:143)
at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:114)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:247)
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.lambda$loadContext$0(DefaultCacheAwareContextLoaderDelegate.java:167)
... 17 more
```
</details>
<details>
<summary><strong>BindingOutsideRequestSpec > Save nested company nested with webrequest</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306903572/job/83864607380?pr=15786">CI / Functional Tests (Java 21, indy=false)</a>)</summary>
```
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@67534bfc testClass = gorm.BindingOutsideRequestSpec, locations = [], classes = [gorm.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.spockframework.spring.mock.SpockContextCustomizer@0, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@186d8a71, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3e546734, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7f0b93b4, org.springframework.test.context.support.DynamicPropertiesConte
xtCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@b1d74b9a], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
```
</details>
<details>
<summary><strong>BindingOutsideRequestSpec > Save nested company without webrequest (Quartz/Bpotstrap)</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306903572/job/83864607380?pr=15786">CI / Functional Tests (Java 21, indy=false)</a>)</summary>
```
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@67534bfc testClass = gorm.BindingOutsideRequestSpec, locations = [], classes = [gorm.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.spockframework.spring.mock.SpockContextCustomizer@0, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@186d8a71, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3e546734, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7f0b93b4, org.springframework.test.context.support.DynamicPropertiesConte
xtCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@b1d74b9a], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
```
</details>
<details>
<summary><strong>BookSpec > Test dynamic finders work</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306903572/job/83864607380?pr=15786">CI / Functional Tests (Java 21, indy=false)</a>)</summary>
```
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@289e504f testClass = gorm.BookSpec, locations = [], classes = [gorm.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.spockframework.spring.mock.SpockContextCustomizer@0, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@186d8a71, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3e546734, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7f0b93b4, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, o
rg.springframework.boot.test.context.SpringBootTestAnnotation@b1d74b9a], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
```
</details>
<details>
<summary><strong>DirtyCheckBindingSpec > bindData over HTTP does not bind id or version on a domain extending a @DirtyCheck base</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306903572/job/83864607380?pr=15786">CI / Functional Tests (Java 21, indy=false)</a>)</summary>
```
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@67aa514a testClass = gorm.DirtyCheckBindingSpec, locations = [], classes = [gorm.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.spockframework.spring.mock.SpockContextCustomizer@0, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@186d8a71, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3e546734, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7f0b93b4, org.springframework.test.context.support.DynamicPropertiesContextCu
stomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@b1d74b9a], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
```
</details>
<details>
<summary><strong>DirtyCheckBindingSpec > binding only a regular property over HTTP leaves id and version null</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306903572/job/83864607380?pr=15786">CI / Functional Tests (Java 21, indy=false)</a>)</summary>
```
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@67aa514a testClass = gorm.DirtyCheckBindingSpec, locations = [], classes = [gorm.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.spockframework.spring.mock.SpockContextCustomizer@0, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@186d8a71, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3e546734, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7f0b93b4, org.springframework.test.context.support.DynamicPropertiesContextCu
stomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@b1d74b9a], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
```
</details>
<details>
<summary><strong>ExistsSpec > exists returns correct result with multiple rows in table</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306903572/job/83864607380?pr=15786">CI / Functional Tests (Java 21, indy=false)</a>)</summary>
```
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@364cc95 testClass = gorm.ExistsSpec, locations = [], classes = [gorm.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.spockframework.spring.mock.SpockContextCustomizer@0, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@186d8a71, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3e546734, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7f0b93b4, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0,
org.springframework.boot.test.context.SpringBootTestAnnotation@b1d74b9a], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
```
</details>
<details>
<summary><strong>ExistsSpec > exists returns false for non-existent id</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306903572/job/83864607380?pr=15786">CI / Functional Tests (Java 21, indy=false)</a>)</summary>
```
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@364cc95 testClass = gorm.ExistsSpec, locations = [], classes = [gorm.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.spockframework.spring.mock.SpockContextCustomizer@0, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@186d8a71, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3e546734, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7f0b93b4, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0,
org.springframework.boot.test.context.SpringBootTestAnnotation@b1d74b9a], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
```
</details>
<details>
<summary><strong>ExistsSpec > exists returns true for persisted entity</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306903572/job/83864607380?pr=15786">CI / Functional Tests (Java 21, indy=false)</a>)</summary>
```
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@364cc95 testClass = gorm.ExistsSpec, locations = [], classes = [gorm.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.spockframework.spring.mock.SpockContextCustomizer@0, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@186d8a71, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3e546734, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7f0b93b4, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0,
org.springframework.boot.test.context.SpringBootTestAnnotation@b1d74b9a], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
```
</details>
<details>
<summary><strong>FieldsValidationSpec > author email validation shows error for invalid format</strong> (:grails-test-examples-gorm:integrationTest in <a href="https://github.com/apache/grails-core/actions/runs/28306903572/job/83864607380?pr=15786">CI / Functional Tests (Java 21, indy=false)</a>)</summary>
```
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@421bcbad testClass = gorm.FieldsValidationSpec, locations = [], classes = [gorm.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.spockframework.spring.mock.SpockContextCustomizer@0, org.springframework.boot.web.server.context.SpringBootTestRandomPortContextCustomizer@186d8a71, org.springframework.boot.test.context.PropertyMappingContextCustomizer@0, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@3e546734, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7f0b93b4, org.springframework.test.context.support.DynamicPropertiesContextCus
tomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@b1d74b9a], resourceBasePath = "src/main/webapp", contextLoader = grails.boot.test.GrailsApplicationContextLoader, parent = null]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:157)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:128)
at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:277)
at org.spockframework.spring.SpringTestContext.getApplicationContext(SpringTestContext.java:49)
at org.spockframework.spring.SpringMockTestExecutionListener.injectSpies(SpringMockTestExecutionListener.java:66)
at org.spockframework.spring.SpringMockTestExecutionListener.prepareTestInstance(SpringMockTestExecutionListener.java:62)
at org.spockframework.spring.AbstractSpringTestExecutionListener.prepareTestInstance(AbstractSpringTestExecutionListener.java:32)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
at org.spockframework.spring.SpringTestContextManager.prepareTestInstance(SpringTestContextManager.java:56)
at org.spockframework.spring.SpringInterceptor.interceptInitializerMethod(SpringInterceptor.java:46)
at org.spockframework.runtime.extension.AbstractMethodInterceptor.intercept(AbstractMethodInterceptor.java:24)
at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:157)
at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:141)
at grails.plugin.geb.GrailsContainerGebExtension.visitSpec_closure4(GrailsContainerGebExtension.groovy:105)
at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:139)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
```
</details>
### Muted Tests (first 20 of 933)
> [!NOTE]
> Checks are currently running using the configuration below.
Select tests to mute in this pull request:
🔲 AbstractParentSpec > Test that persisting a domain class with an abstract parent works <!-- uniqueId=[engine:spock]/[spec:gorm.AbstractParentSpec]/[feature:$spock_feature_0_0] -->
🔲 BindingOutsideRequestSpec > Save nested company nested with webrequest <!-- uniqueId=[engine:spock]/[spec:gorm.BindingOutsideRequestSpec]/[feature:$spock_feature_0_1] -->
🔲 BindingOutsideRequestSpec > Save nested company without webrequest \(Quartz/Bpotstrap\) <!-- uniqueId=[engine:spock]/[spec:gorm.BindingOutsideRequestSpec]/[feature:$spock_feature_0_0] -->
🔲 BookSpec > Test dynamic finders work <!-- uniqueId=[engine:spock]/[spec:gorm.BookSpec]/[feature:$spock_feature_0_0] -->
🔲 CrossDatasourceTransactionSpec > REQUIRES\_NEW creates independent transaction <!-- uniqueId=[engine:spock]/[spec:functionaltests.CrossDatasourceTransactionSpec]/[feature:$spock_feature_0_2] -->
🔲 CrossDatasourceTransactionSpec > chained transaction manager coordinates transactions across datasources <!-- uniqueId=[engine:spock]/[spec:functionaltests.CrossDatasourceTransactionSpec]/[feature:$spock_feature_0_0] -->
🔲 CrossDatasourceTransactionSpec > count operations are datasource-specific <!-- uniqueId=[engine:spock]/[spec:functionaltests.CrossDatasourceTransactionSpec]/[feature:$spock_feature_0_11] -->
🔲 CrossDatasourceTransactionSpec > detached objects can be reattached in different transactions <!-- uniqueId=[engine:spock]/[spec:functionaltests.CrossDatasourceTransactionSpec]/[feature:$spock_feature_0_8] -->
🔲 CrossDatasourceTransactionSpec > error in primary datasource does not affect already-committed secondary <!-- uniqueId=[engine:spock]/[spec:functionaltests.CrossDatasourceTransactionSpec]/[feature:$spock_feature_0_4] -->
🔲 CrossDatasourceTransactionSpec > error in secondary datasource can be caught without affecting primary <!-- uniqueId=[engine:spock]/[spec:functionaltests.CrossDatasourceTransactionSpec]/[feature:$spock_feature_0_5] -->
🔲 CrossDatasourceTransactionSpec > flush mode can be controlled within session <!-- uniqueId=[engine:spock]/[spec:functionaltests.CrossDatasourceTransactionSpec]/[feature:$spock_feature_0_7] -->
🔲 CrossDatasourceTransactionSpec > nested transactions work correctly <!-- uniqueId=[engine:spock]/[spec:functionaltests.CrossDatasourceTransactionSpec]/[feature:$spock_feature_0_1] -->
🔲 CrossDatasourceTransactionSpec > operations on both datasources within single test method <!-- uniqueId=[engine:spock]/[spec:functionaltests.CrossDatasourceTransactionSpec]/[feature:$spock_feature_0_10] -->
🔲 CrossDatasourceTransactionSpec > read-only transactions work correctly <!-- uniqueId=[engine:spock]/[spec:functionaltests.CrossDatasourceTransactionSpec]/[feature:$spock_feature_0_3] -->
🔲 CrossDatasourceTransactionSpec > withNewSession creates new Hibernate session <!-- uniqueId=[engine:spock]/[spec:functionaltests.CrossDatasourceTransactionSpec]/[feature:$spock_feature_0_6] -->
🔲 DatasourceSwitchingSpec > CRUD operations work independently on each datasource <!-- uniqueId=[engine:spock]/[spec:functionaltests.DatasourceSwitchingSpec]/[feature:$spock_feature_0_2] -->
🔲 DatasourceSwitchingSpec > batch insert works on each datasource <!-- uniqueId=[engine:spock]/[spec:functionaltests.DatasourceSwitchingSpec]/[feature:$spock_feature_0_12] -->
🔲 DatasourceSwitchingSpec > bulk delete works on each datasource <!-- uniqueId=[engine:spock]/[spec:functionaltests.DatasourceSwitchingSpec]/[feature:$spock_feature_0_13] -->
🔲 DatasourceSwitchingSpec > count operations work correctly on each datasource <!-- uniqueId=[engine:spock]/[spec:functionaltests.DatasourceSwitchingSpec]/[feature:$spock_feature_0_9] -->
🔲 DatasourceSwitchingSpec > createCriteria routes to secondary datasource <!-- uniqueId=[engine:spock]/[spec:functionaltests.DatasourceSwitchingSpec]/[feature:$spock_feature_0_16] -->
Reuse successful test results:
🔲 ♻️ Only rerun the tests that failed or were muted before
Click the checkbox to trigger a rerun:
🔲 **Rerun jobs**
---
_Learn more about TestLens at [testlens.app](https://testlens.app)._
--
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