fix: pin native exports to stage execution service

This commit is contained in:
2026-10-20 21:46:42 +01:00
parent 1f867d4827
commit bb98bde4fc
20 changed files with 420 additions and 74 deletions
+3
View File
@@ -81,6 +81,7 @@ esac
t.Fatal(err)
}
t.Setenv("PIPELINES_OPENCODE", executable)
localExportService(t, "http://127.0.0.1:1")
store, err := pipeline.Open(filepath.Join(dir, "runs.db"))
if err != nil {
t.Fatal(err)
@@ -446,6 +447,7 @@ esac
t.Fatal(err)
}
t.Setenv("PIPELINES_OPENCODE", executable)
localExportService(t, "http://127.0.0.1:1")
store, err := pipeline.Open(filepath.Join(dir, "runs.db"))
if err != nil {
t.Fatal(err)
@@ -533,6 +535,7 @@ func TestReadOnlyStageRetriesPostAdmissionTransportButMutatingStageDoesNot(t *te
dir := t.TempDir()
executable := filepath.Join(dir, "opencode")
t.Setenv("PIPELINES_OPENCODE", executable)
localExportService(t, "http://127.0.0.1:1")
scriptTemplate := `#!/bin/sh
if [ "$1" = "--help" ]; then echo ' api'; exit 0; fi
printf '%s %s\n' "$2" "$3" >> "@STATE@/calls"