Skip to content

Add proper warning about missing Infinispan client#52441

Merged
gastaldi merged 3 commits intoquarkusio:mainfrom
geoand:#52431
Feb 7, 2026
Merged

Add proper warning about missing Infinispan client#52441
gastaldi merged 3 commits intoquarkusio:mainfrom
geoand:#52431

Conversation

@geoand
Copy link
Contributor

@geoand geoand commented Feb 6, 2026

@karesti
Copy link
Member

karesti commented Feb 6, 2026

@geoand thanks ! I was going to deal with it but nice !

return infinispanClientProducer.getNamedRemoteCacheManager(clientName);
RemoteCacheManager result = infinispanClientProducer.getNamedRemoteCacheManager(clientName);
if (result == null) {
if (clientName.startsWith(InfinispanClientUtil.DEFAULT_INFINISPAN_CLIENT_NAME)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@geoand do we need this if ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It allows to print a better error message

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it can be done in a single line without the if, but ok

@quarkus-bot
Copy link

quarkus-bot bot commented Feb 6, 2026

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 94cbe71.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@gastaldi gastaldi merged commit 298fb84 into quarkusio:main Feb 7, 2026
30 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.32 - main milestone Feb 7, 2026
@gsmet
Copy link
Member

gsmet commented Feb 10, 2026

Let's include in 3.32 only as there are conflicts on backport.

@gastaldi gastaldi deleted the #52431 branch February 10, 2026 18:47
@gastaldi
Copy link
Member

@gsmet if you want to backport this PR, you need to backport #52142 first

@gastaldi
Copy link
Member

Ah sorry, I was the one that added the backport label but haven't checked that the original one was not marked for backport. Let's have it in 3.32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Infinispan client with disabled devservices failing to start in dev mode

4 participants