Skip to content

Transcript metrics not backfilled after job retry #44

@mriechers

Description

@mriechers

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 endpoint
  • api/services/worker.py — job processing start

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-discoveredDiscovered by an AI agent during workpriority: lowEnhancement, nice-to-havetype: bugSomething is not working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions