Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(diagnostics): the boot-budget guard was blind, not passing

rubenluetke10-beep81c1507ffc93
diff --git a/scripts/measure_boot.py b/scripts/measure_boot.py
index 26e6e3886d..bc6a3c78bf 100644
--- a/scripts/measure_boot.py
+++ b/scripts/measure_boot.py
@@ -201,6 +201,12 @@ def run_one(python: str, timeout: float) -> dict:
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
text=True,
+ # The app logs em dashes and arrows; without this the reader
+ # decodes them as cp1252 on Windows, dies on the first one, and
+ # the harness reports a boot that never reached its anchor when
+ # the boot was fine (AP-1).
+ encoding="utf-8",
+ errors="replace",
bufsize=1,
creationflags=NO_WINDOW_CREATIONFLAGS,
)
diff --git a/scripts/measure_desktop_boot.py b/scripts/measure_desktop_boot.py
index 64ccccc8a2..941f42f2f0 100644
--- a/scripts/measure_desktop_boot.py
+++ b/scripts/measure_desktop_boot.py
@@ -125,6 +125,12 @@ def run_one(python: str, timeout: float, mode: str = "legacy", voice: bool = Fal
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
text=True,
+ # The app logs em dashes and arrows; without this the reader
+ # decodes them as cp1252 on Windows, dies on the first one, and
+ # the harness reports a boot that never reached its anchor when
+ # the boot was fine (AP-1).
+ encoding="utf-8",
+ errors="replace",
bufsize=1,
creationflags=NO_WINDOW_CREATIONFLAGS,
)