• Aryan Noshirvnai's avatar
    Replace apt-get ffmpeg with a cached static binary - real fix for CI speed · d7f43a66
    Aryan Noshirvnai authored
    The Container Registry approach (build_ci_image) is reverted - confirmed via
    job log that $CI_REGISTRY is empty on this self-hosted instance (Container
    Registry isn't deployed here), so there was nowhere to push to.
    
    Root cause confirmed from an actual job log: apt-get install ffmpeg alone
    took 2min51s, unpacking/configuring 185 packages (video codecs, X11/Mesa/GL,
    fonts, speech-recognition libs) that this project never uses - it's audio-
    only. None of that is cacheable via apt itself.
    
    Fix: download John Van Sickle's static ffmpeg build (verified genuinely
    static via ldd - "not a dynamic executable", confirmed real mp3 encoding
    works at 278x realtime) instead of apt-installing it, and cache the binary
    itself via the existing cache: block so even the download only happens on
    the first run. git is also dropped from the apt install list - confirmed
    unused anywhere in app/test code (GitLab's own checkout doesn't use it).
    
    Verified locally: full 104-test suite passes with *only* this static binary
    on PATH (system ffmpeg hidden), matching what CI will have.
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
    d7f43a66
Name
Last commit
Last update
alembic Loading commit data...
deploy Loading commit data...
scripts Loading commit data...
src Loading commit data...
tests Loading commit data...
.env.example Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
Dockerfile Loading commit data...
README.md Loading commit data...
alembic.ini Loading commit data...
docker-compose.yml Loading commit data...
requirements-remix.txt Loading commit data...
requirements.txt Loading commit data...
setup.sh Loading commit data...