In /Users/user_c042661f/Documents/reigh-workspace/reigh-worker, investigate why a live…
- User
In /Users/user_c042661f/Documents/reigh-workspace/reigh-worker, investigate why a live VibeComfy worker reaches heartbeat/preflight but never claims queued tasks. Evidence: logs stop at "VibeComfy backend active; skipping WGP import and queue startup", GPU idle, matrix polls task indefinitely. Find the intended queue loop for VibeComfy backend, identify the missing/buggy code path, and report exact files/functions plus a minimal fix strategy. Do not edit files.
- Assistant
I’ll inspect the worker repo read-only, starting with queue startup and VibeComfy backend branches, then trace where heartbeats/preflight diverge from claiming tasks.
- Assistant
The repo has a direct clue in
queue_lifecycle.py: the VibeComfy branch logs the exact stop message. I’m narrowing from that entrypoint into the claim loop and the backend selection tests. - Assistant
The key distinction is now clear: database claiming is not owned by
HeadlessTaskQueue; it is the outerserver.pyloop. The bug is likely that VibeComfy skips the local queue object but the later task dispatch still assumes a queue for direct generation routes. I’m checking registry dispatch next to verify the exact failing condition. - Assistant
There is another plausible reason for the “never claims” symptom: after the skip log, startup still runs shared WGP-oriented cleanup/import/warm-cache code before the poll loop. I’m checking those post-skip calls because a hang there would explain heartbeats continuing while no claim requests are sent.
- Assistant