Repository navigation
A reliability and security fix release. Everything since v1.7.0. Thanks to @speedyrulz for the audit (#109, #110).
⚠️ Upgrade notes
- Media paths are checked more strictly.
check_file, image decode and worker log routes now accept only paths inside ComfyUI's input, output and temp folders (or the worker's own log), and answer 403 otherwise. Symlinks are resolved first, so a symlink ininput/that points to a folder outside those roots is now refused. (#109) - Restored workers and tunnels are verified before reuse. On Linux, a saved PID must match the process's boot id and start time. On other platforms it must match its creation time. Workers saved by older versions are recognised once through their ComfyUI command line and port, then upgraded. (#109)
🛠 Fixes and improvements
- No more leaked Collector result queues. Queues are released when a run fails to start, and queues left behind by interrupted or failed master prompts are swept every 30 s. (#109)
- DistributedValue is pinned by worker id, so an offline worker or a serverless pool no longer shifts later workers onto their neighbour's values. Large integers stay exact. (#109, #110)
- Safer master–worker process handling.
- Tunnel fixes.
- Fixed a deadlock when the tunnel failed or timed out on start.
- A failed cloudflared is stopped.
- Restored tunnels can be stopped reliably. (#109)
- Config saves are atomic and serialised. Saves write a temporary file and rename it into place. Background writers can no longer undo each other's changes. File permissions are kept. Bulk settings saves leave tunnel and managed-process records alone. (#109, #110)
- Dispatch.
- Worker probes are time-bounded.
- A websocket "message too big" close counts as a clear rejection.
- Busy but eligible workers stay in image-list runs.
- Results for cancelled jobs are ignored. (#109)
- Ultimate SD Upscale (static mode) cleans up job state when the master is interrupted or fails. (#109)
- Smaller fixes.
- Values are clamped before conversion to 8-bit.
- AV1 CRF 0 is honoured.
- Upload timeouts scale with file size.
- Retained serverless jobs count toward the concurrency limit.
- Worker logs are tailed correctly across line-ending styles. (#109)
- Web UI.
- Worker names, hosts and the Cloudflare warning are escaped.
- Queue position and options are kept when a prompt falls back.
- 4xx errors are not retried.
- The local port conflict check and the stop and launch buttons are fixed.
- "Already stopped" is no longer shown as an error.
- Values of disabled workers are kept. (#109, #110)
Full changelog: v1.7.0...v1.7.1