From a32e95d913eb222cb98aa50133292db0ae87b55d Mon Sep 17 00:00:00 2001 From: Dakota Gravitt <19499852+dakotagrvtt@users.noreply.github.com> Date: Wed, 25 Feb 2026 21:02:48 -0600 Subject: [PATCH] feat(transcoding): add sentinel-based transcode guard and frontend retry - Introduce a `.transcoding` sentinel file to prevent concurrent ffmpeg processes for the same video; return HTTP 202 with `Retry-After: 5` when a transcode is already in progress - Serve cached transcode immediately when the output file exists, avoiding unnecessary re-transcodes on repeat requests - Fix transcode failure response code from 404 to 500 - Add `isTranscoding` state in VideoPlayer that triggers an in-UI message and auto-retries the video source after 5 s when the server responds with 202 - Use `retryKey` to force re-mount of the `