Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: require archive restore ownership only for live transfers

[._.]/ Adam Eivye4dea50b3a70
diff --git a/server/services/backup.test.js b/server/services/backup.test.js
index 7b284b236d..29e7579e50 100644
--- a/server/services/backup.test.js
+++ b/server/services/backup.test.js
@@ -3124,7 +3124,7 @@ describe('restoreSnapshot snapshotId, filter flags, and settings re-sync', () =>
await runRestore('/dest', 'snap-1', { dryRun: false, subdirFilter });
expect(withLiveCosRestore).toHaveBeenCalledTimes(1);
});
- it.each([{ dryRun: true }, { dryRun: false, subdirFilter: 'images' }, { dryRun: false, subdirFilter: 'cos/agents' }])('leaves unaffected scope alone: %j', async options => {
+ it.each([{ dryRun: true }, { dryRun: false, subdirFilter: 'images' }, { dryRun: true, subdirFilter: 'cos/agents' }])('leaves unaffected scope alone: %j', async options => {
await runRestore('/dest', 'snap-1', options);
expect(withLiveCosRestore).not.toHaveBeenCalled();
});