ComfyUI/tests/execution
Matt Miller a8b24cb0bb feat(jobs): cursor-based pagination on GET /api/jobs (BE-943)
Mirror the cloud jobs cursor (BE-885) on the OSS Python server so the
frontend sees one contract across runtimes.

- apply_sorting now appends the job id as a tiebreaker, making (create_time,
  id) a stable keyset; without it, ties could reorder between pages.
- get_all_jobs accepts an opaque 'after' cursor (honored only for created_at
  sort, like cloud), keyset-filters the sorted in-memory list, and returns
  has_more + a next_cursor. Minted in offset mode too so a client can bootstrap
  into keyset pagination.
- server.py /api/jobs parses 'after', returns next_cursor in the pagination
  object, and maps a malformed cursor to 400 INVALID_CURSOR.
- Reuses the shared utils.cursor codec (base64url JSON {s,v,id,o}) so the wire
  format matches cloud and assets exactly.

Tests: asc/desc multi-page round-trip, same-create_time tiebreaker, last-page
no-cursor, offset-mode bootstrap, execution_duration ignores cursor, malformed
cursor raises.
2026-06-09 21:16:24 -07:00
..
testing_nodes/testing-pack Update nodes categories and display names (CORE-89) (#13786) 2026-05-08 01:02:55 -04:00
extra_model_paths.yaml Fix progress update crossover between users (#9706) 2025-09-04 19:13:28 -04:00
test_async_nodes.py Multi-threaded load of models from disk (big load time speedups & Offload to disk) (CORE-43,CORE-152,CORE-164,CORE-165,CORE-117) (#13802) 2026-05-20 17:03:58 -07:00
test_execution.py Multi-threaded load of models from disk (big load time speedups & Offload to disk) (CORE-43,CORE-152,CORE-164,CORE-165,CORE-117) (#13802) 2026-05-20 17:03:58 -07:00
test_jobs.py feat(jobs): cursor-based pagination on GET /api/jobs (BE-943) 2026-06-09 21:16:24 -07:00
test_preview_method.py feat(preview): add per-queue live preview method override (#11261) 2025-12-15 15:57:39 -08:00
test_progress_isolation.py Fix progress update crossover between users (#9706) 2025-09-04 19:13:28 -04:00
test_public_api.py [fix] Fixes non-async public API access (#10857) 2025-11-23 22:56:20 -08:00