You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ The format is based on Keep a Changelog and the project follows Semantic Version
14
14
-**core/layout**: Layout and interactive prop validators now reject non-object prop bags instead of silently treating them as empty props.
15
15
-**core/layout**: Invalid-prop diagnostics now stay safe when rendering the received value would throw during stringification.
16
16
-**core/runtime**: `internal_onRender` and runtime breadcrumb render timing now use the always-on monotonic clock even when perf instrumentation is disabled.
17
+
-**node/backend**: Auto execution mode now falls back to inline for headless worker-ineligible runs, and worker environment checks reject empty `nativeShimModule` strings.
17
18
18
19
### Tests
19
20
@@ -23,6 +24,7 @@ The format is based on Keep a Changelog and the project follows Semantic Version
23
24
-**core/layout**: Added regressions covering non-object prop bags for stack/box layout validators and all top-level interactive validators.
24
25
-**core/layout**: Added a regression covering hostile invalid prop values that throw during diagnostic stringification.
25
26
-**core/runtime**: Added deterministic regressions for widget-mode breadcrumb render timing and draw-mode `internal_onRender` timing.
27
+
-**node/backend**: Added node backend regressions for auto-mode fallback selection and worker environment support checks.
Copy file name to clipboardExpand all lines: docs/architecture/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ Both formats are little-endian, 4-byte aligned, and versioned. Mismatched versio
69
69
70
70
The Node/Bun backend supports three execution modes:
71
71
72
-
-**`"auto"`** (default): selects `"inline"` when `fpsCap <= 30`, otherwise `"worker"`.
72
+
-**`"auto"`** (default): selects `"inline"` when `fpsCap <= 30`; otherwise prefers `"worker"` and falls back to `"inline"` when no TTY or `nativeShimModule` is available.
73
73
-**`"worker"`**: native engine runs on a dedicated worker thread. Main thread is never blocked by terminal I/O.
74
74
-**`"inline"`**: engine runs on the main thread. Lower latency, but main thread blocks during I/O.
Copy file name to clipboardExpand all lines: docs/backend/node.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ knobs aligned:
26
26
27
27
-`maxEventBytes` is applied to both app parsing and backend transport buffers.
28
28
-`fpsCap` is the single scheduling knob.
29
-
-`executionMode: "auto"` resolves to inline when `fpsCap <= 30`, worker otherwise.
29
+
-`executionMode: "auto"` resolves to inline when `fpsCap <= 30`, otherwise it prefers worker mode and falls back to inline for headless runs without a TTY or `nativeShimModule`.
-`auto` (default): select inline for low-fps workloads (`fpsCap <= 30`); otherwise prefer worker mode and fall back to inline when no TTY or `nativeShimModule` is available.
44
44
-`worker`: force worker-thread engine execution. With the real native addon this
45
45
requires an interactive TTY; test harnesses can provide `nativeShimModule`
'Worker backend requires a TTY when using @rezi-ui/native. Use `executionMode: "inline"` for headless runs or pass `nativeShimModule` in test harnesses.',
0 commit comments