ComfyUI/tests/execution
Matt Miller 1dc8dd7e0c
Some checks failed
Python Linting / Run Ruff (push) Waiting to run
Python Linting / Run Pylint (push) Waiting to run
Build package / Build Test (3.10) (push) Has been cancelled
Build package / Build Test (3.11) (push) Has been cancelled
Build package / Build Test (3.12) (push) Has been cancelled
Build package / Build Test (3.13) (push) Has been cancelled
Build package / Build Test (3.14) (push) Has been cancelled
feat(prompt): enforce canonical UUID prompt_id at job creation
POST /prompt previously accepted any client-supplied prompt_id verbatim,
str()-coercing even non-strings, and minting the literal job id "None"
for an explicit JSON null. The new GET /api/assets job_ids filter matches
stored job ids as canonical UUIDs exactly, so a non-UUID id minted a job
whose assets could never be filtered.

- validate_job_id (comfy_execution/jobs.py): requires a string in the
  canonical lowercase hyphenated UUID form; raises ValueError otherwise,
  including parseable-but-non-canonical spellings (uppercase, braced, URN,
  bare hex), which would otherwise be silently rewritten and then miss
  every exact-match lookup downstream (history keys, websocket
  correlation, /interrupt, the assets job_ids filter).
- POST /prompt: absent or null prompt_id means the server mints uuid4;
  invalid means 400 invalid_prompt_id on the standard error envelope.
- openapi.yaml: document the request-side prompt_id (format uuid,
  nullable) on PromptRequest.
- tests: unit matrix for validate_job_id; integration tests against the
  booted server covering rejection, acceptance, and null handling.
2026-06-09 21:52:52 -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(prompt): enforce canonical UUID prompt_id at job creation 2026-06-09 21:52:52 -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