Skip to content

Suppress false-positive warning at startup - #53118

Open
vmuzikar wants to merge 1 commit into
keycloak:mainfrom
vmuzikar:supress-warning
Open

vmuzikar wants to merge 1 commit into
keycloak:mainfrom
vmuzikar:supress-warning

Conversation

@vmuzikar

Copy link
Copy Markdown
Contributor

This is a workaround for quarkusio/quarkus#56942

Closes #53106

This is a workaround for quarkusio/quarkus#56942

Closes keycloak#53106

Signed-off-by: Václav Muzikář <vmuzikar@ibm.com>
Copilot AI balanced review requested due to automatic review settings September 23, 2026 15:01
@vmuzikar
vmuzikar requested review from a team as code owners September 23, 2026 15:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The workaround is narrowly scoped, preserves existing filters, and existing startup tests reject unexpected warnings.

Review effort: Balanced
Findings: None

What changed in this PR

Suppresses a false-positive Quarkus startup warning when indexing REST endpoints returning void.

Changes:

  • Installs a targeted IndexWrapper log filter during RESTEasy configuration.
  • Preserves existing filtering and suppresses only the known warning signature.
File Description
quarkus/​deployment/​src/​main/​java/​org/​keycloak/​quarkus/​deployment/​KeycloakProcessor.java Adds the temporary Quarkus warning suppression.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@vmuzikar

Copy link
Copy Markdown
Contributor Author

An issue to remove the workaround: #53120

@michalvavrik michalvavrik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We may not need this workaround since original issue is only present in unreleased Keycloak (Quarkus 3.39) and based on comments in quarkusio/quarkus#56944 I hear is that the Quarkus platform version (not yet released) we shall consume may already be based on that. Let's wait.

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

Projects

None yet

3 participants