You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Panel synthesis rows were displaying only the synthesis worker runtime, which understated how long a panel had actually been running. The queue needs to measure from the first reviewer start through synthesis completion so collapsed panels reflect the user's end-to-end wait.
Expose the first panel member start time in the existing panel summary aggregate and keep synthesis timestamps as a fallback for rows without summary timing. This makes the display additive and preserves compatibility with older responses.
Generated with Codex
Co-authored-by: Codex <codex@openai.com>
COALESCE(SUM(CASE WHEN status = 'canceled' THEN 1 ELSE 0 END), 0),
1901
1902
COALESCE(SUM(CASE WHEN status = 'skipped' THEN 1 ELSE 0 END), 0),
1902
1903
COALESCE(SUM(CASE WHEN json_valid(token_usage) AND json_extract(token_usage, '$.has_cost') THEN 1 ELSE 0 END), 0),
1903
-
COALESCE(SUM(CASE WHEN json_valid(token_usage) AND json_extract(token_usage, '$.has_cost') THEN json_extract(token_usage, '$.cost_usd') ELSE 0 END), 0)
1904
+
COALESCE(SUM(CASE WHEN json_valid(token_usage) AND json_extract(token_usage, '$.has_cost') THEN json_extract(token_usage, '$.cost_usd') ELSE 0 END), 0),
1905
+
MIN(started_at)
1904
1906
FROM review_jobs
1905
1907
WHERE panel_role = 'member' AND panel_run_uuid IN (%s)
0 commit comments