-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
agent-discoveredDiscovered by an AI agent during workDiscovered by an AI agent during workpriority: lowEnhancement, nice-to-haveEnhancement, nice-to-havetype: bugSomething is not workingSomething is not working
Description
Bug
When a job initially fails (e.g., due to file permission errors) and is later retried successfully, the duration_minutes and word_count fields remain None. The retry path doesn't recalculate transcript metrics.
Examples
Jobs 2, 6, 9, 11 all completed successfully after retry but still show duration_minutes=None and word_count=None.
Expected
The retry endpoint (POST /api/jobs/{id}/retry) or the worker's job processing should recalculate metrics if they're missing.
Suggested Fix
In the retry handler or at the start of worker processing, check if duration_minutes or word_count is None and recalculate from the transcript file.
Location
api/routers/jobs.py— retry endpointapi/services/worker.py— job processing start
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
agent-discoveredDiscovered by an AI agent during workDiscovered by an AI agent during workpriority: lowEnhancement, nice-to-haveEnhancement, nice-to-havetype: bugSomething is not workingSomething is not working