Files
kevinveenbirkenbachandClaude Opus 5.5 ff229ff51c feat(svc-ai-lmstudio): fetch every lacking model at once as async jobs
The model preload fetched one model after the other, so a node with several models waited for the sum of all downloads. When async is enabled, every model the store lacks now starts as its own async get_url job per source slot: the declared url first, then each mirror, a mirror only after the whole source round ended and only for the models still missing. Each slot round gets a budget of max(floor, bytes / minimum rate) with async retries inside it. A jobs file records the running jobs, so a later run waits out or drops the downloads of a killed run, and a download that still runs or reports no state past its lifetime stops the play. Partial downloads in staging are removed before every store read, and the final check fails closed with what each source answered. Debug runs keep fetching one model at a time through get_url_retry, which now takes its own retries argument.

🎯 Fix: 92 %
💥 Break: 4 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 88
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 10:49:25 +00:00
..