The GitHub Actions job "CI" on 
grails-core.git/fix/data-service-connection-routing has failed.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
07fb4937afe590291ff27992d2241797f92abe45 / James Fredley 
<[email protected]>
fix: route FindAndDeleteImplementer through connection-aware API + add tests

FindAndDeleteImplementer.buildReturnStatement() called entity.delete()
directly, bypassing connection routing — same class of bug as
SaveImplementer, DeleteImplementer, and 
AbstractDetachedCriteriaServiceImplementor.

Now checks findConnectionId() and routes through
GormEnhancer.findInstanceApi(domainClass, connectionId).delete() when
a connection qualifier is present.

Added ConnectionRoutingServiceTransformSpec with 6 Spock tests covering:
- save (single-entity + multi-param) with @Transactional(connection)
- delete by id (void, Number, domain-returning) with connection
- find/get by id with connection
- interface service with connection (all CRUD methods)
- regression: service without connection still compiles correctly
- runtime: connection-routed methods invoke GormEnhancer APIs

Report URL: https://github.com/apache/grails-core/actions/runs/22085353429

With regards,
GitHub Actions via GitBox

Reply via email to