Skip to content

v5.8.1 — Live Hardening

Choose a tag to compare

@github-actions github-actions released this 12 Jul 23:27
· 31 commits to master since this release
3f6ceba

Three bugs the mocked suite couldn't see — found and fixed by running the diagnosis loop against a real ComfyUI 0.27.0 + RTX 4090 render. The auto-report now actually lands on every render, with a truthful duration.

Fixed

  • Auto-report fires on every render. The websocket execute loop could break on the status message (queue_remaining == 0) before the executing: null completion was dispatched — so the diagnosis subscriber (and webhook consumers) never fired on a real render, and the report was silently dropped. The loop now guarantees exactly one terminal event per execution.
  • Duration is worker-measured. durationS came from a websocket event whose elapsed_ms subtracted a monotonic start from an epoch timestamp — a ~1.78-billion-second nonsense value. It now comes from ComfyUI's own /history execution timestamps (measure-at-the-worker), falling back to 0.0 only when the worker reports no timing.
  • Subscriber tolerates the history-write window. ComfyUI signals completion slightly before /history is written; the subscriber fetched once, got nothing, and dropped the report. Now a bounded, fail-soft retry.

Verified live

Fresh-seed SDXL render → auto-emits exactly one document, durationS 34.52s (≈ wall time 35.02s), 7 populated per-node stages, no manual intervention. Also validated against the live server: collect_env field mapping, driver → unknown honesty, and the bridge stage-token join.

+7 tests · full suite 4815 passed · zero regressions.

Full Changelog: v5.8.0...v5.8.1