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

BootUI on Spring WebFlux — support status

Contributor document

This records how the WebFlux adapter was designed and built, for people working on BootUI itself. If you just want to know what BootUI gives you on WebFlux, read Framework support instead — and note that your running console is always the authoritative answer for your own application.

1. Goal

Spring WebFlux (reactive, Netty / DispatcherHandler) Spring Boot 4 applications are a first-class BootUI target, alongside the Spring MVC (servlet) and Quarkus adapters. WebFlux reuses the same shared engine (bootui-engine), the same Vue UI, and the same JSON contract (/bootui/api/** by default). Panels reach parity wherever a reactive analog genuinely exists, and report an honest not yet ported or not applicable status where they don't.

2. Current status

The WebFlux adapter serves the large majority of the panel surface — the same 65-panel manifest the servlet adapter reports, including the action-capable Java Agent panel with its runtime sensor switches, the view-only Side Effects panel whose sensor controls use the Java Agent policy, the view-only Code Inventory panel, and Code Paths with its method probes, minus the one panel (HTTP Sessions, §6.7) that stays unavailable for stack reasons. Every available action-capable panel behaves identically to the servlet adapter, behind the same shared LocalhostGuard write floor.

R2DBC statements are not recorded. BootUI records SQL through a traced JDBC DataSource, so an application that reaches its database through R2DBC shows no statements, connections, or SQL timings in the runtime journal: the SQL Trace panel stays empty, Runtime Insights names this first among its limitations, and its checks that read SQL report UNAVAILABLE rather than finding nothing. An application with both a traced JDBC pool and R2DBC sees only its JDBC statements counted. R2DBC capture is planned after 2.0, with the other non-JDBC data stores.

MySQL uses the same shared controller/report on MVC and WebFlux when the application has a supported JDBC datasource. Oracle MySQL 8.4 LTS and 9.7 LTS are the tested lines, with 8.4.6 and 9.7.2 live coverage using Connector/J 9.7.0 and HikariCP 7.0.2. R2DBC-only applications are outside this scope; MariaDB reached through MySQL Connector/J is read but unsupported. See MySQL.

Action-capable panels (identical to servlet)
PanelActions
Loggersset level
HTTP Probeprobe
Cacheclear
Java Agentenable / disable runtime sensors
Hibernate Statisticsruntime enable
Flywaymigrate / clean
Liquibaseupdate
Heap Dumpcapture / analyze / delete / download
Live Memoryfree BootUI memory; low-footprint mode (browser, MCP, CLI)
Threadsdownload, capture, finite observation, cancel, clear, retained export
Tracesclear
SQL Tracetoggle recording / clear
Transactionsclear / toggle recording
REST Clientclear / toggle recording
PostgreSQLread vital signs
MySQLoperational read
Exceptionstriage
Advisor scansArchitecture, Spring, Hibernate, Pentesting, REST API, Security, Memory, Vulnerabilities/OSV

The adapter shares the exact per-scanner single-flight contract with MVC and Quarkus. Overlapping expensive advisor actions fail fast with canonical JSON 409 rather than queueing on Netty or repeating work; Heap Dump capture/analyze/delete share one admission. Passive reads keep serving the last completed report, and MCP converts the same conflict to an in-band tool error. WebFluxApiConformanceTest runs the shared concurrent Architecture burst that pins this transport behavior.

Only HTTP Sessions stays unavailable, with a panel-specific reason surfaced through /bootui/api/panels — and, in turn, the sidebar tooltip and the panel's own alert banner (§6.7). docs/features/ and the per-panel unavailableReason strings in PanelsController are the authoritative, current detail.

3. Why this is feasible — evidence from the current codebase

  • The DTOs (then bootui-core, now the engine's core package), bootui-engine, and bootui-ui were already 100% framework-neutral before this work started. They needed zero changes beyond adding one new platform constant (PanelsReport.PLATFORM_SPRING_BOOT_REACTIVE). Every advisor engine, DTO, and Vue view is reused byte-for-byte from the servlet adapter — the same reuse story the Quarkus adapter proved out.
  • Most of the servlet adapter's @RestControllers use the shared org.springframework.web.bind.annotation model, return plain DTO records, and never reference HttpServletRequest/HttpServletResponse directly. DispatcherHandler (WebFlux's dispatcher) invokes them exactly as DispatcherServlet does, unmodified.
  • The handful of panels that needed new code all needed it for one reason: a servlet-only streaming or eventing primitive (SseEmitter, HandlerExceptionResolver, ServletRequestHandledEvent) with no reactive equivalent wired. Each has a reactive analog in Spring itself (Flux<ServerSentEvent<T>>, WebExceptionHandler). The engine services underneath (SqlTraceRecorder, ExceptionStore, LogTailBuffer, AgentSessionStore, …) needed no changes at all.

4. Module topology

bootui-engine / bootui-ui                      Unchanged — reused by all three adapters
bootui-spring-boot-starter                     The one Spring module and starter: servlet AND reactive bindings both live here
  ...autoconfigure.web                         Servlet @RestControllers (framework-neutral; reused unmodified by both)
  ...autoconfigure.reactive                    Reactive-only bindings: WebFilters, the two new @Configuration classes,
                                                and the handful of Reactive* controllers that needed a genuine rewrite
bootui-spring-webflux-sample-app               Reference WebFlux app for demos + conformance + e2e (Phase 5)

Until 2.0, the auto-configuration was its own bootui-spring-autoconfigure module, with a servlet starter that pulled in spring-boot-starter-web and a bootui-spring-boot-starter-reactive that pulled in spring-boot-starter-webflux. BootUI 2.0 publishes one bootui-spring-boot-starter that pulls in neither: the application's own web starter decides, so a WebFlux application can no longer become a servlet one by adding BootUI. Both stacks are provided in the starter, and a no-web-stack enforcer rule fails its build if any servlet or reactive web-server artifact reaches its compile or runtime dependencies. WebFluxApplicationTypeIntegrationTest and the release consumer smoke tests pin a WebFlux application to REACTIVE on Netty with no Servlet API or Tomcat on its classpath.

BootUiAutoConfiguration (servlet) and BootUiReactiveAutoConfiguration (reactive) are two separate autoconfigurations in the same module — not two modules — because nearly all of the underlying @RestControllers, safety decisions, and engine wiring are identical. Only the request/response binding and the streaming primitive genuinely differ per stack. Spring Boot's WebApplicationType deduction makes the two mutually exclusive: a running application is either SERVLET or REACTIVE, never both, so exactly one activates.

5. Activation & safety on WebFlux

Every safety rule mirrors the servlet adapter over a reactive binding; only request/response plumbing differs. Raw source trust and token admission use Reactor Netty's channel peer even with native forwarding enabled; framework decorators are unwrapped. A native-forwarded transport without verified raw provenance fails closed with a warning. Writes reject same-site browser metadata; Origin-only clients must match scheme/host/effective port, while Vite's same-origin metadata permits its upstream port rewrite. Heap capture also requires JSON {"confirm":true}.

Framework-forwarded transport metadata is verified on Reactor Netty. Non-Netty WebFlux servers using framework forwarding remain uncertified; use a supported raw-peer server binding. BootUI-added raw Actuator exposure/details are guarded independently of host-owned management policy, including separate listeners and health aliases; native endpoint beans and in-process panels are preserved.

  • Same activation rule, same fail-closed default. BootUiReactiveAutoConfiguration is gated by the identical BootUiActivationCondition the servlet adapter uses (bootui.enabled=ON|OFF, bootui.enabled-profiles / bootui.disabled-profiles, spring-boot-devtools on the classpath), plus @ConditionalOnWebApplication(REACTIVE) and @ConditionalOnClass(DispatcherHandler). There is no separate "reactive mode" flag — BootUI detects which stack Spring Boot picked and binds accordingly.
  • Same dark shell when inactive. WebFluxAutoConfiguration serves classpath:/META-INF/resources/ by default, so the packaged Vue bundle would stay reachable at /bootui/** even with every BootUI bean unwired. BootUiShellGuardAutoConfiguration registers ReactiveBootUiShellGuardFilter under the exact negation of the activation condition, answering 404 for the reserved namespace; the servlet adapter gets identical treatment from the same auto-configuration. The reactive filter matches on PathContainer.PathSegment.valueToMatch() (the decoded value PathPattern matches) and covers the prefix spring.webflux.static-path-pattern introduces, mirroring the servlet guard's handling of spring.mvc.servlet.path and spring.mvc.static-path-pattern. Both filters share the framework-neutral BootUiInternalMount predicate rather than calling into each other, because a WebFlux-only application has no servlet API on its classpath at all.
  • Same LocalhostGuard, ported to WebFilter. ReactiveLocalhostOnlyFilter is a thin WebFilter binding over the same framework-neutral io.github.jdubois.bootui.engine.safety.LocalhostGuard the servlet LocalhostOnlyFilter uses — same loopback-source trust, Host allow-list, cross-site-write/CSRF defense, same canonical {"error":"…"} 403 JSON body. Only the plumbing (ServerWebExchange instead of HttpServletRequest/HttpServletResponse) differs.
  • Same per-panel gating. ReactivePanelAccessFilter enforces bootui.panels.* (enable/read-only) via the same BootUiPanels registry the servlet PanelAccessFilter uses — same config keys, same canonical JSON 403 body.
  • Early rejection connection handling. On Reactor Netty, BootUI's filter-generated JSON errors close the HTTP/1.x connection after sending the response. This avoids a queued keep-alive read stall in Reactor Netty 1.3.7 (upstream report) without reading a rejected request's untrusted body. Clients reconnect normally; rejection decisions and JSON stay unchanged. Accepted requests, HTTP/2, and other WebFlux server implementations retain their existing connection behavior.
  • Same configurable path contract. bootui.path moves the shell, assets, APIs, streams, downloads, and action endpoints together; bootui.api-path can override the derived <bootui.path>/api mount independently. Both compose with spring.webflux.base-path exactly once. A dedicated WebFlux static-resource handler serves the configured mount, while an earlier blocker prevents the packaged /bootui/** resources from leaking as a legacy alias. The generated shell injects the browser-visible UI/API paths for the shared SPA, and the authentication cookie is scoped to the composed API path.
  • Same platform-aware manifest mechanism the Quarkus adapter established. PanelsController — one shared bean bulk-imported unmodified by both autoconfigurations — detects the running context type (applicationContext instanceof ReactiveWebApplicationContext) and reports platform: "spring-boot-reactive" in /bootui/api/panels, plus per-panel available/unavailableReason for the panels that diverge (§6). The Vue UI reads this manifest via inject('panels') and renders unavailableReason in both the sidebar tooltip and the panel's own alert banner — no .vue file changed.
One blocking-execution boundary for the shared controller surface

ReactiveBootUiHandlerAdapter delegates BootUI controller dispatch to WebFlux's fully configured request-mapping adapter on Reactor's bounded-elastic scheduler. This keeps argument resolution, blocking network calls, advisor/classpath scans, heap and JVM diagnostics, downloads, and filesystem handlers off Reactor Netty event-loop threads without duplicating scheduler code across the controllers shared with Spring MVC. Selection follows the existing class-level ${bootui.api-path:...} mapping convention rather than an endpoint allowlist, so custom API mounts and newly shared controllers inherit it automatically. The shell, static assets, host-application controllers, the host's own WebFlux blocking-execution policy, and requests rejected by the preceding safety filters remain untouched.

6. Panel disposition

TierMeaning
PortShips from shared code, zero adapter changes needed
AdaptReuses the shared engine over a small new reactive binding (e.g. a WebFilter)
RebuildA genuinely new reactive capture layer replacing a servlet-only primitive
Not yet portedDeliberately deferred, no reactive implementation wired yet
Not applicableNo faithful reactive analog exists for this panel's concept

6.1 Ported as-is (49 panels)

Bulk-imported from the servlet adapter's @RestControllers with no code changes at all — confirming these controllers were already framework-neutral in practice, not just in the engine underneath them.

Panels ported unchanged
Scorecard, GitHub, Beans, Conditions, Configuration, Mappings[^mappings-reactive], Health, Loggers, Startup Timeline, Spring Data
Database, Hibernate, Hibernate Statistics, PostgreSQL, MySQL, Flyway, Liquibase, Database Connection Pools, Cache, Dev Services
Vulnerabilities, Scheduled Tasks, Fault Tolerance, HTTP Probe, Pentesting, Heap Dump, Architecture, REST API advisor
Profile Diff, Spring advisor[^spring-advisor-reactive], Live Memory, JVM Tuning, Metrics, Spring DevTools, Traces, AI Framework
GraalVM, CRaC, Threads, Memory, Email, Kafka, RabbitMQ, JMS, Runtime Insights[^runtime-insights-reactive], Java Agent
Code Inventory[^code-inventory-reactive], Code Paths[^code-paths-reactive], Side Effects[^side-effects-reactive]

[^mappings-reactive]: The Actuator-backed provider reads WebFlux's dispatcherHandlers descriptions as well as Spring MVC's dispatcherServlets, each only when its web module is present: annotated controllers by their conditions, and functional routes by a predicate naming one method and one path, such as (GET && /api/items/{id}). Other functional predicates are listed whole.

[^code-inventory-reactive]: The shared CodeInventoryController and engine service: available while the BootUI agent's inventory sensor records the run, otherwise unavailable with the Java Agent panel's reason, as on Spring MVC. The scan reads the class files the application context's class loader sees.

[^code-paths-reactive]: The shared CodePathsController and engine service: available while the BootUI agent's code-paths sensor records the run. The reactive correlation filter brackets each request's subscription, where WebFlux runs its filters and invokes the handler up to its first asynchronous boundary, as the request's fragment on the subscribing thread, so the tree times the pipeline's assembly, not the work its publisher does later: every WebFlux route is assembly only, and route-time-breakdown never splits its handler by method. The reactive configuration marks every tree once, when it creates the Code Paths service, so nothing is recorded per request on the event loop, and the subscription sees the thread's correlation exactly as it does without the agent. A WebClient call takes its code-paths stamp where its exchange is subscribed: in a WebFlux pipeline that is after the handler's methods returned, so it is counted as issued outside every instrumented method, or carries no stamp when subscribed on another thread, and shows under no method; Beans at runtime still lists the calls assembly made between beans.

[^side-effects-reactive]: The shared SideEffectsController and engine service: available while the BootUI agent is armed for the run and the bridge supports Side Effects. The WebFlux adapter records a process attributed through the request's context when it starts on a thread carrying BootUI's context, captured at the start since the request scope's owner slot is not filled on the schedulers Reactor restores the context on; otherwise the row is attributed under its thread family. The network sensor records connects, datagrams, and lookups the same way; a WebClient's connect on a Reactor Netty event loop is unowned and captured by a REST client call at the same time. The files and the opt-in environment sensors capture the owner when no slot names one, too. The blocking sensor records too: the WebFlux adapter registers Reactor Netty's event loops with it from the first request each serves, and, for a WebClient built from Spring Boot's WebClient.Builder with REST client tracing on, from the first response each delivers; Reactor's parallel and boundedElastic threads are never event loops. The opt-in thread-activity sensor records too, capturing the owner the same way; a request's end, which it checks for what the request left running, is when its filter chain terminates. Reactor's and Reactor Netty's own threads are a library's. The resources sensor, on by default, hears the same request end, whether thread-activity is on or not. The opt-in thread-locals sensor never scans an event loop: a Reactor schedule hook scans around each task a boundedElastic worker (or another scheduler's) runs, owned once Reactor's automatic context propagation makes a request's context current inside it, so it needs spring.reactor.context-propagation=auto, the default, and platform threads: with spring.threads.virtual.enabled on Java 21 and later, boundedElastic runs on virtual threads, never scanned. The nine Side Effects sensor groups all ship in this version. The opt-in security-sinks sensor's JDK checks (deserialization without a filter, weak algorithms, trust managers) record on WebFlux as on Spring MVC; its request-value matching holds the query parameters WebFlux already parsed and reads the path variables from the exchange once its handler mapping set them, at the request's first check; it never subscribes to the form data, so form values are not matched on WebFlux. SQL text is not checked with R2DBC, which SQL Trace does not capture; file paths, commands, and WebClient URLs are, on a thread carrying the request's context.

[^runtime-insights-reactive]: The shared RuntimeInsightsController reads the same runtime journal. WebFlux marks no handler or response phase, so route-time-breakdown names the authentication time Spring Security observed and reports the rest of the time around a request's calls as unattributed, and a route whose requests named nothing at all, neither a recorded call nor authentication time, is insufficient rather than one unattributed span; lazy-sql-after-handler is not applicable. BootUI records JDBC, not R2DBC, so in an application without a traced DataSource the checks that read SQL report UNAVAILABLE with that reason; a reactive transaction is placed in a request only when its pipeline carried the request's context to the thread it began on. With the BootUI agent attached, work-after-response applies as on Spring MVC. Reactor's own schedulers already carry BootUI's context when spring.reactor.context-propagation=auto, so the agent's executors sensor then skips their parallel-, boundedElastic-, and single- threads; raw executors and CompletableFuture are propagated by the agent.

These controllers keep their synchronous servlet-facing signatures. On WebFlux, the centralized ReactiveBootUiHandlerAdapter dispatches their argument resolution and handler invocation on bounded-elastic threads, so controller-local scheduler annotations or endpoint allowlists are not required and new shared handlers cannot accidentally inherit the Reactor Netty event loop.

MySQL integration

The MySQL operational panel follows this shared-controller pattern: the engine owns collection and the sanitized cache, while both Spring autoconfigurations bind the same GET/POST contract. GET <api-path>/mysql, manifest discovery, and get_mysql_report must never acquire a connection or execute SQL. Only explicit POST <api-path>/mysql/read / mysql_read collects, off the Netty event loop through ReactiveBootUiHandlerAdapter, with the same single-flight and panel read-only policy as MVC.

Default/named JDBC datasource discovery is reused; installing a MySQL driver without a supported datasource does not provide diagnostics. The same seven startup bootui.mysql.* caps apply and require restart. Live tests cover least-privilege collection, driver cleanup, and positive MySQL REST/MCP/CLI behavior on default and custom mounts. A reactive app with only R2DBC remains unavailable with a JDBC-specific hint.

Messaging panels (Kafka, RabbitMQ, JMS)

KafkaController, RabbitController, and JmsController, plus their template/listener-factory BeanPostProcessor capture pairs, carry no ConditionalOnWebApplication or reactive-specific code. The panels and their Live Activity MESSAGING capture therefore work identically to the servlet adapter with zero adapter changes. JMS remains an imperative, blocking broker API, but its work runs on the application's JMS template/listener threads; the WebFlux panel only reads the shared in-memory recorder.

Fault Tolerance

FaultToleranceController is framework-neutral: Resilience4j registries and Spring Retry @Retryable metadata are plain beans with no servlet or reactive coupling. Resilience4j's event publishers plus the additive BootUiRetryListener bean feed the shared FaultToleranceEventRecorder from whatever thread the protected call runs on, so the panel and its Live Activity FAULT_TOLERANCE entries work with zero adapter-specific code. Resilience4j's reactive operators (ReactorCircuitBreaker and friends) publish through the same registries and event publishers as the imperative ones, so reactive pipelines use the same read path. The reactive sample application declares Resilience4j — and deliberately not Spring Retry, so the two Spring samples between them cover both halves of the backend's optional-dependency guards — and exercises its policies from a boundedElastic scheduler thread, which WebFluxFaultToleranceIntegrationTest asserts reaches the panel report.

Cache and CRaC fidelity

The Cache panel's tier and native-statistics reporting is identical on both Spring adapters: it is produced by the shared SpringCacheProvider and its classloading-gated inspectors, which depend only on Spring's cache abstraction and the cache provider's own public API, never on a servlet or reactive type. A WebFlux application configured with spring.cache.type=simple shows the same single local in-memory map tier — and the same honest "a plain map records nothing" statistics state — the servlet adapter shows for that configuration.

CRaC uses the same framework-neutral scanner and Spring runtime inventory on MVC and WebFlux. Its pool inventory includes R2DBC factories, and its task/scheduling checks use Spring context APIs rather than servlet types. Generated assets still target a JVM process and Spring's checkpoint lifecycle; they do not imply Quarkus or native-image support.

[^spring-advisor-reactive]: The Spring advisor uses the running MVC/WebFlux context and bounded non-eager bean metadata. HTTP-client advice distinguishes Boot-managed defaults from unknown per-client settings, and optimization opportunities are qualified to the observed stack. Reactive JDBC co-presence and explicitly unlimited Boot codec aggregation are WebFlux-only checks; servlet OSIV and multipart-size checks are MVC-only; unavailable required evidence is reported as unevaluated. See docs/SPRING-CHECKS.md for active and retired rules.

6.2 Adapted with a small new binding (3 panels)

PanelReactive binding
HTTP ExchangesReactiveHttpExchangeRepositoryConfiguration supplies BootUI's failure-preserving BootUiHttpExchangeRepository and BootUiHttpExchangesWebFilter, a subclass of Actuator's reactive HttpExchangesWebFilter, instead of the servlet filter — same DTO, same UI, same capture semantics, including skipping BootUI's own requests below the WebFlux base path and the shared bootui.activity.request-slow-threshold-ms. Route rankings take the WebFlux handler pattern from HttpExchangeTraceRegistry, which ReactiveHttpExchangeTraceFilter fills only when OpenTelemetry is present, as it is with the BootUI starter. Without OpenTelemetry, a path is matched against the WebFlux routes the Mappings provider reads from Actuator's dispatcherHandlers descriptions, as on Spring MVC; a path no declared route matches falls back to a masked path, and the rankings state that limitation
MCP ServerReactiveBootUiMcpController — same BootUiMcpService, McpServerState, and McpProtocol as the servlet BootUiMcpController; only the transport differs (DataBuffer payload assembly with the same bootui.mcp.max-payload-bytes limit, and tool execution offloaded to Schedulers.boundedElastic()); a modern progress call streams explicitly flushed raw Flux<DataBuffer> SSE frames whose cancelled subscription cancels the call
Command LineReactiveBootUiCliController — same CliService and the same /bootui/api/cli contract and statuses as the servlet BootUiCliController, with tool invocation offloaded to Schedulers.boundedElastic() because BootUI's tools call blocking diagnostics
REST API declared error contract needs no reactive binding

@ControllerAdvice, @ExceptionHandler, and @ResponseStatus all live in spring-web, so one SpringErrorContractProvider serves both stacks by reading bean metadata. The only reactive-specific behavior is in the provider's return-type analysis, which unwraps Mono, Flux, CompletionStage, CompletableFuture, Callable, DeferredResult, and WebAsyncTask — matched by class name, so nothing links Reactor — before classifying the declared response body. A reactive handler returning Mono<ResponseEntity<ErrorBody>> reports the same body category and the same runtime-built status as its servlet equivalent, and WebFlux's functional ServerResponse is treated like ResponseEntity: a runtime-built status with a runtime-decided body. Neither stack instantiates or invokes a handler — discovery reads bean types without creating them, so a FactoryBean declaring advice is never forced into existence just to build the catalogue.

One REST API rule depends on the active request stack

The Spring adapter tells the REST API scanner whether the running context is servlet or reactive. Only RAPI-RESP-010 uses it: Spring MVC discards the returned body when @ResponseStatus sets a reason, while WebFlux applies the status, ignores the reason, and still writes the body. The rule therefore reports on Spring MVC and is SKIPPED on WebFlux.

6.3 Rebuilt with a new reactive capture layer (9 panels)

The DTO and UI are reused unchanged; only the capture/streaming source was rewritten because the servlet original depended on SseEmitter (SQL Trace, Log Tail, Security Logs, Exceptions, REST Client, Transactions) or HandlerExceptionResolver (Exceptions).

For panels that send update notifications, healthy clients keep receiving refreshes even when another subscriber falls behind. A lagging subscriber keeps only its latest pending refresh. This applies to refresh notifications, not log lines or agent-session snapshots.

PanelReactive source
SQL TraceReactiveSqlTraceController over the new shared ReactiveBootUiChangeStream SSE primitive (Flux<ServerSentEvent<T>>), feeding the same SqlTraceRecorder. See the fidelity note below.
TransactionsReactiveTransactionsController over ReactiveBootUiChangeStream, feeding the same TransactionRecorder. See the fidelity note below.
Log TailReactiveLogTailController — same LogTailBuffer/Logback appender, with a separate SSE stream of log lines.
Security LogsReactiveSecurityLogsController over a fallback InMemoryAuditEventRepository (Spring's audit-event bus is framework-neutral, so no reactive-specific capture code was needed).
ExceptionsReactiveExceptionsController + new ReactiveBootUiExceptionHandler (a WebExceptionHandler at HIGHEST_PRECEDENCE, replacing the servlet HandlerExceptionResolver); see the fidelity note below. The Caught in application code section (GET /exceptions/caught) is shared; a cancelled request, published with status 0 before the error handlers run, keeps its caught exceptions unknown, and a log written on a Reactor thread without a request id counts only on the catching thread.
CopilotReactiveCopilotController over the same AgentSessionStore, SSE via ReactiveAgentSessionController.
Claude CodeReactiveClaudeCodeController over the same AgentSessionStore, SSE via ReactiveAgentSessionController.
REST ClientReactiveRestClientTraceController — same RestClientTraceRecorder, SSE via ReactiveBootUiChangeStream. See the fidelity note below.
WebSocketsReactiveWebSocketController + ReactiveWebSocketMetadataProvider — same WebSocketService, SSE via ReactiveBootUiChangeStream. See the fidelity note below.

ReactiveBootUiChangeStream is a small shared Sinks.Many-backed SSE broadcaster (open() / signal() / close()) used by panels that send update notifications. It centralizes coalescing, back-pressure, and a concurrency limit. The Copilot and Claude Code streams send the initial state and periodic refreshes as sessions / dashboard event pairs. Once a pair starts, the stream finishes it before starting another. When a slow subscriber is ready for a new pair, the stream sends the latest pending refresh rather than replaying older ones.

Per-panel fidelity notes (SQL Trace, Transactions, Exceptions, REST Client, WebSockets)

SQL Trace. Statement rankings and request-route attribution (GET /bootui/api/sql-trace/insights) are served from the framework-neutral SqlTraceInsightsService; request evidence comes from the reactive HttpExchangeTraceRegistry, which also captures the best-matching reactive route pattern so routes group by template rather than by masked path. Fidelity gap, accepted: a reactive request is not pinned to one thread, so serving-thread correlation is deliberately not offered — the report advertises TRACE_ID and TIME_WINDOW only, and work it cannot place lands in the explicit unattributed/ambiguous buckets rather than being guessed onto a route. The HttpExchangeTraceRegistry ships with the OpenTelemetry correlation configuration, so on a WebFlux application without an OpenTelemetry starter, route attribution reports itself unavailable — naming that requirement — instead of advertising correlation tiers over an empty candidate list. Statement rankings are unaffected.

Transactions. Capture is identical to the servlet adapter: BootUI contributes a TransactionExecutionListener through Spring Boot's standard transaction-manager customization and completes registration for user-defined ConfigurableTransactionManager beans after singleton initialization. That covers the blocking transaction managers a WebFlux application still uses, such as @Transactional JDBC work run on a Reactor boundedElastic worker, and a ReactiveTransactionManager such as R2DBC's, which implements the same listener SPI: each callback names its transaction by the execution Spring passes to every callback of one boundary, so a reactive transaction that begins on one thread and commits on another is recorded once, with the right outcome. A reactive transaction has no thread-bound parent or JDBC isolation, so it is recorded as a new transaction with an UNKNOWN isolation. An application with no configurable transaction manager reports "No configurable transaction manager bean is available" rather than silently showing an empty table. The sample's GET /api/sample/transaction-samples runs a commit, a slow commit, and a rollback, which WebFluxTransactionsIntegrationTest and tests-webflux/transactions.spec.js check. Compact propagation labels are observed boundaries, not annotation values: NEW, REQUIRES_NEW, NESTED, and UNKNOWN (begin failed or ownership unverified). A reactive physical begin is NEW without claiming it was logically outermost; neither reactive nor JTA capture infers parentage from the current thread. JTA retains isolation bound at begin. Blocking, thread-bound JDBC boundaries retain their physical-child/savepoint distinction. Reactive support covers physical transaction begin/commit/rollback callbacks, not a complete reactive transaction hierarchy: parent relationships and nested/savepoint boundaries are not inferred. SQL and connection counts remain JDBC-only, matched by the begin thread and time window; they do not capture R2DBC statements or JDBC work moved to another thread. Zero counts therefore do not prove that a reactive transaction performed no database work.

Exceptions. Known fidelity gap, accepted, documented in code (ReactiveBootUiExceptionHandler's Javadoc): a @RestController's own local @ExceptionHandler method or @ControllerAdvice (ResponseEntityExceptionHandler) consumes an exception (including WebExchangeBindException) inside the WebFlux dispatch pipeline, before any WebExceptionHandler sees it. This is narrower capture than the servlet adapter's resolver-chain approach, where BootUiExceptionHandlerResolver runs at HIGHEST_PRECEDENCE in the same chain @ExceptionHandler resolution uses. An application-level @ExceptionHandler will suppress BootUI's capture on WebFlux where it would not on servlet. Unhandled exceptions (including WebExchangeBindException and ServerWebInputException that reach WebExceptionHandler, with their per-occurrence bindingDiagnostics) are captured identically on both stacks.

REST Client. Availability is gated on RestClientTraceRecorder#hasInstrumentedClient() (a WebClient.Builder auto-configured with the BootUI customizer must have been built). The RestClient/RestTemplate interceptors are not linked on a WebFlux-only classpath (their @ConditionalOnClass gate requires spring-boot-restclient), so the recorder only sees WebClient customization on this stack — the correct signal.

WebSockets. Endpoint topology is read from the reactive SimpleUrlHandlerMapping beans that map org.springframework.web.reactive.socket.WebSocketHandlers. The panel manifest checks those initialized registrations without creating lazy mappings or asking handlers for subprotocols. Both the manifest and the detailed report see mappings held by the dispatcher. If a handler's subprotocol lookup fails, the detailed report still reports unavailable, but the manifest does not hide the panel. Fidelity gap, accepted and reported honestly:@EnableWebSocketMessageBroker and its WebSocketHandlerDecoratorFactory/ChannelInterceptor seams are servlet-only, so the reactive report sets frameCaptureSupported=false with that reason and the panel shows endpoints only — it never fabricates a frame log or an empty capture buffer. There is likewise no reactive session registry, so sessionTrackingSupported=false and the Sessions table reads not supported on this stack rather than implying no client is connected. Each message a WebSocketHandler receives is still an execution in the runtime journal: BootUI takes the place of WebFlux's own WebSocketHandlerAdapter (an application subclass is left alone) and opens a context around the synchronous delivery of each data message, so a blocking query in a map nests under it, while work moved to another scheduler joins the context Reactor restores there.

6.4 Rebuilt as a merge over already-reactive signals (1 panel)

Live Activity needed no new capture pipeline for any of its ten panel-buffer signal types — they were all already captured reactively or by framework-neutral engine buffers. By default (bootui.activity.feed-source=journal) the feed renders the runtime journal's retained events, as on every stack. The merge below serves the fallback when bootui.runtime-journal.enabled=false, or an explicit diagnostic ?source=buffers request. Configuring bootui.activity.feed-source=buffers is no longer supported and fails startup; the property accepts only journal.

The durable journal has the same Spring MVC and Quarkus contract. A configured store owns bootui_activity_runs/_events/_details; an existing legacy bootui_activity table is not inspected or migrated. The datasource switch atomically takes a journal snapshot, subscribes future batches, and only then publishes the durable reader. An absent, disabled, or closed journal returns HTTP 409; a failed start leaves the in-memory feed active and reports that schema verification may already have created the tables. The feed's store-wide global cursor orders several instances, while cross-process updates are read by cursor polling because local SSE only signals the current JVM. See Durable history.

PanelReactive source
Live ActivityReactiveLiveActivityController merges requests, SQL, exceptions, security, cache, scheduled tasks, messaging, mail, REST client calls and fault-tolerance events through LiveActivityAssembler. The journal-first path also shows journal-only types, including transactions, logs and ORM observations. ExecutionProfileAssembler supplies exact request-id and optional trace-id profiles; serving-thread/time-window tiers are unavailable. Durable persistence adds the same three-table journal, global cursor, historical profiles, and bounded archived Runtime Insights used by MVC and Quarkus. The shared ReactiveBootUiChangeStream refreshes on local source changes and completed application requests.
Where each of the ten panel-buffer signals comes from

The original four — HTTP Exchanges, SQL Trace, Exceptions, and Security Logs — are already captured reactively by the panels in §6.2/§6.3. The six additional entry types (see Live Activity) reuse the same framework-neutral engine buffers regardless of stack, because their capture wiring (BootUiEngineConfiguration) is gated purely on classpath/bean presence, never on ConditionalOnWebApplication:

  • Cache and Scheduled Tasks are read from the same CacheActivityRecorder/ScheduledTaskRunStore the §6.1 panels already expose unmodified.
  • Mail is read from the same EmailCaptureService/EmailController the §6.1 Email panel exposes.
  • Messaging is read from the independent KafkaActivityRecorder, RabbitActivityRecorder, and JmsActivityRecorder buffers, fed by the same template/listener-factory BeanPostProcessor wrapping the servlet adapter uses.
  • REST/WebClient calls are read from the same RestClientTraceRecorder fed by BootUiEngineConfiguration's WebClientCustomizer; capture is active on both stacks, and the standalone panel is now wired reactively too (§6.3).
  • Fault-tolerance events come from the shared FaultToleranceEventRecorder, fed by Resilience4j and optional Spring Retry observations; the reactive Live Activity stream subscribes to that recorder too.

The servlet adapter's LiveActivityController additionally depends on two things with no reactive equivalent. One is a ServletRequestHandledEvent listener, which exists purely as an SSE-refresh trigger, not a data source. The other is a thread-based LiveActivityCorrelator that stitches a request to its downstream activity via serving-thread identity — meaningless on Reactor Netty, where a request is not served start-to-finish on one dedicated worker thread.

Live flow service map — no reactive-specific work

The Live flow service map (GET {api}/activity/service-map) needed no reactive-specific work. LiveServiceMapController injects only beans both stacks register — the shared HttpExchangesController plus the engine's ConnectionPoolService, SqlTraceRecorder, RestClientTraceRecorder, KafkaActivityRecorder, RabbitActivityRecorder, and CacheActivityRecorder. It returns a stable core DTO, so one class registered in both BootUiAutoConfiguration and BootUiReactiveAutoConfiguration makes Spring MVC and WebFlux serve a byte-identical map, including its cache dependency and opaque flow correlation. All interpretation (identity normalization, configured-versus-observed state, conservative SQL attribution, cardinality bounds) lives in the framework-neutral ServiceMapAssembler. The map refreshes off the same ReactiveBootUiChangeStream SSE tick the feed uses; it performs no additional polling and contacts nothing. Cache is reported as an available source only after the shared post-processor successfully instruments at least one CacheManager, so an enabled but disconnected recorder never overstates runtime support.

The map's opaque ServiceMapInteractionDto.flowId — derived one-way from whatever trace id was active when an interaction completed — needed no reactive-specific work either. BootUiReactiveAutoConfiguration already installs the same ReactiveOtelTraceIdSource on the HTTP exchange, SQL, REST-client, and cache recorders. ServiceMapAssembler only ever reads whatever trace id those recorders already captured, so causal flow correlation on this adapter is byte-identical to Spring MVC and Quarkus wherever OpenTelemetry is configured.

ReactiveActivitySignalFilter takes an ObjectProvider<ReactiveLiveActivityController> rather than a direct reference. WebFilter beans are eagerly resolved by WebFlux at startup to build the filter chain, so a direct constructor dependency would force-eager the controller and defeat its place in BootUiReactiveAutoConfiguration.LAZY_CONTROLLER_CLASS_NAMES. Calling .getIfAvailable() per request is safe because ReactiveBootUiChangeStream.signal() is already a no-op with no subscribers, and the first /stream request naturally resolves (and creates) the controller bean once the panel is opened.

Trace-id correlation, stamped identically to Quarkus

A reactive-only ReactiveOtelTraceIdSource reads Span.current() unconditionally at every capture point: HTTP exchange (via a new ReactiveHttpExchangeTraceFilter feeding a side-buffer HttpExchangeTraceRegistry, since Actuator's HttpExchange model has no trace-id field), and, through one ScopedCorrelationContextProvider installed with setCorrelationContextProvider, SQL, REST client, cache, email, fault tolerance, exceptions (ReactiveBootUiExceptionHandler), and security events (ReactiveSecurityLogsController + ReactiveSecurityEventTraceRegistry). This replaces the earlier inbound-header/SLF4J-MDC-only reliance. All four are wired by BootUiReactiveAutoConfiguration.ReactiveOpenTelemetryCorrelationConfiguration, gated only on the OpenTelemetry SDK being present (matching Quarkus's own Capability.OPENTELEMETRY_TRACER gate). It is deliberately not also gated on bootui.telemetry.enabled, which governs BootUI's own span export for the Traces/AI Framework panels — a separate concern from reading the id of a span the application's own tracing already started.

This alone is not sufficient. WebFlux has no thread-per-request invariant: a single request's reactive chain hops between the Netty event loop, boundedElastic (blocking JDBC), and parallel schedulers. Span.current() only resolves correctly across those hops when Reactor's automatic context propagation is enabled (Hooks.enableAutomaticContextPropagation()). Spring Boot 4.1 only calls that when spring.reactor.context-propagation=auto, and its own default is limited. Without auto, the trace-stamping code is wired correctly but reads an empty/invalid span everywhere except by coincidence on the thread the request started on. BootUiActuatorDefaultsEnvironmentPostProcessor now contributes spring.reactor.context-propagation=auto as an overridable default (the same "library default, host always wins" pattern used for management.tracing.sampling.probability) whenever the application is reactive and Micrometer context propagation (io.micrometer.context.ContextRegistry, which Micrometer Tracing brings) is present — see §7 for how this was found.

BootUI's own request id. ReactiveRequestCorrelationFilter gives every application request BootUI's request id with or without OpenTelemetry. It is an HttpHandlerDecoratorFactory, so it wraps WebFlux's exception handlers and the response commit as well as the filter chain. It writes the id into the Reactor context, and BootUiCorrelationThreadLocalAccessor exposes it to Micrometer context propagation, so the same auto mode restores it on every scheduler hop. As a WebFilter it also keeps it on the ServerWebExchange. BootUI's exchange repository stamps each exchange with it when HttpExchangesWebFilter records it in beforeCommit, which makes the id the exchange's id. The SQL, cache, REST client, email, and fault-tolerance recorders stamp it on each capture, and ReactiveSecurityLogsController stamps each audit event when it is published, so Live Activity nests those signals under the exact request that produced them.

Known, accepted residual limitations:

  • Without a tracing span, SQL, exceptions, security events, cache accesses, REST client calls, emails, and fault-tolerance events still nest by BootUI's request id. The feed shows one entry per exception group, nested under the request its latest occurrence came from; the profile attributes each occurrence to its own request.
  • HttpExchangeTraceRegistry#match (and its servlet sibling RequestCorrelationRegistry) deliberately requires a unique method+path+time-window candidate. Two genuinely concurrent identical requests (the same endpoint hit twice within roughly the same tens of milliseconds, with no other distinguishing signal) correlate to neither rather than risk attributing one request's trace id to the other. Both still show in the feed, each with its own SQL, cache, REST client, exception, and other stamped children nested by request id.
  • The servlet adapter's thread-based correlation (LiveActivityCorrelator) is not ported — it has no reactive equivalent.

6.5 Raw Spring Security panel (spring-security) — live on WebFlux

The raw Spring Security panel is ported via ReactiveSpringSecurityController and ReactiveSpringSecurityService. It is available whenever the application contributes at least one SecurityWebFilterChain; BootUI's own permit-all chain is excluded from that decision and from the report. The extractor reads the ordered chain beans directly rather than reflecting into WebFilterChainProxy, and every filter collection, chain match, and authorization simulation stays a Reactor Mono/Flux pipeline — no request path calls block() or performs other event-loop-blocking waits.

Platform-aware fidelity notes:

  • Filters are WebFilter beans, not jakarta.servlet.Filter; they are named faithfully in the filter list.
  • Matchers are ServerWebExchangeMatcher (PathPatternParserServerWebExchangeMatcher, etc.). Actual matching calls each chain's public reactive matches(...) API, including custom chain implementations. Spring Security does not expose the standard chain's matcher metadata, so BootUI uses bounded, read-only reflection for that description only. Known Spring matchers are rendered from an allow-list; a custom matcher's arbitrary toString() is never exposed because it could contain a configured header or token.
  • Explain is deliberately reduced-fidelity. /explain builds a sanitized path-and-method-only exchange and never reuses the BootUI request's headers, cookies, principal, session, body, addresses, or TLS state. Reactive explain results carry bestEffort:true; a context-dependent matcher can report no match rather than receiving live secrets.
  • sessionManagementPresent is a compatibility field, not proof of a WebSession policy. On WebFlux it is set when the chain contains Spring Security's context integration filter (SecurityContextServerWebExchangeWebFilter/ReactorContextWebFilter). The UI labels this signal Security context; it does not claim server-side session persistence is enabled or disabled.
  • Endpoint authorization (/endpoints) uses the reactive RequestMappingHandlerMapping where available. Annotation mappings are evaluated with the same sanitized exchange and synthetic anonymous/authenticated principals. Context-dependent or custom authorization managers are reported as custom/unknown, never guessed as denyAll. Functional-style RouterFunction routes are not included because they emit no annotation mapping metadata.
  • The BootUI permit-all chain (bootUiReactiveSecurityWebFilterChain from BootUiReactiveSpringSecurityAutoConfiguration) is always filtered out by BootUiSelfDataFilter, so the panel never shows BootUI's own internal chain.
  • BootUiReactiveSpringSecurityAutoConfiguration is auto-configured (alongside the servlet BootUiSpringSecurityAutoConfiguration) and permits BootUI routes at highest precedence when reactive Spring Security is configured, preventing the application's login wall from blocking the /bootui root and its descendants. It keeps the MCP bridge, the command-line endpoint (/bootui/api/cli), OTLP ingestion, and API-unlock session endpoints outside browser CSRF while requiring a cookie/header token pair for other state-changing BootUI requests. The configuration is isolated behind string-based class and bean conditions, so a WebFlux application without Spring Security starts without linking any reactive security type.
  • The WebFlux sample app (bootui-spring-webflux-sample-app) includes spring-boot-starter-security to demonstrate the integration end to end.

6.6 Security advisor (security) — live on WebFlux

The advisor uses a dedicated 32-rule reactive catalogue (SEC-RXF-*) over a neutral observation model collected from the application's SecurityWebFilterChain configuration. It stays distinct from the raw spring-security panel: the raw panel explains the configured chains and mappings, while the advisor turns the observed posture into bounded, deterministic findings across authentication, authorization, CSRF, CORS, headers, method security, Actuator exposure, OAuth2/JWT, configuration, and reactive session policy. BootUI's own permit-all chain is excluded from runtime analysis. See docs/SECURITY-CHECKS.md for the complete reactive catalogue.

The advisor remains available without Spring Security for the shared SEC-STATIC-001 configuration check. An explicit scan inspects bounded local declarations for SpotBugs/FindSecBugs, Semgrep, SonarQube, or CodeQL; it never runs an analyzer. Missing or indeterminate build files produce no absence finding, and static-only results do not assess runtime security or create a score. Cached report reads do not inspect project files.

The catalogue is aligned with the Java 17 / Spring Boot 4.1.1 / Spring Security 7.1.1 baseline and deliberately describes only evidence the adapter can observe: installed filter/header-writer types, inspectable CORS maps, and host Environment properties. An installed AuthorizationWebFilter does not reveal whether its manager chose permitAll, authenticated, a role check, or custom logic; a decoder-local JWT validator is not inferred from unrelated validator beans; and management-path authorization, reverse-proxy TLS policy, handler-level CORS, and custom filters remain outside the snapshot. Unknown filter, header-writer, or CORS extraction skips dependent conclusions and produces a partial observation rather than treating it as an absent protection. Recursive composite header traversal is depth-bounded and reports incomplete evidence explicitly. Scan status reflects applicable coverage: inapplicable rules do not qualify the assessment as incomplete, while missing applicable observations remain PARTIAL even without a rule error.

Rule alignment history

Two unsupported checks were replaced without changing the 25-rule count: the non-existent reactive spring.security.debug switch and the unprovable global-bean audience-validator check gave way to host-configured Actuator show-values=always detection for web-exposed env/configprops endpoints and RFC 7662 plain-HTTP opaque-token introspection detection.

Existing findings were narrowed where needed. Credentialed CORS now targets the legal allowedOriginPatterns="*" case; CSP absence is a LOW contextual review (and report-only policies are called out as non-enforcing); static JWT keys are INFO rotation advice; HTTPS/Actuator findings avoid claiming knowledge of external deployment policy; and the mixed bearer/login rule uses WebFlux's real NoOpServerSecurityContextRepository remediation rather than servlet-only SessionCreationPolicy.

A follow-up parity review brought the catalogue to 26 rules: SEC-RXF-CSRF-001 and SEC-RXF-SESSION-001 now also recognize formLogin() chains, not just OAuth2/OIDC login filters, and the new SEC-RXF-CORS-003 flags broad allowedOriginPatterns (e.g. https://*) to match the servlet stack's SEC-CORS-006.

The cross-stack accuracy audit then retired duplicate missing-authorization rules SEC-RXF-AUTHZ-002/003 and added the INFO structural chain-ordering check SEC-RXF-AUTHZ-004, leaving 25 active rules. It also separates Basic/browser credentials from header-only bearer APIs, OAuth client grants from login, and effective Actuator access from inclusion settings. Unknown observations remain incomplete rather than becoming missing-control findings.

The Spring Security 7.1 audit then added SEC-RXF-OAUTH2-005 (plain-HTTP OAuth2 client provider endpoints), bringing the catalogue to 26 rules, followed by six WebFlux parity rules (SEC-RXF-AUTH-001, SEC-RXF-AUTH-002, SEC-RXF-AUTH-003, SEC-RXF-HEAD-007, SEC-RXF-METHOD-001, and SEC-RXF-OAUTH2-006), bringing the catalogue to 32 rules. It also recognizes one-time-token login as interactive browser login and limits the framing and CSP reviews to chains with an observed browser login, so bearer-only API chains no longer receive a CSP finding.

6.7 Not applicable (1 panel)

PanelReason
HTTP Sessions"Not applicable on Spring WebFlux: HTTP Sessions are the servlet container's HttpSession API, which has no reactive equivalent (WebSession is a different, non-container-managed model), so this panel does not apply here." Mirrors how GraalVM/CRaC are NOT_APPLICABLE on Quarkus rather than "not yet."

7. A real bug this port found and fixed

Three availability/wiring gaps surfaced only because the WebFlux-only sample app (§8) was the first truly single-stack classpath the codebase ran, rather than a unit-test classpath that always carries both spring-webmvc and spring-webflux.

1. NoClassDefFoundError on a genuinely MVC-free classpath

Building the WebFlux-only sample app surfaced a genuine NoClassDefFoundError: BootUiEngineConfiguration.bootUiPentestingScanner() referenced the MVC-only RequestMappingInfoHandlerMapping.class unconditionally in an @Lazy @Bean method body. Resolving that class-literal constant-pool entry throws when spring-webmvc is genuinely absent. Fixed with a ClassUtils.isPresent(...) guard before the .class literal, passing null to SpringPentestingObservationCollector when absent. The collector records that MVC endpoint metadata is unavailable, rather than returning an empty inventory that could be mistaken for inspection finding no mappings. On a mixed MVC/WebFlux classpath, the active application context determines the runtime; MVC classes alone do not enable servlet metadata. The optional-class guard remains before resolving MVC types. Pentesting still evaluates bounded Spring configuration/OAuth metadata plus at most one GET and one OPTIONS loopback response, but A01 servlet coverage is NOT_APPLICABLE and no-finding mixed-category coverage uses WebFlux-specific INFO wording. The reactive Security advisor owns SecurityWebFilterChain, reactive CORS, and route-policy review. The collector uses spring.webflux.base-path for the validated loopback target instead of the servlet-only server.servlet.context-path, and inactive servlet session settings do not produce findings. This is the same defensive pattern the rest of the codebase uses for optional-dependency adapters — WebFlux was simply the first Spring-side consumer where an MVC type can be genuinely absent from the classpath, not just absent as a bean.

2. Manifest disagreeing with wiring

PanelsController unconditionally reported mcp-server and activity as available: true on every platform, even though the reactive autoconfiguration didn't yet wire their controllers. Fixed alongside the other divergent-panel availability checks (§6.5 today). activity has since been genuinely wired reactively (§6.4) and now correctly reports available: true again — this time because a real ReactiveLiveActivityController backs it. Both were caught by WebFluxApiConformanceTest's inherited availablePanelsAnswerTheirPrimaryGet() assertion (§8) — direct evidence for why the conformance suite runs against a real, minimal, single-stack sample app rather than relying on unit tests against a shared multi-stack test classpath alone.

3. Reactor context propagation not enabled by default

This gap surfaced only through end-to-end testing against the running sample app — unit tests call capture points directly on a single thread, so they never exercise a real Reactor scheduler hop. Stamping Span.current() at each capture point (§6.4) is necessary but not sufficient: Spring Boot 4.1's spring-boot-reactor module only calls Hooks.enableAutomaticContextPropagation() when spring.reactor.context-propagation=auto, and its own default is limited. Under the default, Reactor does not restore OpenTelemetry's ThreadLocal-based span context across the scheduler hops a WebFlux request constantly makes (Netty event loop → boundedElastic/loomBoundedElastic for blocking JDBC → parallel), so Span.current() returned a valid span only by coincidence, on whichever thread a request happened to still be on. Every new trace-stamping capture point read null/an invalid span in practice despite being wired correctly. Fixed by having BootUiActuatorDefaultsEnvironmentPostProcessor contribute spring.reactor.context-propagation=auto as an overridable default whenever the application is reactive and Micrometer context propagation (io.micrometer.context.ContextRegistry) is present. Confirmed by hitting the running sample app directly (/api/notes, /api/sample/boom) and checking /bootui/api/http-exchanges, /bootui/api/sql-trace, /bootui/api/exceptions, and /bootui/api/activity for populated, correctly-nested (parentId) trace ids — none of which a unit test asserts.

8. Sample app & end-to-end testing

  • bootui-spring-webflux-sample-app is a minimal WebFlux app (Netty, spring-boot-starter-webflux, deliberately no spring-boot-starter-web) with notes/scheduling/greeting/transactions packages, seeded with a scheduled task and an H2 datasource (Flyway + Liquibase migrations on separate baselined schemas) so the data-source-backed panels (Flyway, Liquibase, Database Connection Pools, SQL Trace, PostgreSQL) have something real to show or a truthful wrong-vendor skip.
  • Its welcome page shares the Spring sample's compact action-lab assets and BootUI's default theme. Runtime, Threads, Data, Integrations & AI, and Requests tabs follow the console's menu order, remember their URL fragment, and support arrow keys, Home, and End. Switching tabs starts no work. Raw responses are expandable and open on failure. The Threads action holds a bounded-elastic worker for five seconds, off the Netty event loop, with guidance for Live, Capture snapshot / Contention, and Observe threads / Observe & compare. No Java agent is needed. Virtual workers, enabled by default on JDK 21+, are not in the platform-thread snapshot; start with -Dspring-boot.run.arguments=--spring.threads.virtual.enabled=false for a visible demo worker. The welcome page and its exact static asset paths are public even with BootUI disabled; other application paths retain their authentication requirement.
  • bootui-conformance gained expected-panels-webflux.json — identical to expected-panels-spring.json except platform: "spring-boot-reactive", itself evidence the shared-contract thesis holds even in the golden fixture — and the sample app's WebFluxApiConformanceTest extends AbstractBootUiApiConformanceTest reuses the entire shared HTTP contract suite for free, exactly as the Quarkus adapter does.
  • bootui-spring-sample-app/e2e/playwright.webflux.config.js and tests-webflux/ are a second, separate Playwright config and test directory (not a new npm project), so the default npm test run against the servlet sample app is untouched. Besides per-panel specs for the advisors, PostgreSQL, MySQL, Runtime Insights, and the Java agent panels, webflux-smoke.spec.js checks the platform manifest, navbar branding, a representative sample of ported panels rendering cleanly (now including Live Activity and the MCP Server panel), that http-sessions shows its WebFlux-specific reason in both the sidebar and the panel alert, and that the Security advisor (security) is available and can be scanned.
  • Run it: see the "WebFlux (reactive) smoke suite" section of bootui-spring-sample-app/e2e/README.md.
  • playwright.custom-path.config.js runs one shared browser contract against both MVC and WebFlux with a non-default application root, UI path, and independently configured API path. It proves the shell metadata, assets, manifest, API fetches, SSE, CSRF enforcement, MCP controls, servlet OTLP receiver, and 404 behavior of the old /bootui mount in a real browser.
  • Dockerfile-webflux (repository root) is the reactive analogue of the plain servlet Dockerfile: the same exploded-jar-layers + jlink + distroless-glibc recipe, pointed at bootui-spring-webflux-sample-app. It keeps the sample app's own server.port=8081 default in the container too — the same port locally and in Docker, matching the one-dedicated-port-per-sample-app-family scheme (servlet/AOT/native/CRaC share 8080, WebFlux is 8081, Quarkus is 8082). There is deliberately no AOT/CRaC/native variant for WebFlux — see the Dockerfile's own header comment. .github/workflows/docker-publish.yml builds, smoke-tests (/actuator/health, /bootui/api/panels, /bootui/) against port 8081, and publishes it daily to Docker Hub as jdubois/bootui-sample-app-webflux, alongside the other five images.

9. Operational note: profile activation

BootUiActivationCondition checks Environment.getActiveProfiles(), not getDefaultProfiles(). An application whose application.properties sets spring.profiles.default=dev (a default, used only when literally zero profiles are active) will not activate BootUI under a bare java -jar launch unless a profile is explicitly activated (--spring.profiles.active=dev, SPRING_PROFILES_ACTIVE=dev, or spring-boot-devtools on the classpath, which is excluded from a repackaged jar by default). This is not WebFlux-specific — it reproduces identically on the servlet sample app — but is easy to trip over when smoke-testing a freshly built reactive sample app jar by hand.

10. Future work

  • R2DBC statement capture (§2): BootUI records SQL through a traced JDBC DataSource only, so R2DBC statements are not yet recorded.
Prev
Quarkus design notes

© 2026 Julien Dubois