Keep one verified copy of session audio

This commit is contained in:
2026-11-30 01:41:12 +00:00
parent c07d4f24a2
commit 3094ad892f
39 changed files with 278 additions and 1570 deletions

View File

@@ -297,9 +297,6 @@ func TestCommittedRestoreRejectsChangedAudioBeforeInstall(t *testing.T) {
for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
cfg := restorePlanConfig(t)
cfg.Pipeline.Spool.Root = filepath.Join(t.TempDir(), "spool")
cacheDisabled := false
cfg.Pipeline.Cache.S3Audio = &cacheDisabled
fake := &storage.FakeBackend{}
current := seedCommittedRestoreSnapshot(t, cfg, fake, "20260519T010203Z-a1b2c3d4", map[string][]byte{
"audio/alice.flac": []byte("original-audio"),