haiku.rag/tests/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
..
__init__.py Delete the standalone QA and analysis agents 2026-05-19 11:39:20 +03:00
conftest.py Delete the standalone QA and analysis agents 2026-05-19 11:39:20 +03:00
test_models.py Delete the standalone QA and analysis agents 2026-05-19 11:39:20 +03:00
test_sandbox.py Recover from worker death and deny metadata writes 2026-07-28 19:11:19 +03:00
test_sandbox_multimodal.py Delete the standalone QA and analysis agents 2026-05-19 11:39:20 +03:00
test_sandbox_toc.py Recover from worker death and deny metadata writes 2026-07-28 19:11:19 +03:00