Files
Molecule AI Dev Engineer A (Kimi) 441400cf71
Docker Build and Publish / build-and-push (push) Has been skipped
Tests / e2e (push) Successful in 3m1s
Nix / nix (ubuntu-latest) (push) Successful in 8m16s
Tests / test (push) Failing after 11m27s
test(integration): restore original terminal registry entry after modal test import
`tests/integration/test_modal_terminal.py` executes `tools/terminal_tool.py`
in a new module via `importlib.util.module_from_spec`. The module-level
`registry.register()` in `terminal_tool.py` updates the global registry with
the new module's `check_terminal_requirements`, breaking subsequent tests that
monkeypatch `tools.terminal_tool._get_env_config` (the registry uses the new
module's globals, not the original).

Save and restore the original registry entry after `exec_module` to prevent
this pollution.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 14:52:03 +00:00
..