circuitforge-core/tests/test_resources
pyr0ball a4ccaaf3e2 fix: address coordinator/idle-sweep quality issues from review
- CRITICAL: idle sweep now calls mark_stopped() after successful HTTP stop,
  preventing repeated stop POSTs on every 3rd tick for the same instance
- CRITICAL: active_allocations() now filters by gpu_id to avoid marking wrong
  instance idle on multi-GPU nodes when an allocation is released
- CRITICAL: VRAM pre-flight guard in ensure_service was dead code — added the
  actual HTTPException(503) before the candidate loop
- IMPORTANT: register() now updates agent_url on re-registration if it changed,
  so relocated agents are tracked correctly
- IMPORTANT: updated test_service_registry.py callers of active_allocations()
  to pass the now-required gpu_id argument
2026-04-02 12:45:31 -07:00
..
__init__.py feat(resources): add shared VRAMLease, GpuInfo, NodeInfo models 2026-03-30 20:21:37 -07:00
test_agent_app.py feat(resources): add cforch-agent FastAPI app with /health /gpu-info /evict 2026-03-30 20:51:08 -07:00
test_agent_supervisor.py feat: add idle sweep to AgentSupervisor 2026-04-02 12:30:28 -07:00
test_cli.py feat(resources): add cf-orch CLI with start, agent, status, install-service commands 2026-03-30 22:27:11 -07:00
test_client.py feat(core): add CFOrchClient sync+async context manager 2026-04-02 11:44:35 -07:00
test_coordinator_allocate.py feat: wire ServiceRegistry into coordinator allocate endpoints 2026-04-02 12:30:58 -07:00
test_coordinator_app.py feat: wire ServiceRegistry into coordinator allocate endpoints 2026-04-02 12:30:58 -07:00
test_eviction_engine.py feat(resources): add AgentSupervisor and EvictionEngine 2026-03-30 21:44:42 -07:00
test_eviction_executor.py feat(resources): add EvictionExecutor with SIGTERM/grace/SIGKILL sequence 2026-03-30 20:46:45 -07:00
test_gpu_monitor.py fix(resources): patch subprocess at import site in gpu_monitor tests 2026-03-30 20:45:01 -07:00
test_integration.py feat: wire ServiceRegistry into coordinator allocate endpoints 2026-04-02 12:30:58 -07:00
test_lease_manager.py fix(resources): rename lambda var; convert asyncio.run test to async 2026-03-30 20:41:03 -07:00
test_models.py fix(resources): add expires_at sentinel comment; move pytest import to module level 2026-03-30 20:25:58 -07:00
test_node_selector.py feat(orch): add NodeSelector — warm-first GPU scoring 2026-04-02 11:18:44 -07:00
test_profile_registry.py fix(resources): move MagicMock import to module level in profile registry tests 2026-03-30 20:36:40 -07:00
test_service_registry.py fix: address coordinator/idle-sweep quality issues from review 2026-04-02 12:45:31 -07:00