Merge: pipeline stages run on their own OpenCode service with stage-only limits

This commit is contained in:
2026-11-04 14:12:38 +00:00
12 changed files with 977 additions and 15 deletions
+1
View File
@@ -67,6 +67,7 @@ func localExportService(t *testing.T, endpoint string) {
t.Setenv("XDG_CACHE_HOME", t.TempDir())
state := t.TempDir()
t.Setenv(opencode.OpenCodeServiceStateEnvKey, state)
t.Setenv(opencode.StageServiceEnvKey, "shared") // these fixtures model the shared CLI-managed service
if err := os.Mkdir(filepath.Join(state, "opencode"), 0700); err != nil {
t.Fatal(err)
}