-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Add unified jobs API with /api/jobs endpoints #11054
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Kosinkadink
merged 28 commits into
Comfy-Org:master
from
ric-yu:feature/unified-jobs-api
Dec 18, 2025
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
5aa07d7
feat: create a /jobs api to return queue and history jobs
ric-yu aa00641
update unused vars
ric-yu b2bd48e
include priority
ric-yu b874f46
create jobs helper file
ric-yu 380b6ae
fix ruff
ric-yu 048c413
update how we set error message
ric-yu 2e0b26b
include execution error in both responses
ric-yu e4c7136
rename error -> failed, fix output shape
ric-yu 90fb5cc
re-use queue and history functions
ric-yu 8a2bb7c
set workflow id
ric-yu b7c7712
allow srot by exec duration
ric-yu a38aacf
fix tests
ric-yu 1b67306
send priority and remove error msg
ric-yu 5274b91
use ws messages to get start and end times
ric-yu c860cc6
revert main.py fully
ric-yu 5ed90a1
refactor: move all /jobs business logic to jobs.py
ric-yu b14ae80
fix failing test
ric-yu a10cb30
remove some tests
ric-yu 86590ca
fix non dict nodes
ric-yu 460b848
address comments
ric-yu 1f7c1a9
filter by workflow id and remove null fields
ric-yu ed61899
add clearer typing - remove get("..") or ..
ric-yu c8a1d2e
refactor query params to top get_job(s) doc, add remove_sensitive_fro…
ric-yu 7f4fb73
Merge branch 'master' into feature/unified-jobs-api
Kosinkadink 03a7f1c
add brief comment explaining why we skip animated
ric-yu 724fbf8
comment that format field is for frontend backward compatibility
ric-yu 786703a
fix whitespace
ric-yu be341c9
Merge branch 'master' into feature/unified-jobs-api
guill File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor query params to top get_job(s) doc, add remove_sensitive_fro…
…m_queue
- Loading branch information
commit c8a1d2ea0ddabe94cec3814ce7f07bb2f2bcaf15
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.