diff --git a/.github/workflows/ci-rust.yml b/.github/workflows/ci-rust.yml index b01d3ce..1da3d67 100644 --- a/.github/workflows/ci-rust.yml +++ b/.github/workflows/ci-rust.yml @@ -89,8 +89,24 @@ jobs: - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 + # choco exits 0 even when the community feed answers 503, so a failed + # install used to surface five minutes later as nineteen tests panicking + # on "ffmpeg: program not found". Retry the transient failure, then prove + # both binaries are callable so this step fails where the cause is. - name: Install FFmpeg - run: choco install ffmpeg --yes --no-progress + shell: pwsh + run: | + $ErrorActionPreference = 'Continue' + $env:PATH = "$env:PATH;$env:ProgramData\chocolatey\bin" + foreach ($attempt in 1..3) { + choco install ffmpeg --yes --no-progress + if (Get-Command ffmpeg -ErrorAction SilentlyContinue) { break } + Write-Host "::warning::FFmpeg install attempt $attempt did not produce a binary; retrying." + Start-Sleep -Seconds 20 + } + $ErrorActionPreference = 'Stop' + ffmpeg -version + ffprobe -version - name: cargo clippy run: cargo clippy --all-targets --all-features -- -D warnings diff --git a/webapp/src/vite-env.d.ts b/webapp/src/vite-env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/webapp/src/vite-env.d.ts @@ -0,0 +1 @@ +///