This is an automated email from the ASF dual-hosted git repository. jdaugherty pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit fe980ab620af0444096380f9c92ce85ae67f4097 Merge: d6c18315a5 083ff519fb Author: James Daugherty <[email protected]> AuthorDate: Thu Oct 22 10:39:31 2026 -0400 [skip tests] Merge branch '8.1.x' into 9.0.x .agents/skills/gradle-developer/SKILL.md | 22 +- .sdkmanrc | 2 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- gradle.properties | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- .../grails/async/factory/rxjava3/RxPromise.groovy | 47 +- .../async/factory/rxjava3/RxPromiseFactory.groovy | 39 +- .../async/factory/rxjava3/RxPromiseListSpec.groovy | 76 ++++ .../async/factory/rxjava3/RxPromiseNullSpec.groovy | 98 +++++ .../async/factory/rxjava3/RxPromiseSpec.groovy | 16 +- .../config/GrailsApplicationPostProcessor.groovy | 30 +- ...ifactsAutowiredAnnotationBeanPostProcessor.java | 90 ++++ ...ArtifactsCommonAnnotationBeanPostProcessor.java | 79 ++++ .../grails/core/aot/GeneratedBeanDefinitions.java | 310 ++++++++++++++ ...ratedInjectionBeanRegistrationAotProcessor.java | 69 +++ .../main/resources/META-INF/spring/aot.factories | 1 + .../config/GeneratedArtifactsInjectionSpec.groovy | 475 +++++++++++++++++++++ ...icationPostProcessorAnnotationConfigSpec.groovy | 84 ++++ .../core/aot/GeneratedBeanDefinitionsSpec.groovy | 251 +++++++++++ ...njectionBeanRegistrationAotProcessorSpec.groovy | 117 +++++ .../orm/hibernate/cfg/GrailsDomainBinder.java | 10 +- .../tests/ManyToManyWithoutOwnerWarningSpec.groovy | 164 ++++++- .../domainClasses/gormAssociation/manyToMany.adoc | 23 + .../src/docs/asciidoc/services/rxServices.adoc | 13 + .../src/docs/asciidoc/services/rxServices.adoc | 13 + .../datastore/bson/codecs/CodecExtensions.groovy | 12 +- .../decoders/EmbeddedCollectionDecoder.groovy | 3 +- .../codecs/BsonPersistentEntityCodecSpec.groovy | 31 +- .../bson/codecs/CodecExtensionsSpec.groovy | 67 +++ .../decoders/EmbeddedCollectionDecoderSpec.groovy | 20 + .../MapKeysNamedLikeBeanPropertiesSpec.groovy | 130 ++++++ .../MongoLookupByIdMultiTenancySpec.groovy | 12 +- .../docs/src/docs/asciidoc/objectMapping.adoc | 2 + .../docs/asciidoc/objectMapping/dirtyChecking.adoc | 5 + .../multitenancy/LookupByIdMultiTenancySpec.groovy | 219 ++++++++++ .../asciidoc/multiTenancy/multiTenancyModes.adoc | 10 + .../grails/databinding/SimpleDataBinder.groovy | 11 +- .../databinding/CollectionBindingSpec.groovy | 15 + .../grails/databinding/SimpleDataBinderSpec.groovy | 14 + .../partitioned/PartitionedLookupByIdSpec.groovy | 12 +- .../grails/gorm/services/RxServiceImplSpec.groovy | 52 +++ .../org/grails/datastore/gorm/GormStaticApi.groovy | 87 ++-- .../grails/datastore/gorm/GormStaticApiSpec.groovy | 72 ++++ .../implementers/ObservableResultAdapter.groovy | 10 +- .../implementers/SingleResultAdapter.groovy | 7 +- .../ObservableResultAdapterSpec.groovy | 39 ++ .../ObservableServiceTransformSpec.groovy | 82 ++++ .../implementers/SingleResultAdapterSpec.groovy | 19 + .../mapping/dirty/checking/DirtyCheckingMap.groovy | 43 +- .../checking/DirtyCheckingCollectionSpec.groovy | 105 +++++ grails-doc/src/en/guide/REST/openApi.adoc | 21 + .../src/en/guide/deployment/deploymentAot.adoc | 4 +- .../guide/theWebLayer/controllers/dataBinding.adoc | 2 + .../src/en/guide/upgrading/upgrading80x.adoc | 31 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- .../groovy/org/grails/forge/cli/CommandSpec.groovy | 8 + .../forge/cli/CommandSpecBuildFailureSpec.groovy | 53 +++ .../feature/build/gradle/templates/buildGradle.gsp | 5 +- .../gradle/templates/gradleWrapperProperties.gsp | 2 +- .../grails/forge/feature/api/OpenApiSpec.groovy | 16 + .../feature/assetPipeline/AssetPipelineSpec.groovy | 4 +- .../forge/features/openapi/OpenApiBuildSpec.groovy | 44 ++ .../gradle/wrapper/gradle-wrapper.properties | 2 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- .../gradle/wrapper/gradle-wrapper.properties | 2 +- .../skills/grails-8-upgrade/SKILL.md | 2 +- .../web/databinding/GrailsWebDataBinderSpec.groovy | 49 +++ ...GrailsWebDataBindingStructuredEditorSpec.groovy | 15 + .../web/databinding/GrailsWebDataBinder.groovy | 11 +- .../AbstractStructuredBindingEditor.groovy | 3 +- 72 files changed, 3262 insertions(+), 134 deletions(-) diff --cc grails-forge/grails-forge-cli/src/test/groovy/org/grails/forge/cli/CommandSpec.groovy index af1b4e5a42,0608f5195e..55be8f0ae8 --- a/grails-forge/grails-forge-cli/src/test/groovy/org/grails/forge/cli/CommandSpec.groovy +++ b/grails-forge/grails-forge-cli/src/test/groovy/org/grails/forge/cli/CommandSpec.groovy @@@ -118,8 -121,14 +121,13 @@@ class CommandSpec extends Specificatio } } - private Process executeCommand(StringBuilder builder) { - String[] args = builder.toString().split(' ') + private Process executeCommand(List<String> args) { ProcessBuilder pb = new ProcessBuilder(args) + // Gradle writes its failure report to stderr. Merge it into the stream the consumer thread + // drains, so that the report reaches the assertion message and a failed build cannot sit + // on a full pipe nobody reads for the whole poll budget once the report, with -S, outgrows + // the pipe buffer. + pb.redirectErrorStream(true) pb.environment().put('JAVA_HOME', System.getenv('JAVA_HOME') ?: System.getProperty('java.home')) pb.environment().put('GRAILS_REPO_URL', System.getenv('GRAILS_REPO_URL') ?: null) process = pb.directory(dir).start()
