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.

test(ci): isolate the remaining native and credential fixtures

rubenluetke10-beepf73676d8e67f
diff --git a/jarvis/skills/builtin/cli-gcloud/SKILL.md b/jarvis/skills/builtin/cli-gcloud/SKILL.md
index e70d61b785..064704e3a9 100644
--- a/jarvis/skills/builtin/cli-gcloud/SKILL.md
+++ b/jarvis/skills/builtin/cli-gcloud/SKILL.md
@@ -13,6 +13,8 @@ when_to_use: >-
tool, never the browser console.
category: meta
tags: [gcloud, google-cloud, cli, billing]
+intent_objects: [gcloud, google cloud, google-cloud]
+intent_verbs: [inspect, list, show, check, cost, costs, kostet, kosten, cuesta, coste, costos] # i18n-allow: billing questions
author: builtin
license: Apache-2.0
requires_tools: [cli_gcloud]
diff --git a/tests/unit/codex_app_server/test_transport.py b/tests/unit/codex_app_server/test_transport.py
index 957d866b1e..e0b25b8c46 100644
--- a/tests/unit/codex_app_server/test_transport.py
+++ b/tests/unit/codex_app_server/test_transport.py
@@ -3345,6 +3345,16 @@ def test_exact_windows_codex_runtime_state_is_allowed_and_tampering_is_refused(
import jarvis.core.paths as paths
monkeypatch.setattr(paths, "user_data_dir", lambda: tmp_path / "data")
+ if os.name == "posix":
+ # Exercise the Windows runtime layout while retaining real POSIX
+ # private-file checks; Win32 ACL APIs do not exist on this host.
+ def private_fixture_file(descriptor):
+ assert os.fstat(descriptor).st_mode & 0o777 == 0o600
+
+ monkeypatch.setattr(
+ "jarvis.core.exclusive_process_lock._validate_windows_file_security",
+ private_fixture_file,
+ )
monkeypatch.setattr(transport.sys, "platform", "win32")
monkeypatch.setattr(transport, "_normalized_machine", lambda: "x86_64")
monkeypatch.setattr(
diff --git a/tests/unit/dictation/test_local_preview.py b/tests/unit/dictation/test_local_preview.py
index 27ac6465cf..2c2443bd25 100644
--- a/tests/unit/dictation/test_local_preview.py
+++ b/tests/unit/dictation/test_local_preview.py
@@ -244,8 +244,12 @@ async def test_a_timed_out_native_call_keeps_the_engine_busy_until_it_really_end
assert await engine.transcribe(b"\x00" * 32000) is None
assert await engine.transcribe(b"\x00" * 32000) is None
assert engine.calls == 1, "the still-running native call must own the engine"
- await asyncio.sleep(0.2)
+ # Wait for actual native completion, independent of CI thread scheduling.
+ assert await asyncio.to_thread(engine._busy.acquire, timeout=2)
+ engine._busy.release()
assert await engine.transcribe(b"\x00" * 32000) is None
+ assert await asyncio.to_thread(engine._busy.acquire, timeout=2)
+ engine._busy.release()
assert engine.calls == 2
finally:
mod.PREVIEW_TIMEOUT_S = original
diff --git a/tests/unit/plugins/stt/test_dictionary_bias_opt_out.py b/tests/unit/plugins/stt/test_dictionary_bias_opt_out.py
index 0f23b78993..c4a882208a 100644
--- a/tests/unit/plugins/stt/test_dictionary_bias_opt_out.py
+++ b/tests/unit/plugins/stt/test_dictionary_bias_opt_out.py
@@ -33,6 +33,7 @@ def _cloud_provider(monkeypatch: pytest.MonkeyPatch) -> type[_RecordingProvider]
monkeypatch.setattr(stt_plugins, "_resolve_effective_stt", lambda name: (name, ""))
monkeypatch.setattr(stt_plugins, "_load_provider_class", lambda name: _RecordingProvider)
monkeypatch.setattr("jarvis.core.config.get_provider_secret", lambda _: "fixture-key")
+ monkeypatch.setattr("jarvis.core.config.get_secret_any", lambda _: "fixture-key")
monkeypatch.setattr(
dictionary, "dictionary_bias_words", lambda *_a, **_k: ["GitHub", "Agentic IDE"]
)