Expose ComfyUI run time on Enhance jobs as run_ms

Parse execution_start vs the end event from /history, store it when the
poller moves a job to ready/failed (never overwritten with null), and
return it as "run_ms" on every job endpoint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cameron CordesandClaude Opus 5.5 committed 2026-10-30 19:08:48 -04:00
1 parent c7d810b812
commit 47ab6b3c00
9 files changed
+106 -4

No files matched your search

@@ -0,0 +1 @@
ALTER TABLE enhance_jobs DROP COLUMN run_ms;
@@ -0,0 +1 @@
ALTER TABLE enhance_jobs ADD COLUMN run_ms BIGINT;