Skip to content

Admission: a disabled external runtime counts for no memory - #104

Merged
data-angel merged 1 commit into
mainfrom
fix/disabled-external-runtime-memory
Nov 3, 2026
Merged

data-angel merged 1 commit into
mainfrom
fix/disabled-external-runtime-memory

Conversation

@data-angel

Copy link
Copy Markdown
Contributor

Admission counted a runtime as loaded from its last status alone. A disabled external runtime, which LLooM doesn't own, kept its last running or external status. So its memory stayed on the node's budget, and the plan proposed stopping it.

Found during tonight's TP-4 qualification. On 01, the retired external entry for the old TP-4 server (sparkglm-tp4-standalone, 96 GB) made TP-4 admission project 210 GB on a node with 5.8 GB actually in use.

Fix: a disabled external runtime counts as not loaded. A disabled managed runtime that's still up keeps counting until LLooM stops it.

Test: test/runtime-policy.test.mjs. A retired external runtime with a stale status adds nothing and gets no stop action, while a disabled managed one that's still running is counted. It fails before the fix: 65 GB projected instead of 35.

check, lint, format:check and test:unit pass.

🤖 Generated with Claude Code

Admission counted a runtime as loaded from its last status alone. A
disabled external runtime, which LLooM does not own, kept its last
running status, so its memory stayed on the node's budget and the plan
proposed stopping it. On 01 a retired 96 GB external entry for the old
TP-4 server made TP-4 admission project 210 GB.

A disabled external runtime now counts as not loaded. A disabled managed
runtime that is still up keeps counting until LLooM stops it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@data-angel
data-angel merged commit 9cb3d53 into main Nov 3, 2026
1 of 2 checks passed
@data-angel
data-angel deleted the fix/disabled-external-runtime-memory branch November 3, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant