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:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user