BootUI
Try it
Setup
Features
Workshop
Properties
AI agents
Ecosystem
GitHub
Try it
Setup
Features
Workshop
Properties
AI agents
Ecosystem
GitHub
  • Get started

    • Try the sample app
    • Setup
    • Spring WebFlux
    • Quarkus
    • CI/CD and GitHub Actions
    • Java agent
    • Activation and safety
    • Non-standard runtimes
    • Troubleshooting
  • Features

    • All features
    • Scorecard
    • Live Activity
    • Runtime Insights
    • Advisors
    • Runtime
    • Configuration
    • Database
    • Security
    • Services
    • Diagnostics
    • Java Agent
    • Developer tools
  • Workshop

    • Workshop overview
    • 00 - Runtime understanding
    • 01 - Setup and tooling
    • 02 - Configuration and wiring
    • 03 - Runtime journal
    • 04 - Runtime Insights
    • 05 - Java instrumentation
    • 06 - Assessment and impact
    • 07 - Agent change loop
    • 08 - Going further
    • Participant worksheet
    • A - Prompts
    • B - Troubleshooting
    • C - Frameworks
    • D - Extensions
  • Reference

    • Properties
    • Framework support
    • AI agents
    • Command line
    • Framework-managed CI tests
    • CI reference
    • BootUI family
    • Known limitations
  • Diagnostic checks

    • Architecture
    • REST API
    • Spring
    • Hibernate
    • Database
    • Security
    • Vulnerabilities
    • Memory
    • Pentesting
    • GraalVM readiness
    • CRaC readiness
    • Quarkus
    • Quarkus security
  • Contributing

    • Repository
    • Specification
    • Roadmap
    • 2.0 design record
    • Try 2.0 early
    • v2 validation report
    • Releasing 2.0
    • Quarkus design notes
    • WebFlux design notes
  • Privacy

Quarkus checks

The Quarkus application advisor is the Quarkus flavor of the shared Spring panel: the panel ID remains spring, the endpoint remains /bootui/api/spring, and the shared SpringReport JSON and dismissal contract are unchanged. It is separate from the Quarkus Security advisor.

The advisor has 23 active rules. It inspects application-owned build metadata and selected configuration only when the user requests a scan. It never invokes application beans, constructs REST clients, executes scheduled work, reads JDBC data, intercepts traffic, or changes configuration. Findings are review prompts, not proof of a race, measured performance failure, or the configuration of an unseen deployment.

Reading more than the preview

The application advisor keeps its twenty-entry sampleViolations preview and full violationCount. View violations and GET <api>/spring/rules/{id}/violations?scanId=...&offset=0&limit=100 read bounded, sanitized details retained by the same scan without invoking application beans. Retention truncation is separate from evidence coverage; see snapshot, retention, and MCP/CLI retrieval.

Evidence and availability

Inspecting application metadata alone does not establish a passing check. Usable known-findings scores retain unrelated evidence gaps under the shared score eligibility policy.

CDI evidence comes from Arc's resolved application class beans, including effective scope and injection points, rather than counts of directly declared scope annotations. Application metadata is captured in non-production launch modes; the existing NORMAL production exclusion remains unchanged. Missing or unreadable metadata is unknown, not an empty, clean application.

Configuration analysis distinguishes active effective settings, framework defaults, and visible production declarations. Development mode builds with the development profile and never drains HTTP requests, so the compression and request-draining rules prefer a visible literal %prod. declaration over the active value and, like the other production rules, report incomplete coverage unless prod is the sole active profile. The native configuration machinery resolves active values and registered REST-client aliases. An inactive production profile is inspected only through already-loaded production declarations: BootUI does not load another profile's files, invent external environment values, resolve a production expression through development values, or switch the application's profiles. Multiple active profiles are not treated as proof of a future production deployment.

Production declarations can produce useful findings while coverage remains incomplete. PARTIAL reports retain those findings. Each rule has exactly one outcome per scan: a rule with findings is listed in results, and its incomplete coverage is stated in its description ("Coverage is incomplete: ...") and in evidence.limitations; a production rule whose loaded declarations have no findings in development or test mode is omitted from analysisErrors, recorded as a SKIPPED diagnostic in inspected, and listed in evidence.limitations; a rule that could not be evaluated because of a genuine inspection or configuration failure and found nothing is listed in analysisErrors. ERROR means no applicable evidence could be inspected. Skipped/unknown checks are not counted as successfully evaluated. Dismissing a finding does not remove coverage errors or turn an incomplete scan into a complete one. Retired rule IDs are never reused, and existing dismissals of surviving IDs still apply.

Bounds

  • Configuration name discovery considers at most 4,096 source names, plus an overflow sentinel, across at most 128 existing sources. Original profile prefixes are preserved.
  • Production declaration projection reuses those sources and retains at most 4,096 declarations; it discovers no new sources.
  • Build metadata considers at most 10,000 application classes/beans and 100,000 members.
  • At most 256 registered REST clients are inspected.
  • Each rule shows at most 20 deterministic samples; occurrence totals are independent of the display limit.

A reached bound or failed conversion is reported explicitly. Unrelated collected findings remain available. These are cardinality bounds, not a guarantee that arbitrary third-party configuration-source code can be interrupted. Raw URLs, credentials, unrecognized configuration values, and exception messages are not exposed.

Filter the list, then jump to a check — the detail below narrows to match.

  1. QA-CDI-004MEDIUMPublic field on a normal-scoped bean
  2. QA-CDI-002MEDIUMPublic state on a singleton REST resource
  3. QA-CDI-003LOWPublic state on a singleton bean
  4. QA-CDI-005HIGHNormal-scoped bean cannot be client-proxied
  5. QA-CDI-006LOWApplication bean declared in the default package
  6. QA-CDI-007MEDIUMArC build-time safety validation is disabled
  7. QA-CFG-002MEDIUMSQL logging in observed production configuration
  8. QA-CFG-003MEDIUMVerbose root logging in observed production configuration
  9. QA-CFG-004LOWLegacy schema-generation property
  10. QA-CFG-005HIGHBind-parameter logging in observed production configuration
  11. QA-CFG-006LOWDeprecated Quarkus 3.x configuration property
  12. QA-CFG-007MEDIUMConfig mapping unknown-property validation disabled or config value logging enabled
  13. QA-PROD-002HIGHAutomatic schema changes in observed production configuration
  14. QA-PROD-003MEDIUMIn-memory storage in observed production configuration
  15. QA-DB-002MEDIUMAgroal connection pooling or background validation is disabled
  16. QA-WEB-001INFOApplication-server compression is disabled
  17. QA-WEB-003MEDIUMRegistered REST client timer is disabled
  18. QA-WEB-004INFOHTTP request draining is not configured
  19. QA-WEB-005LOWUnlimited HTTP request body or form buffering, or retained multipart uploads
  20. QA-PERF-002LOWSynchronized virtual-thread entry method on JDK 21–23
  21. QA-PERF-003MEDIUM@RunOnVirtualThread on a reactive method
  22. QA-PERF-004INFOReview virtual threads on a JDK before 24
  23. QA-PERF-005MEDIUMCore worker thread pool misconfiguration

CDI

QA-CDI-004 - Public field on a normal-scoped bean

  • Severity: MEDIUM

A resolved application class bean whose effective scope is a normal scope — @ApplicationScoped, @RequestScoped, @SessionScoped or a custom normal scope, including scopes assigned by stereotypes and Quarkus REST's automatic @RequestScoped for resources with REST parameter fields — declares or inherits a non-static public field that is not an injection point or a REST parameter/@Context field.

CDI 4.1 §3.1 makes such a field a definition error; ArC's default mode does not enforce it. Every injection point of a normal-scoped bean receives one shared client proxy, a generated subclass with its own copy of every field, and the proxy delegates methods only. Reading or writing the field through an injected reference therefore works on the proxy, not on the current contextual instance; for request or session scope, a value written that way can be seen by other requests. The Quarkus CDI guide states this directly: never read or write a field of a normal-scoped bean. The finding is conditional: field accesses are not observed, and this.field inside the bean reaches the contextual instance.

Make the field private and access the state through methods. Package-private visibility still permits direct proxy field access from the same package. Final atomics and concurrent collections are not exempt here, because the proxy holds a second object. Synthetic fields, Kotlin lateinit var accessor-backed properties, final enum constants, and REST parameter fields (@RestQuery, @QueryParam, etc., including on @BeanParam classes) are excluded. To limit noise, final primitives and immutable value types (String, boxed numbers, java.time, BigDecimal, UUID) remain excluded, although a constructor-assigned value can still differ on the proxy.

QA-CDI-002 - Public state on a singleton REST resource

  • Severity: MEDIUM

An actual application REST resource resolved as @Singleton — the Quarkus REST default — exposes a public, potentially mutable instance field that is not injected. Singletons have no client proxy, so the field is shared by concurrent requests. Final immutable values, atomics and concurrent collections are excluded; REST parameter and @Context fields are excluded. Normal-scoped resources are reported once under QA-CDI-004 instead, and the resource-specific rule does not also charge the same field under QA-CDI-003.

Keep request-specific data in method-local variables or parameters, and expose shared state only as an immutable value or an encapsulated operation. This is not a claim that concurrent mutation was observed.

QA-CDI-003 - Public state on a singleton bean

  • Severity: LOW

A resolved @Singleton application class bean, including a scope assigned by the framework, exposes a public, potentially mutable instance field that is not an injection point. CDI allows public fields on this pseudo-scope. Public final immutable values, atomics and concurrent collections are excluded. Scope annotations on a producer class do not establish the scope of the object returned by a producer.

Review whether the field should expose an immutable value or an encapsulated operation. final does not make an object deeply immutable. Do not move the field to a normal scope such as request scope: that turns it into a QA-CDI-004 client-proxy defect.

QA-CDI-005 - Normal-scoped bean cannot be client-proxied

  • Severity: HIGH

A resolved normal-scoped application bean (@ApplicationScoped, @RequestScoped, @SessionScoped, or custom normal scope — either a class bean or a @Produces method/field) has a native ArC unproxyability error or an unproxyable bean class or producer return type:

  • A native ArC validation result declaring the bean unproxyable, including final-method errors in strict compatibility mode even when its constructor shape otherwise permits a proxy
  • sealed class or interface
  • final class when quarkus.arc.transform-unproxyable-classes=false
  • Missing a non-private no-arg constructor when ArC cannot synthesize one because its superclass is not Object and lacks an accessible no-arg constructor (or when quarkus.arc.transform-unproxyable-classes=false)
  • A java.* producer type that is final or sealed, or a JDK class without a public or protected no-arg constructor. ArC cannot transform JDK classes or place its generated subclass in a java.* package, so a package-private constructor is insufficient.

The package name alone is not a defect. The abstract classes java.time.Clock and java.net.http.HttpClient have protected no-arg constructors and support normal-scoped client proxies with default ArC settings. Non-sealed interfaces also have proxyable shapes. A positive native ArC error takes precedence over that shape and is retained even without static return-type metadata. Metadata comes from the index or non-initializing JDK class inspection; BootUI never calls a producer to decide this. Without a positive native error, missing type metadata is incomplete rule coverage, not a clean result.

Failure stages depend on the shape and settings. Real boot fixtures prove that default ArC rejects a sealed producer during augmentation even when it is reached through Instance<T>. That does not establish augmentation-time rejection for every impossible JDK shape: default ArC can schedule transformations for final types or missing no-arg constructors that cannot actually be applied to JDK classes, with failure possible when a proxy is loaded or used. The rule does not infer a precise stage or exception type from the shape alone.

For a default-mode normal-scoped Optional<String> producer retained through Instance<T>, the native fixture passes augmentation but fails while loading its generated client proxy during ArC container startup, beforeInstance.get(). The root cause is IncompatibleClassChangeError because a subclass cannot inherit from final java.util.Optional, wrapped in ExceptionInInitializerError by the failed application startup. This is not a deferred lookup-time UnproxyableResolutionException.

With quarkus.arc.strict-compatibility=true, a surviving unproxyable bean that is not directly injected can instead retain a provider that throws jakarta.enterprise.inject.UnproxyableResolutionException on lookup. This is ArC's conditional validation policy, not the default and not a guarantee that every invalid shape can reach runtime. See ArC validation policy.

Validation limit: the Optional fixture establishes that final-type startup failure, not every JDK shape's failure stage; no-arg-only JDK producer failure stages remain unverified. Strict-mode, transformation-disabled lookup controls could not bootstrap because existing BootUI and Quarkus REST dependencies themselves need transformation. That runtime combination also remains unverified; this correction does not establish full BootUI support for it.

In default mode, final methods can be skipped by a generated proxy and then operate on the proxy rather than the contextual instance, silently producing the wrong value. That separate proxy-use hazard is not covered by this rule. In strict mode, a positive native ArC deferred error remains a HIGH finding, including when final methods caused it; it is not discarded merely because the class has an accessible constructor.

Supply a no-arg constructor accessible to the generated subclass, remove final or sealed where appropriate, expose the value through a proxyable interface, or consider @Singleton for producer values that do not need a client proxy. Review lifecycle differences before changing scope.

QA-CDI-006 - Application bean declared in the default package

  • Severity: LOW

A resolved application class bean is declared in the unnamed default package (the Quarkus counterpart to SPRING-WIRING-008). Classes in the default package cannot be imported by classes in named packages and are excluded from bounded base-package root discovery. Move application beans into a named package.

QA-CDI-007 - ArC build-time safety validation is disabled

  • Severity: MEDIUM

Active or visible %prod. configuration explicitly sets quarkus.arc.fail-on-intercepted-private-method=false or quarkus.arc.detect-wrong-annotations=false:

  • When quarkus.arc.fail-on-intercepted-private-method=false is configured, interceptor bindings (@Transactional, @CacheResult, @Retry, @CircuitBreaker, @Timeout, @Lock, @RolesAllowed) on private methods no longer fail the build and are silently skipped at runtime.
  • When quarkus.arc.detect-wrong-annotations=false is configured, ArC disables build-time detection of misplaced CDI and Quarkus annotations (such as @Singleton on a non-producer field or @Observes on a non-bean class).

Keep both properties enabled (true, the Quarkus defaults) and widen intercepted methods from private to package-private, protected, or public.

CDI sources: Jakarta CDI 4.1 managed beans, Quarkus client proxies, ArC client proxy generation, ArC maintainer on proxy field access, Arc effective scope resolution, implicit qualifier-field injection, and Quarkus REST scope handling.

Configuration and production declarations

QA-CFG-002 - SQL logging in observed production configuration

  • Severity: MEDIUM

Observed production configuration (%prod. declarations or unqualified declarations in a base application.properties/application.yaml file) enables Hibernate SQL logging on a default or named persistence unit, or directly declares both quarkus.log.category."org.hibernate.SQL".level and .min-level permitting DEBUG. The category produces one global observation, not one per persistence unit; independent per-unit log.sql observations are retained. Review production log volume and the sensitivity of SQL text. SQL logging does not automatically enable bind-parameter logging, which has separate settings; SQL literals may nevertheless contain application data. When prod is the sole active profile, the rule defers to the Hibernate advisor's HIB-CONFIG-012 so one setting is not charged twice.

QA-CFG-003 - Verbose root logging in observed production configuration

  • Severity: MEDIUM

The observed production root log level is DEBUG, TRACE, FINE, FINER, FINEST, or ALL. Review whether that verbosity is intended for the deployment; INFO or WARN is often a more appropriate baseline. BootUI does not infer a measured slowdown or an actual secret disclosure from the level alone.

QA-CFG-004 - Legacy schema-generation property

  • Severity: LOW

A configured default/named/profile variant of the quarkus.hibernate-orm.database.generation group, deprecated for removal since Quarkus 3.22, is declared: database.generation, database.generation.create-schemas or database.generation.halt-on-error. One finding is reported per persistence unit and profile prefix, however many legacy keys it declares. Migrate each key to its replacement — schema-management.strategy, schema-management.create-schemas and schema-management.halt-on-error — preserving the intended value. A property name merely supplied by framework defaults or an empty value is not enough to trigger this rule.

On Quarkus 3.33.3.1, an explicitly configured legacy property takes precedence over the new property. Remove or migrate the old declaration rather than assuming a new schema-management.strategy=none has overridden it.

QA-CFG-005 - Bind-parameter logging in observed production configuration

  • Severity: HIGH

Hibernate ORM is present and the production view of quarkus.hibernate-orm.log.bind-parameters or its deprecated alias quarkus.hibernate-orm.log.bind-param is true, or direct declarations of both quarkus.log.category."org.hibernate.orm.jdbc.bind".level and .min-level permit TRACE. These causes produce one global observation; false ORM flags do not suppress a positive category declaration. Quarkus ORs both global flags and forces the org.hibernate.orm.jdbc.bind logger to TRACE, so every bound value — personal data, credentials or tokens — can be written to the logs. There is no per-persistence-unit key; a quoted unit variant is ignored.

The ORM flags and category minimum are fixed at build time; the category level is runtime-overridable. The production view is built from declarations a production build packages: a visible %prod. declaration, or an unqualified declaration in a base application.properties/application.yaml file, resolved with Quarkus' own profile and source-ordinal precedence. Profile-aware files such as application-dev.properties, system properties and environment variables of the development run are not production evidence. When prod is the sole active profile, the rule defers to the Hibernate advisor's HIB-CONFIG-018, which reads the effective logger, so one setting is not charged twice. Build-time overrides of a future packaging step are not observed, so the rule always reports incomplete coverage in development mode.

For both logging rules, category declarations are classified only when the exact category has literal, known levels for both level and min-level. A minimum above the relevant threshold suppresses that category observation. Missing, inherited, unresolved, or unrecognized levels do not establish logging eligibility; BootUI does not resolve a parent/root hierarchy or infer an undeclared minimum. This is visible production intent, not proof of future deployed logging, handler delivery, or emitted data; inactive production coverage remains incomplete.

Remove the production declaration and enable bind logging only temporarily outside production.

QA-CFG-006 - Deprecated Quarkus 3.x configuration property

  • Severity: LOW

A nonblank application configuration declaration uses a deprecated Quarkus 3.x property name (the Quarkus counterpart to SPRING-CONFIG-003), including:

  • quarkus.vertx.worker-pool-size (migrate to quarkus.thread-pool.max-threads)
  • quarkus.hibernate-orm.[<unit>.]{batch-fetch-size,max-fetch-depth,validation.enabled,database.globally-quoted-identifiers,log.bind-param} (migrate to fetch.batch-size, fetch.max-depth, validation.mode, quote-identifiers.strategy, and log.bind-parameters)
  • quarkus.log.{console,file,syslog,socket}.{enable,async,async.enable} and quarkus.log.handler.{console,file,syslog,socket}."<name>".{enable,async,async.enable} (migrate to .enabled and .async.enabled)
  • quarkus.smallrye-health.ui.enable, quarkus.smallrye-openapi.enable, and quarkus.swagger-ui.enable (migrate to .enabled)
  • quarkus.oidc.[<tenant>.]proxy.{host,port,username,password} and quarkus.rest-client.[<client>.]{proxy-address,proxy-user,proxy-password,proxy-connect-timeout,non-proxy-hosts} (migrate to named quarkus.proxy.* configurations)

QA-CFG-007 - Config mapping unknown-property validation disabled or config value logging enabled

  • Severity: MEDIUM

Configuration sets quarkus.config.mapping.validate-unknown=false or smallrye.config.mapping.validate-unknown=false (disabling SmallRye Config's startup validation of unknown properties under @ConfigMapping prefixes so misspelled or obsolete keys are silently ignored), or enables quarkus.config.log.values=true in observed production configuration (which logs every looked-up configuration key and its resolved value to io.smallrye.config at DEBUG level).

Keep validate-unknown=true and remove quarkus.config.log.values=true from production declarations.

QA-PROD-002 - Automatic schema changes in observed production configuration

  • Severity: HIGH for create or update; CRITICAL for drop or drop-and-create

The rule distinguishes the actual schema actions and includes named persistence units.

Quarkus sends this value through the Jakarta schema-action setting. Its create means create-only, not Hibernate's legacy hibernate.hbm2ddl.auto=create, which drops before recreating. create and update can still perform unreviewed production DDL, but are not described as guaranteed deletion of existing data. none and validate do not trigger this rule. Unknown spellings are not silently normalized into a destructive action. When prod is the sole active profile, the rule defers to the Hibernate advisor's HIB-CONFIG-002 so the effective setting is not charged twice.

Prefer reviewed migrations or the deployment's existing schema-management process. The advisor does not require that migration tooling run inside the application.

QA-PROD-003 - In-memory storage in observed production configuration

  • Severity: MEDIUM

A supported JDBC URL explicitly selects in-memory storage (including jdbc:h2:mem, jdbc:h2:mem:..., jdbc:hsqldb:mem:..., jdbc:derby:memory:..., and jdbc:sqlite::memory:). H2, HSQLDB, Derby, or SQLite database kind alone is not evidence of volatile storage: file-backed and server-backed databases are valid. URL matching uses storage-mode forms, not an incidental mem substring elsewhere in the URL.

Confirm that the data is intentionally transient, or select durable storage. An in-memory database exposed by a database server can be shared across application instances; its durability follows that database process, not necessarily the application process. The raw JDBC URL is never included in the report.

QA-DB-002 - Agroal connection pooling or background validation is disabled

  • Severity: MEDIUM

Agroal JDBC capability is present and a default or named datasource (quarkus.datasource.[<ds>.]jdbc.*) explicitly sets pooling-enabled=false (disabling connection pooling and opening a physical JDBC connection per operation) or sets background-validation-interval=0 without enabling validate-on-borrow=true or a positive foreground-validation-interval (disabling stale-connection validation). Note that acquisition-timeout=0 is covered by the Database advisor's DB-POOL-005.

Keep pooling-enabled=true and configure a positive background-validation-interval (default 2M) or foreground-validation-interval.

Sources: profile and source precedence, Quarkus schema-action wiring and legacy precedence, Hibernate create-only distinction, separate bind logging, H2 storage modes, deprecated database.generation group, and build-time bind-parameter logging.

HTTP and clients

QA-WEB-001 - Application-server compression is disabled

  • Severity: INFO

Compression is disabled by the framework default. An explicit quarkus.http.enable-compression=false records a deliberate decision, for example edge compression, and suppresses this prompt, as SPRING-WEB-001 does on Spring. The setting is fixed at build time, so in development mode a visible %prod. declaration is preferred and labelled as such. Enabling compression may help suitable payloads, but is not universally necessary. Upstream compression, client negotiation, response media types and workload are not inspected.

QA-WEB-002 - HTTP request-draining timeout is zero

Retired. Folded into QA-WEB-004 (INFO). In Quarkus (ShutdownConfig.isTimeoutEnabled()), an explicit quarkus.shutdown.timeout=0 (or sub-millisecond duration where timeout.toMillis() <= 0L) has the exact same runtime behavior as an absent quarkus.shutdown.timeout (request draining disabled), so penalizing an explicit zero at LOW while reporting the identical default at INFO split one runtime state across two severities. The ID remains reserved in RETIRED_RULES so existing .bootui/boot-ui.yml dismissals do not target an unrelated rule.

QA-WEB-003 - Registered REST client timer is disabled

  • Severity: MEDIUM

A registered client's effective connect or read timer is zero. The native Quarkus configuration interceptors resolve quoted FQCN, configKey, MicroProfile /mp-rest/ aliases, profiles and configuration-source priority. Client-specific values override the global fallback as the framework specifies; properties for unrelated/unregistered clients do not trigger findings.

The standard defaults are 15s connect / 30s read. A positive finite timeout, including one above five minutes, is not automatically unsafe. Zero disables the corresponding standard-transport timer, not necessarily every other deadline. In particular, a read timer is not a universal total-operation deadline. Review whether that disabled timer is intentional, or configure an appropriate positive duration in milliseconds. Arbitrary programmatic/custom client settings are not inferred. Quarkus REST Client registrations are supported; an installed Classic REST client extension produces incomplete coverage, not a claim that no clients exist.

QA-WEB-004 - HTTP request draining is not configured

  • Severity: INFO

The shutdown timeout is known to be absent or non-positive (timeout == null || timeout.toMillis() <= 0L, matching Quarkus ShutdownConfig.isTimeoutEnabled()). Quarkus request-draining grace is opt-in, so configure a positive quarkus.shutdown.timeout (for example 10s) if required; removing a zero override does not enable draining, and zero does not mean waiting without limit. Development mode never drains, even with a positive timeout, so a visible %prod.quarkus.shutdown.timeout declaration is preferred over the active value, and the rule reports incomplete production coverage unless prod is the sole active profile. An unreadable or negative duration is an analysis error, not an absent value.

QA-WEB-005 - Unlimited HTTP request body or form buffering, or retained multipart uploads

  • Severity: LOW

Configured Quarkus HTTP limits remove the request body size limit (quarkus.http.limits.max-body-size= explicitly configured to an empty value, which binds Optional.empty() instead of the 10240K default), set unlimited in-memory form buffering or form field counts (quarkus.http.limits.max-form-buffered-bytes=-1 or quarkus.http.limits.max-form-fields=-1), or disable cleanup of temporary multipart upload files at request end (quarkus.http.body.delete-uploaded-files-on-end=false while quarkus.http.body.handle-file-uploads is enabled).

Configure finite body and form limits and keep quarkus.http.body.delete-uploaded-files-on-end=true unless application code deletes temporary upload files deterministically.

Sources: compression default, shutdown default, client defaults, native aliases and priority handling, and zero connect-timer semantics.

Virtual threads and worker pools

QA-PERF-002 - Synchronized virtual-thread entry method on JDK 21–23

  • Severity: LOW

On the running JDK 21-23, an identified Quarkus virtual-thread entry implementation (Quarkus REST root or sub-resource endpoint, @Scheduled method, Reactive Messaging @Incoming/@Outgoing method, Vert.x @ConsumeEvent method, or WebSockets Next callback) is also declared synchronized. The native-resolved implementation, not a superclass/interface declaration supplying REST annotations, determines this flag. Review blocking work performed while holding the monitor; declaration metadata alone does not establish that blocking occurs. Consider targeted locking changes such as @io.quarkus.arc.Lock only when justified.

The rule does not treat every helper in an annotated class as a virtual-thread entry point and does not double-count a method annotated at both class and method level. Method-body synchronized blocks are outside its evidence. JEP 491 removes synchronized-related pinning from JDK 24 onward, so this rule does not fire there. The build JDK is not used as a substitute for the running JDK.

QA-PERF-003 - @RunOnVirtualThread on a reactive method

  • Severity: MEDIUM

A registered REST endpoint or virtual-thread entry method annotated with @RunOnVirtualThread returns a reactive or asynchronous type (Uni, Multi, CompletionStage, CompletableFuture, or Publisher, including when wrapped in RestResponse). At runtime, Quarkus spawns a virtual thread only to invoke the Java method and construct the reactive pipeline, immediately terminates the virtual thread, and executes pipeline callbacks on the Vert.x event loop.

Return a synchronous type when using @RunOnVirtualThread so blocking operations run on the virtual thread, or remove @RunOnVirtualThread from reactive pipelines.

QA-PERF-004 - Review virtual threads on a JDK before 24

  • Severity: INFO

Virtual-thread entry methods (@RunOnVirtualThread) are declared while the application runs on JDK 21–23 (the Quarkus counterpart to SPRING-PERF-007). Before JEP 491 (JDK 24), blocking inside a synchronized block — including inside JDBC drivers or third-party libraries called from a virtual-thread endpoint — pins the carrier thread. Prefer JDK 24+ (JDK 25 is LTS) or load-test with JFR jdk.VirtualThreadPinned events.

QA-PERF-005 - Core worker thread pool misconfiguration

  • Severity: MEDIUM

Configured worker thread pool settings under quarkus.thread-pool.* violate EnhancedQueueExecutor invariants:

  • quarkus.thread-pool.core-threads > quarkus.thread-pool.max-threads (which EnhancedQueueExecutor silently clamps to max-threads) or quarkus.thread-pool.max-threads <= 0
  • quarkus.thread-pool.shutdown-interrupt >= quarkus.thread-pool.shutdown-timeout (preventing worker threads from being interrupted before the shutdown timeout expires)

Ensure max-threads is positive and at least core-threads, and keep shutdown-interrupt strictly shorter than shutdown-timeout.

Sources: Quarkus dispatch decisions, framework-interpreted annotation contract, and Quarkus virtual-thread guide.

Complete audit disposition

All 19 original IDs are accounted for. The table records the first audit; see the second audit below. Retired IDs remain reserved so stored dismissals cannot later target an unrelated rule.

RuleDispositionReason
QA-CDI-001UpdatedResolved application scope/injection; public-state-only LOW review, no private-field race claim.
QA-CDI-002UpdatedActual shared REST resources and injection/scope handling; no duplicate general-CDI charge.
QA-CDI-003UpdatedResolved singleton scope; same narrowed public-state policy.
QA-CFG-001RetiredConfigMapping is recommended, not mandatory; no custom configuration and programmatic access are valid.
QA-CFG-002UpdatedProduction/named-unit evidence; SQL text and bind logging distinguished.
QA-CFG-003UpdatedProduction provenance and unavailable coverage made explicit.
QA-CFG-004RetainedValid deprecation advice; actual declarations and legacy precedence handled correctly.
QA-RX-001RetiredJDBC capability plus reactive signatures does not prove an event-loop call; Mutiny offloading is legitimate.
QA-SCH-001RetiredLocal/per-replica jobs are legitimate; no topology or once-per-cluster intent is observed.
QA-PROD-001RetiredRUN can use profile prod with Dev Services; the declaration need not be useless.
QA-PROD-002UpdatedQuarkus create-only semantics, legacy precedence, named units and explicit coverage.
QA-PROD-003UpdatedRequire observed in-memory URL mode, not database vendor.
QA-PROF-001RetiredMissing %prod keys do not establish missing production configuration.
QA-DB-001RetiredThe finite default maximum is 50; workload/database sizing cannot be inferred from omission.
QA-WEB-001UpdatedDistinguish disabled/default/unknown; compression remains a conditional optimization.
QA-WEB-002UpdatedPositive-duration remediation; removing zero does not enable draining.
QA-WEB-003UpdatedEffective registered-client timers; zero only, no arbitrary finite ceiling.
QA-WEB-004RetainedValid opt-in default information, only when absence is known.
QA-PERF-002UpdatedActual REST entry points and running JDK; conditional LOW risk, not observed HIGH pinning.

Retirement sources: supported configuration APIs, Mutiny offloading, local versus composite scheduling, launch modes, and Agroal default maximum.

Second audit disposition

Subsequent audits re-checked every surviving rule against Quarkus 3.x sources and CDI 4.1. Thirty-one IDs are now accounted for: 23 active and 8 retired. Each added rule and severity change was reviewed independently by three models before implementation.

RuleDispositionReason
QA-CDI-001RetiredFramed as a concurrency review prompt, but the real defect on a normal scope is client-proxy field access. Replaced by QA-CDI-004 under a new ID so earlier dismissals of the LOW prompt do not hide the MEDIUM definition error.
QA-CDI-002UpdatedNow singleton resources only; application- or request-scoped resources move to QA-CDI-004.
QA-CDI-003UpdatedRecommendation no longer suggests request scope, which would create a QA-CDI-004 defect.
QA-CDI-004AddedPublic fields on every normal scope, including request and session scope; atomics and concurrent collections are not exempt behind a proxy.
QA-CDI-005CorrectedNative ArC unproxyability errors take precedence over type shape; otherwise valid JDK types such as abstract Clock are excluded. Sealed classes and interfaces are covered; failure stages are not inferred from shape alone.
QA-CDI-006AddedApplication beans declared in the default package (parity with SPRING-WIRING-008).
QA-CDI-007AddedArC build-time safety validation disabled (fail-on-intercepted-private-method=false or detect-wrong-annotations=false).
QA-CFG-004UpdatedAlso detects the deprecated create-schemas and halt-on-error keys, names each replacement and reports once per unit.
QA-CFG-005AddedBuild-time bind-parameter logging in the production view; complements HIB-CONFIG-018, which reads only an active production profile.
QA-CFG-006AddedDeprecated Quarkus 3.x configuration properties across Vert.x, Hibernate ORM, core logging, SmallRye Health/OpenAPI/Swagger UI, OIDC proxy, and REST Client proxy (parity with SPRING-CONFIG-003).
QA-CFG-007Added@ConfigMapping unknown-property validation disabled (validate-unknown=false) or production config-value logging enabled (quarkus.config.log.values=true).
QA-DB-002AddedAgroal pooling-enabled=false or background-validation-interval=0 without borrow or foreground validation.
QA-WEB-001UpdatedExplicit false suppresses the prompt; a visible %prod. declaration is preferred in development mode.
QA-WEB-002RetiredFolded into QA-WEB-004 (INFO): quarkus.shutdown.timeout=0 and sub-millisecond durations (timeout.toMillis() <= 0L) behave identically to the absent default (ShutdownConfig.isTimeoutEnabled()).
QA-WEB-004UpdatedCovers both absent and non-positive (timeout.toMillis() <= 0L) shutdown timeouts; %prod.quarkus.shutdown.timeout preferred in development mode.
QA-WEB-005AddedUnlimited HTTP body or form buffering (max-body-size=, max-form-buffered-bytes=-1, max-form-fields=-1) or retained multipart uploads (delete-uploaded-files-on-end=false).
QA-PERF-003Added@RunOnVirtualThread on reactive (Uni/Multi/CompletionStage/CompletableFuture/Publisher) methods.
QA-PERF-004Added@RunOnVirtualThread on JDK 21–23 before JEP 491 (parity with SPRING-PERF-007).
QA-PERF-005AddedCore worker thread pool misconfiguration (core-threads > max-threads or shutdown-interrupt >= shutdown-timeout).
OthersRetainedQA-CFG-002, QA-CFG-003, QA-PROD-002, QA-PROD-003, QA-WEB-003 and QA-PERF-002 were re-verified.

Not added: a REST client without a URL (Quarkus already fails with a precise message on first use), a log category below quarkus.log.min-level and @RunOnVirtualThread on JDK 17 (Quarkus warns at startup), and scheduled-job overlap (the default PROCEED policy is legitimate).

The source audit targets Quarkus 3.33.3.1. Pinned supporting JDK, Hibernate, SmallRye and database references explain specific semantics; they do not claim every application uses the same dependency patch. Floating guides are reading aids, not stronger evidence than the version-pinned implementation.

Prev
CRaC readiness
Next
Quarkus security

© 2026 Julien Dubois