Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

test(memory): move the deep-path snapshot test out of the unit shards (#1381)

Call White786b8dd2ac30
diff --git a/pyproject.toml b/pyproject.toml
index f468cba26..b7a480676 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -145,7 +145,7 @@ extend-ignore = ["E501"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
markers = [
- "integration: platform integration tests requiring Docker + platform tokens",
+ "integration: tests excluded from the unit shards because they need external infrastructure (Docker + platform tokens) or minutes of real filesystem work",
"uses_real_paths: opt out of the autouse home/config isolation so the test can exercise real path resolvers (must remain read-only)",
"no_sqlite_template: opt out of the pre-migrated SQLite template for migration/bootstrap tests",
]
diff --git a/tests/test_memory_snapshot.py b/tests/test_memory_snapshot.py
index e4d846805..99b2e66e3 100644
--- a/tests/test_memory_snapshot.py
+++ b/tests/test_memory_snapshot.py
@@ -821,6 +821,11 @@ def test_streaming_manifest_accepts_extended_unicode_path_record(tmp_path: Path)
assert entries.entry(relative_path) is not None
+# The >256KB path record forces roughly 1046 directory levels, and snapshot
+# verification is currently quadratic in tree depth, so this one test costs about
+# 162 seconds of CPU and exceeds the unit shards' per-file cap. Issue #1380 owns
+# the verification speed-up that lets this move back into the unit shards.
def test_snapshot_accepts_path_record_beyond_256k_and_clear_gc(
tmp_path: Path,
) -> None: