Merge imported products into local session state
This commit is contained in:
@@ -150,7 +150,6 @@ func TestPublishedOutputInspectionKeepsCarriedIdentityWithoutPayloadReads(t *tes
|
||||
fake.SeedObject(storage.FakeObject{Key: key, Data: []byte("carried\n")})
|
||||
current.Commit.Artifacts[1].Source = "narratio.transcript.final_trimmed"
|
||||
current.Commit.Artifacts[1].DestinationKey = key
|
||||
current.Manifest = nil
|
||||
reads := len(fake.Reads)
|
||||
outputs, err := inspectPublishedOutputs(context.Background(), cfg, fake, nil, current, []artifacts.RemoteLock{{Source: "narratio.transcript.final_trimmed"}}, true, "current")
|
||||
if err != nil {
|
||||
@@ -247,7 +246,6 @@ func TestPublishedOutputInspectionNormalizesAcceptedSources(t *testing.T) {
|
||||
current := seedCommittedRestoreSnapshot(t, cfg, fake, "20260519T010203Z-a1b2c3d4", map[string][]byte{"transcripts/full.json": []byte("published\n")})
|
||||
declaration := ¤t.Commit.Artifacts[1]
|
||||
declaration.Source = canonical
|
||||
current.Manifest = nil
|
||||
outputs, err := inspectPublishedOutputs(context.Background(), cfg, fake, nil, current, []artifacts.RemoteLock{{Source: canonical}}, true, "current")
|
||||
if err != nil || len(outputs) != 1 {
|
||||
t.Fatalf("outputs=%#v err=%v", outputs, err)
|
||||
|
||||
Reference in New Issue
Block a user