Scope server snapshots and keep completed history off fleet refreshes

This commit is contained in:
2026-10-05 15:37:56 -04:00
parent 030794635e
commit d24c52b5cc
12 changed files with 376 additions and 200 deletions
+5
View File
@@ -1,6 +1,11 @@
import { kick } from '$lib/server/pipeline/worker.js';
import { json } from '@sveltejs/kit';
import { destroyServer } from '$lib/server/provisioning/index.js';
import { serverSnapshot } from '$lib/server/fleet/snapshot.js';
export function GET({ params }: { params: { name: string } }) {
return json(serverSnapshot(params.name));
}
export async function DELETE({ params }: { params: { name: string } }) {
const name = params.name;