It looks like the code doesn't quite work how it was originally intended. This for instance also means that if the quarkus.datasource.devservices.image-name is explicitly set in application.properties it will always cause a restart of the dev-services in dev-mode.
Implementation ideas
I assume the idea was to only require a restart if any of the dev-service related properties were added / changed / deleted since the last start.
Description
Currently setting any dev-service property except for
quarkus.datasource.db-kind
results in a restart of all dev-services: https://github.com/quarkusio/quarkus/blob/0f0f0c309971ede46be4e8632a000408441a3562/extensions/datasource/deployment/src/main/java/io/quarkus/datasource/deployment/devservices/DevServicesDatasourceProcessor.java#L73-L82It looks like the code doesn't quite work how it was originally intended. This for instance also means that if the
quarkus.datasource.devservices.image-name
is explicitly set inapplication.properties
it will always cause a restart of the dev-services in dev-mode.Implementation ideas
I assume the idea was to only require a restart if any of the dev-service related properties were added / changed / deleted since the last start.