Flake
test/cli/run/run-process.test.ts › "opencode run (non-interactive subprocess) > --trace writes a session trace artifact" failed once on the v0.12.1 release PR (#1338, head a2ff011130) with no related code change:
[opencode] expected exit 0, got 1 after 3075ms
Error: Model not found: test/test-model
Try: `altimate models` to list available models
The four sibling subprocess tests in the same file — same test provider, same model — passed in the same run seconds earlier, and the same test passed on the PR's previous heads. The branch touches nothing under cli/cmd/run, tracing, or provider config. Run: https://github.com/AltimateAI/altimate-code/actions/runs/35602891038
Looks like the subprocess occasionally starts before the test provider registration is visible to it (config read race), or the bounded subprocess suite is scheduling-sensitive under load. Worth a bounded retry inside expectExit for this shape, or a readiness check on the test provider before spawning.
Filed so the re-run has a paper trail per the release process.
🤖 Generated with Claude Code
https://claude.ai/code/session_012Q51zFUmPg1WwtS5CrGJE6
Flake
test/cli/run/run-process.test.ts› "opencode run (non-interactive subprocess) > --trace writes a session trace artifact" failed once on the v0.12.1 release PR (#1338, heada2ff011130) with no related code change:The four sibling subprocess tests in the same file — same test provider, same model — passed in the same run seconds earlier, and the same test passed on the PR's previous heads. The branch touches nothing under
cli/cmd/run, tracing, or provider config. Run: https://github.com/AltimateAI/altimate-code/actions/runs/35602891038Looks like the subprocess occasionally starts before the test provider registration is visible to it (config read race), or the bounded subprocess suite is scheduling-sensitive under load. Worth a bounded retry inside
expectExitfor this shape, or a readiness check on the test provider before spawning.Filed so the re-run has a paper trail per the release process.
🤖 Generated with Claude Code
https://claude.ai/code/session_012Q51zFUmPg1WwtS5CrGJE6