Croway opened a new issue, #147:
URL: https://github.com/apache/camel-upgrade-recipes/issues/147

   No test runs the Camel Spring Boot latest aggregate, 
`org.apache.camel.upgrade.CamelSpringBootMigrationRecipe` 
(`camel-spring-boot-upgrade-recipes/.../latest.yaml`), end to end:
   
   - `LatestRecipeTest` only checks that `latest.yaml` references the 
`CamelSpringBootMigrationRecipe` of the highest version.
   - `CamelSpringBootParentVersionTest` and `CamelSpringBootBomVersionTest` run 
the 4.18 LTS aggregate, and `CamelSpringBoot422LtsVersionTest` the 4.22 LTS one.
   
   Since #146, the latest aggregate moves Spring Boot to 4.2.0 (Spring 
Framework 7.1.0, Security 7.2.0, Batch 6.1.0), while the nested Spring Boot 3 
-> 4 migrations target the 4.22 LTS line (4.1.3 / 7.0.11 / 7.1.3 / 6.0.6). It 
also swaps `spring-boot-starter-amqp` for `spring-boot-starter-rabbitmq` after 
the bump. None of this is tested through the aggregate itself.
   
   A test of the whole aggregate should cover at least:
   
   - a Spring Boot 4.1 project with the Spring Boot parent, ending on the Camel 
Spring Boot target and Spring Boot 4.2.0, with Spring Framework, Security and 
Batch on the versions of the Spring Boot 4.2 BOM;
   - the same with the versions in properties (`spring-boot.version`, 
`spring.version`, ...) and with literal Spring Security and Batch versions;
   - a Spring Boot 3 project, to check that the nested 3 -> 4 migration and the 
final 4.2 bump do not leave a mix of the 4.1 and 4.2 lines;
   - `camel-spring-rabbitmq-starter` with `spring-boot-starter-amqp`.
   
   An independent review of #146 also found that when the Camel Spring Boot 
target of the latest aggregate cannot be resolved, the later dependency recipes 
see stale Maven models and can leave Security and Batch on the 4.22 LTS line 
next to a Boot 4.2.0 parent. Such a test would catch that.
   
   Follow-up of the review on #146.
   
   _Claude Code on behalf of Federico Mariani_
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to