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
@@ -31,7 +31,7 @@ export async function GET() {
cache.status === 'ready' && readyHosts.some((host) => host.id === cache.hostId)
)
);
const runtimes = connected.filter((host) => host.inventory.runtimeImages?.length);
const runtimes = connected.filter((host) => host.inventory.preparedRuntimeImages?.length);
const checks: SetupCheck[] = [
{
id: 'hosts',
@@ -46,7 +46,7 @@ export async function GET() {
title: 'Plutainer runtime',
state: runtimes.length ? 'ready' : 'attention',
detail: runtimes.length
? `${runtimes.length} connected hosts report cached runtime images.`
? `${runtimes.length} connected hosts report prepared runtime images.`
: 'Hosts prepare the configured Plutainer runtime automatically.',
href: '/hosts',
action: 'View host setup'
+1 -1
View File
@@ -447,7 +447,7 @@
</li>{/each}
</ul>{:else}<p>No cached game libraries reported yet.</p>{/if}
<p>
Cached images: {host.inventory.runtimeImages?.join(', ') ||
Prepared runtimes: {host.inventory.preparedRuntimeImages?.join(', ') ||
'None reported yet'}
</p>
{#if canManage}<details>