mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-08-18 23:38:29 +08:00
Review feedback on the jobs cursor pagination: - get_all_jobs now returns JobsPage, a NamedTuple, instead of a bare 4-tuple (callers unpack positionally either way). - Early-out when the filtered job set is empty so paging code never has to reason about indexing into an empty list. A malformed 'after' cursor is still decoded first and rejected with INVALID_CURSOR. - Document that job ids are server-assigned UUIDs, always present and unique — the empty-string fallback in _job_id_key only shields sorted() from a malformed dict, it is not part of the keyset contract.