ComfyUI/tests/execution
ric-yu 1ca89b810e
Some checks are pending
Python Linting / Run Ruff (push) Waiting to run
Python Linting / Run Pylint (push) Waiting to run
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.10, [self-hosted Linux], stable) (push) Waiting to run
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.11, [self-hosted Linux], stable) (push) Waiting to run
Full Comfy CI Workflow Runs / test-stable (12.1, , linux, 3.12, [self-hosted Linux], stable) (push) Waiting to run
Full Comfy CI Workflow Runs / test-unix-nightly (12.1, , linux, 3.11, [self-hosted Linux], nightly) (push) Waiting to run
Execution Tests / test (macos-latest) (push) Waiting to run
Execution Tests / test (ubuntu-latest) (push) Waiting to run
Execution Tests / test (windows-latest) (push) Waiting to run
Test server launches without errors / test (push) Waiting to run
Unit Tests / test (macos-latest) (push) Waiting to run
Unit Tests / test (ubuntu-latest) (push) Waiting to run
Unit Tests / test (windows-2022) (push) Waiting to run
Add unified jobs API with /api/jobs endpoints (#11054)
* feat: create a /jobs api to return queue and history jobs

* update unused vars

* include priority

* create jobs helper file

* fix ruff

* update how we set error message

* include execution error in both responses

* rename error -> failed, fix output shape

* re-use queue and history functions

* set workflow id

* allow srot by exec duration

* fix tests

* send priority and remove error msg

* use ws messages to get start and end times

* revert main.py fully

* refactor: move all /jobs business logic to jobs.py

* fix failing test

* remove some tests

* fix non dict nodes

* address comments

* filter by workflow id and remove null fields

* add clearer typing - remove get("..") or ..

* refactor query params to top get_job(s) doc, add remove_sensitive_from_queue

* add brief comment explaining why we skip animated

* comment that format field is for frontend backward compatibility

* fix whitespace

---------

Co-authored-by: Jedrzej Kosinski <kosinkadink1@gmail.com>
Co-authored-by: guill <jacob.e.segal@gmail.com>
2025-12-17 21:44:31 -08:00
..
testing_nodes/testing-pack Fix progress update crossover between users (#9706) 2025-09-04 19:13:28 -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 Fix progress update crossover between users (#9706) 2025-09-04 19:13:28 -04:00
test_execution.py Add unified jobs API with /api/jobs endpoints (#11054) 2025-12-17 21:44:31 -08:00
test_jobs.py Add unified jobs API with /api/jobs endpoints (#11054) 2025-12-17 21:44:31 -08: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