Part of #734. A module has no way to know whether it is running on a developer's instance or in production, so the library cannot warn about anything only a developer would want to hear.
The immediate need is #737: buildImageUrl knows when a resize hint will be silently ignored (default provider, no Media Optimization) — the single worst image trap — but can only report it, not surface it. Same shape as any other develop-time-only diagnostic the library might add later.
The engine already computes it: ViewRenderError.isDevelopmentMode() wraps SettingsBean.getInstance().isDevelopmentMode(). It just isn't on the server bridge (GraalVMEngine.java:284 assembles those helpers).
Warnings must be develop-only and must not repeat per render — production pays nothing, and a dev tailing logs should not drown.
Part of #734. A module has no way to know whether it is running on a developer's instance or in production, so the library cannot warn about anything only a developer would want to hear.
The immediate need is #737:
buildImageUrlknows when a resize hint will be silently ignored (default provider, no Media Optimization) — the single worst image trap — but can only report it, not surface it. Same shape as any other develop-time-only diagnostic the library might add later.The engine already computes it:
ViewRenderError.isDevelopmentMode()wrapsSettingsBean.getInstance().isDevelopmentMode(). It just isn't on theserverbridge (GraalVMEngine.java:284assembles those helpers).server.config.isDevelopmentMode(): booleanonConfigHelper— or argue for a better home.globals.d.ts.querychannel, naming the node and pointing at the images guide.Warnings must be develop-only and must not repeat per render — production pays nothing, and a dev tailing logs should not drown.