423 B
423 B
CI-safe tests and scripts
Do not assume local directories, files, tools, or generated artifacts exist in a clean CI environment. In particular, /tmp/opencode is an agent-environment convenience, not a CI guarantee. Tests should create temporary directories with node:os tmpdir() and mkdtemp(join(tmpdir(), prefix)), explicitly create required parent directories and fixtures, and clean up the files they create.