Files
OmniRoute/tests/unit/cli-setup-opencode.test.ts
Xiangzhe 5c03cfeedc fix(tests): make opencode setup/apply tests hermetic under the container guard (#10057)
Same class as the setup-qwen drain in c2df757610: since #10057 the
config-write guard exits 2 on ephemeral container runtimes, so the four
runSetupOpenCodeCommand tests and the /api/cli-tools/apply JSONC test
were environment-sensitive (red on container devboxes, green on
ubuntu-latest CI). They exercise the plugin install/merge path, not the
guard — pass allowContainerWrite / set the env override so they run
deterministically everywhere. The guard keeps its own dedicated coverage.

Refs #9985
2026-08-23 15:57:55 -03:00

6.0 KiB