641a52d1ad
Adds per-call instrumentation to _run_video_inference so we can see where the cost goes on slow videos: frame extraction (ffmpeg seeks), WD14, or SigLIP. Also captures file size to correlate slowness with file characteristics. Output shape: tag_and_embed: video 7384 timings extract=12.3s wd14=24.1s siglip=82.6s frames=10/10 file_size=412.5MB Investigating a soft-time-limit storm where the deployed code has soft_time_limit=900 but workers are firing limits at ~120s intervals. This patch is pure observability — no behavior change. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>