Publish products without execution ledgers
This commit is contained in:
@@ -150,7 +150,7 @@ func TestRestorePlanIncludesPreviousCacheByDefault(t *testing.T) {
|
||||
}
|
||||
|
||||
got := actionRelPaths(plan.Actions)
|
||||
want := []string{"inputs/previous/artifacts/session_recap.md", "inputs/previous/manifest.json", "manifest.json"}
|
||||
want := []string{"inputs/previous/artifacts/session_recap.md", "manifest.json"}
|
||||
if !slices.Equal(got, want) {
|
||||
t.Fatalf("action local paths = %#v, want %#v", got, want)
|
||||
}
|
||||
@@ -192,7 +192,7 @@ func TestRestorePlanMissingOptionalPreviousCacheSkipsArtifact(t *testing.T) {
|
||||
}
|
||||
|
||||
got := actionRelPaths(plan.Actions)
|
||||
want := []string{"inputs/previous/manifest.json", "manifest.json"}
|
||||
want := []string{"manifest.json"}
|
||||
if !slices.Equal(got, want) {
|
||||
t.Fatalf("action local paths = %#v, want %#v", got, want)
|
||||
}
|
||||
@@ -559,7 +559,7 @@ func TestRestorePlanIncludesAvailableOptionalPrerequisiteHistory(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
want := []string{"inputs/previous/artifacts/session_recap.md", "inputs/previous/manifest.json", "manifest.json"}
|
||||
want := []string{"inputs/previous/artifacts/session_recap.md", "manifest.json"}
|
||||
if got := actionRelPaths(plan.Actions); !slices.Equal(got, want) {
|
||||
t.Fatalf("actions = %v, want %v", got, want)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user