feat: auto service lifecycle — /allocate, NodeSelector, idle sweep, CFOrchClient #9
No reviewers
Labels
No labels
architecture
backlog
enhancement
module:documents
module:hardware
module:manage
module:pipeline
module:voice
priority:backlog
priority:high
priority:medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/circuitforge-core#9
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/orch-auto-lifecycle"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/api/services/{service}/allocate: new coordinator endpoint for hands-free node selection; returnsallocation_id,url,warmflagcircuitforge_core.resources; acquires a vllm/vision allocation, yields it, and releases on exitstarting → running → idle → stopped); TTL sweep reaps expired allocationsAgentSupervisorcalls_run_idle_sweep()every 3 heartbeat ticks; POSTs/services/{service}/stopto the agent when a slot has been idle pastidle_stop_after_sidle_stop_after_s: newServiceProfilefield (0 = never stop); set to 600 s forvllmin all four public GPU profiles_try_cf_orch_alloc()wires allocate into the inference path whenCF_ORCH_URLis setTest Plan
conda run -n cf pytest tests/ -v)/api/services/vllm/allocateselects the right GPU/services/vllm/stopCF_ORCH_URLin Peregrine.env; verify LLMRouter routes through cf-orch/shows Services table with live state