Skip to content

Recognize completed outputs with valid MIME case and parameters - #39

Open
rudycelekli wants to merge 1 commit into
D3voz:mainfrom
rudycelekli:fix/normalize-job-output-mime
Open

rudycelekli wants to merge 1 commit into
D3voz:mainfrom
rudycelekli:fix/normalize-job-output-mime

Conversation

@rudycelekli

Copy link
Copy Markdown

Completed videos or Find people JSON can disappear from the public job result when the backend reports valid MIME capitalization or parameters, such as VIDEO/MP4 or application/json; charset=utf-8. Discover outputs by the normalized base media type, consistent with how the download route already accepts them. Media type tokens are case-insensitive and can have parameters (RFC 9110, section 8.3.1).

Validation: three native loopback job-result cases fail before the fix. All 16 focused output/submission regressions and TypeScript checks pass afterward; the 5 new cases pass on Node 22. Canonical outputs are unchanged, and unrelated images/problem documents are not selected as video or track results. Batch production-build qualification will follow when the backend fixes are combined. No GPU/actual ComfyUI execution claimed.

Prepared with AI assistance. This branch is independent of the existing stream framing changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant