haiku.rag/tests/sandbox
Yiorgis Gozadinos d9e4d1e57c
Bound a call that never reads and restore the iteration test
The read deadline only gets control at a read, so code that computes without
reading escaped it. Give the pool a request_timeout above code_timeout. The
watchdog kills the worker, and execute() already replaces a dead session, so a
runaway call fails and the next call recovers. A read refusal keeps the
variables, so it has to win the race whenever code does read.

Restore test_open_file_objects_are_not_iterable. Replacing the neighbouring
write test by text range deleted it, which left the instructions carrying a
prohibition with nothing to signal when monty lifts it.

Reuse the VFS and the pool when a session is replaced, so recovery skips the
document scan. Mount metadata.json with a lambda rather than a factory. Cover
open() in write mode. Fold the crash entry into the pydantic-monty bullet,
because no release shipped the worker without it.
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 Bound a call that never reads and restore the iteration test 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