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(ci): explain the silent handlers added by the remote-pane and Live-probe work

rubenluetke10-beepf0052117671a
diff --git a/jarvis/agentic_ide/remote.py b/jarvis/agentic_ide/remote.py
index 9da3ef7ece..73e9ae4e00 100644
--- a/jarvis/agentic_ide/remote.py
+++ b/jarvis/agentic_ide/remote.py
@@ -233,7 +233,7 @@ def _stage_working_tree(top: Path, head: str | None, index: Path) -> tuple[str,
try:
if (top / path).stat().st_size > MAX_FILE_BYTES:
held.append(path)
- except OSError:
+ except OSError: # vanished since git listed it: nothing to send or hold
continue
if held:
_git_bytes(
@@ -451,7 +451,7 @@ def _tar_plan(folder: Path) -> tuple[int, list[str]]:
relative = path.relative_to(folder).as_posix()
try:
size = path.stat().st_size
- except OSError:
+ except OSError: # vanished or unreadable mid-walk: skip that one file
continue
if is_secret_name(name) or size > MAX_FILE_BYTES:
held.append(relative)
@@ -538,7 +538,7 @@ def _free_branch(top: Path, prefix: str) -> str:
while True:
try:
_git(top, "rev-parse", "-q", "--verify", f"refs/heads/{candidate}")
- except MoveError:
+ except MoveError: # no such branch: the answer this probe looks for
return candidate
counter += 1
candidate = f"{base}-{counter}"
diff --git a/jarvis/brain/provider_test.py b/jarvis/brain/provider_test.py
index e6933ff39c..e467f6a9bb 100644
--- a/jarvis/brain/provider_test.py
+++ b/jarvis/brain/provider_test.py
@@ -358,7 +358,7 @@ def _continuous_rejection(event: dict) -> str:
"""
try:
raw = json.dumps(event.get("error") or event, default=str)
- except (TypeError, ValueError):
+ except (TypeError, ValueError): # unserializable: classify as an unknown refusal
raw = ""
status = classify_provider_error(raw)
if status == NO_CREDITS: