flush runtime diagnostics promptly

This commit is contained in:
udo
2026-07-14 22:15:13 +00:00
parent 8c3f8c5e01
commit 0bcf9a676e
4 changed files with 58 additions and 0 deletions
+5
View File
@@ -402,6 +402,11 @@ header free-functions are `inline`. The wasm backend exposes only declarations
independently enforces the same canonical identity, and persisted failures
are reused only when their recorded source path matches the current request.
- **Log timeliness**: the base process line-buffers stdout before forking
workers, the proactive compiler, and the WebSocket broker. This keeps each
newline-terminated diagnostic attached to its actual journal time instead of
releasing an old block-buffered failure during unrelated later traffic.
- **WebSocket end-to-end**: a headless client performs a raw WS handshake to
`:HTTP_PORT` with path `/site/tests/websockets.ws.uce` (self-resolving
`SCRIPT_FILENAME`) and asserts the `hello-ack` frame — exercising the full