haiku.rag/tests/cassettes/test_sandbox
Yiorgis Gozadinos 94befc0dfd
Recover from worker death and deny metadata writes
A crashed worker used to poison the rest of the run. execute() reported the
crash as a failed result, but kept the dead session, and every later call then
raised RuntimeError out of the tool. Clear the session so the next call checks
out a replacement. Keep the session for a syntax or runtime error, which leaves
the worker healthy, and say in the failure text that a restart loses the
variables.

A MemoryFile accepts writes, so metadata.json took them while the other three
document files refused. Mount it through the same read and deny pair. The
write-denial test now covers all four files.
2026-07-28 19:11:19 +03:00
..
TestSandboxHeldConnection.test_close_is_idempotent_after_vfs_read.yaml Run analysis sandbox VFS reads on the calling loop via the skill connection 2026-06-05 16:20:11 +03:00
TestSandboxHeldConnection.test_variables_persist_across_executes_after_vfs_read.yaml Fix analysis sandbox "Already borrowed" crash on VFS reads 2026-06-05 11:50:19 +03:00
TestSandboxHeldConnection.test_vfs_read_concurrent_with_connection_read.yaml Run analysis sandbox VFS reads on the calling loop via the skill connection 2026-06-05 16:20:11 +03:00
TestSandboxHeldConnection.test_vfs_reads_repeatable_across_executes.yaml Run analysis sandbox VFS reads on the calling loop via the skill connection 2026-06-05 16:20:11 +03:00
TestSandboxHeldConnection.test_vfs_reads_use_injected_connection.yaml Run analysis sandbox VFS reads on the calling loop via the skill connection 2026-06-05 16:20:11 +03:00
TestSandboxHeldConnection.test_vfs_reads_while_connection_held.yaml Fix analysis sandbox "Already borrowed" crash on VFS reads 2026-06-05 11:50:19 +03:00
TestSandboxListDocuments.test_list_documents_with_data.yaml add document virtual filesystem to analysis sandbox 2026-04-17 18:35:16 +03:00
TestSandboxSearch.test_search_returns_doc_item_refs_and_labels.yaml add document virtual filesystem to analysis sandbox 2026-04-17 18:35:16 +03:00
TestSandboxSearch.test_search_returns_expanded_content.yaml add document virtual filesystem to analysis sandbox 2026-04-17 18:35:16 +03:00
TestSandboxSearch.test_search_with_data.yaml add document virtual filesystem to analysis sandbox 2026-04-17 18:35:16 +03:00
TestSandboxVFS.test_content_txt.yaml add document virtual filesystem to analysis sandbox 2026-04-17 18:35:16 +03:00
TestSandboxVFS.test_context_filter_limits_vfs.yaml add document virtual filesystem to analysis sandbox 2026-04-17 18:35:16 +03:00
TestSandboxVFS.test_items_jsonl.yaml add document virtual filesystem to analysis sandbox 2026-04-17 18:35:16 +03:00
TestSandboxVFS.test_iterdir_discovers_documents.yaml add document virtual filesystem to analysis sandbox 2026-04-17 18:35:16 +03:00
TestSandboxVFS.test_metadata_json.yaml add document virtual filesystem to analysis sandbox 2026-04-17 18:35:16 +03:00
TestSandboxVFS.test_open_read.yaml Support open()/with in the analysis sandbox 2026-07-28 19:10:53 +03:00
TestSandboxVFS.test_open_readlines.yaml Support open()/with in the analysis sandbox 2026-07-28 19:10:53 +03:00