Restrict launches to prepared runtimes (Refs #93)
CI / checks (push) Successful in 4m53s

This commit is contained in:
2026-10-09 17:15:15 -04:00
parent f0afd6de67
commit 596b160be3
36 changed files with 347 additions and 116 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ async function heartbeat(hostId: string, cpuUsagePercent: number) {
dockerRunning: true,
directoriesWritable: true,
storageAvailable: 100 * gib,
runtimeImages: [image],
preparedRuntimeImages: [image],
libraries: [{ id: libraryId, state: 'ready' }],
instanceResources: instances.map((instance) => ({
instanceId: instance.id,
@@ -92,7 +92,7 @@ beforeEach(async () => {
dockerRunning: true,
directoriesWritable: true,
storageAvailable: 100 * gib,
runtimeImages: [image],
preparedRuntimeImages: [image],
libraries: [{ id: libraryId, state: 'ready' }]
});
const libraries = await import('../../src/lib/server/game-files/index.js');