test: wire cf-orch agent registration into compose stack #15

Open
opened 2026-03-31 19:06:30 -07:00 by pyr0ball · 1 comment
Owner

Goal

Verify that Snipe registers as a node with the cf-orch coordinator so GPU activity (trust_photo_analysis vision tasks) appears on the dashboard at http://10.1.10.71:7700/.

What to do

  1. Add a cf-orch agent service to compose.override.yml
  2. Agent registers with the coordinator at CF_ORCH_COORDINATOR_URL (default http://10.1.10.71:7700)
  3. Save a listing that has a photo URL to trigger a trust_photo_analysis background task
  4. Confirm VRAM is reserved on the dashboard while the vision task runs and released after

Config

cf-orch agent \
  --coordinator http://10.1.10.71:7700 \
  --node-id snipe \
  --host 0.0.0.0 \
  --port 7703

Acceptance criteria

  • snipe GPU card visible on dashboard
  • VRAM bar shows 2 GB reserved during trust_photo_analysis task
  • Photo analysis JSON written to trust_scores.photo_analysis_json after task completes
  • detect_available_vram_gb() in scheduler reads from cf-orch (not preflight fallback)
## Goal Verify that Snipe registers as a node with the cf-orch coordinator so GPU activity (`trust_photo_analysis` vision tasks) appears on the dashboard at `http://10.1.10.71:7700/`. ## What to do 1. Add a `cf-orch agent` service to `compose.override.yml` 2. Agent registers with the coordinator at `CF_ORCH_COORDINATOR_URL` (default `http://10.1.10.71:7700`) 3. Save a listing that has a photo URL to trigger a `trust_photo_analysis` background task 4. Confirm VRAM is reserved on the dashboard while the vision task runs and released after ## Config ```bash cf-orch agent \ --coordinator http://10.1.10.71:7700 \ --node-id snipe \ --host 0.0.0.0 \ --port 7703 ``` ## Acceptance criteria - [ ] `snipe` GPU card visible on dashboard - [ ] VRAM bar shows 2 GB reserved during `trust_photo_analysis` task - [ ] Photo analysis JSON written to `trust_scores.photo_analysis_json` after task completes - [ ] `detect_available_vram_gb()` in scheduler reads from cf-orch (not preflight fallback)
Author
Owner

Status update (2026-04-04):

  • tasks/scheduler.py shim (via cf-core) is running and enqueuing trust_photo_analysis tasks
  • Runner reads CF_ORCH_URL from env (router.py auto-config)
  • cf-orch agent not yet added to compose.override.yml — node does not appear on the dashboard
  • detect_available_vram_gb() still uses preflight fallback, not cf-orch

This is blocked until actual vision tasks run end-to-end (#21). Suggest tackling alongside #21 Phase 1.

**Status update (2026-04-04):** - ✅ `tasks/scheduler.py` shim (via cf-core) is running and enqueuing `trust_photo_analysis` tasks - ✅ Runner reads `CF_ORCH_URL` from env (router.py auto-config) - ❌ `cf-orch agent` not yet added to `compose.override.yml` — node does not appear on the dashboard - ❌ `detect_available_vram_gb()` still uses preflight fallback, not cf-orch This is blocked until actual vision tasks run end-to-end (#21). Suggest tackling alongside #21 Phase 1.
Sign in to join this conversation.
No labels
backlog
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Circuit-Forge/snipe#15
No description provided.