Preserve deleted server history

Retain historical server identities, results, and evidence after deletion. Mark archived entries as Deleted and prevent old work from targeting servers that reuse the same name.

Fixes #16.
This commit is contained in:
2026-09-27 21:48:55 -04:00
parent 53b29f726c
commit 981fb27c1c
61 changed files with 929 additions and 223 deletions
+1 -1
View File
@@ -364,7 +364,7 @@ describe('shared creation queue', () => {
await processCreations();
db().prepare('DELETE FROM servers WHERE name = ?').run(jobs[0].name);
await processCreations();
expect(await states()).toEqual(['failed', 'awaiting-health']);
expect(await states()).toEqual(['cancelled', 'awaiting-health']);
});
it('never verifies a replacement registered under the same server name', async () => {