fix(codex): defer workspace trust handling
test / unit (pull_request) Successful in 29s
test / integration (pull_request) Successful in 42s
test / unit (push) Successful in 30s
test / integration (push) Successful in 44s

This commit was merged in pull request #110.
This commit is contained in:
2026-06-02 03:11:51 +00:00
parent d6ebd0d2eb
commit 36e3443d2e
2 changed files with 0 additions and 8 deletions
-4
View File
@@ -31,7 +31,6 @@ class TestAgentProviderRuntime(unittest.TestCase):
dockerfile="/tmp/Dockerfile.codex",
state_dir=Path(tmp),
)
config = (Path(tmp) / "codex-config.toml").read_text()
self.assertEqual("codex", plan.template)
self.assertEqual("codex", plan.command)
self.assertEqual("read_prompt_file", plan.prompt_mode)
@@ -46,9 +45,6 @@ class TestAgentProviderRuntime(unittest.TestCase):
("/home/node/.codex/config.toml",),
tuple(f.guest_path for f in plan.files),
)
self.assertIn('[projects."/home/node"]', config)
self.assertIn('[projects."/home/node/workspace"]', config)
self.assertEqual(2, config.count('trust_level = "trusted"'))
def test_codex_forward_host_credentials_adds_auth_and_verify(self):
with tempfile.TemporaryDirectory(prefix="bb-provider.") as tmp: