Remove Komodo backend in favor of native hosts

This commit is contained in:
2026-10-05 18:07:07 -04:00
parent 701066aaf8
commit 4b0f341d64
116 changed files with 557 additions and 8132 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ describe('server detail data', () => {
it('filters history before the global limit and includes the matching campaign members', async () => {
const { db } = await import('../../src/lib/server/db/index.js');
const handle = db();
handle.exec("INSERT INTO servers (name, komodo_name) VALUES ('target', 'target'), ('other', 'other')");
handle.exec("INSERT INTO servers (name) VALUES ('target'), ('other')");
handle.transaction(() => {
const deployment = handle.prepare("INSERT INTO deployments (id, action, started_at) VALUES (?, 'promote', ?)");
const member = handle.prepare("INSERT INTO deployment_servers (deployment_id, server, files_changed, restart_state) VALUES (?, ?, 1, 'done')");
@@ -32,7 +32,7 @@ describe('server detail data', () => {
});
it('identifies plugins, scripts, composed configs and unknown inventory files', async () => {
const { db } = await import('../../src/lib/server/db/index.js');
db().exec("INSERT INTO servers (name, komodo_name) VALUES ('target', 'target')");
db().exec("INSERT INTO servers (name) VALUES ('target')");
const { createScript } = await import('../../src/lib/server/fleet/scripts.js');
const { recordScript } = await import('../../src/lib/server/fleet/inventory.js');
const { version } = createScript({ name:'Plugin', kind:'plugin', targetRelPath:'native.bin', content:Buffer.from('plugin') });