Skip to content

fix(release): fetch Intel macOS ffmpeg from osxexperts after evermeet's 410 - #96

Merged
AnnatarHe merged 1 commit into
mainfrom
fix/release-intel-mac-ffmpeg
Nov 26, 2026
Merged

AnnatarHe merged 1 commit into
mainfrom
fix/release-intel-mac-ffmpeg

Conversation

@AnnatarHe

@AnnatarHe AnnatarHe commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Why

The v1.0.16 release (run) and the nightly Release Snapshot both fail in the stage-ffmpeg.ts GoReleaser hook. The darwin/x64 download from evermeet.cx now returns:

410 {"status":"error","message":"API endpoint removed due to exorbitant abuse","code":410}

evermeet retired its unversioned getrelease redirect. Its versioned files (/ffmpeg/ffmpeg-9.1.zip) still exist, but they redirect to a personal mirror on port 4242 that took over 2 minutes without finishing one 26 MB file.

What

darwin/x64 now downloads from osxexperts.net, the host darwin/arm64 already uses:

  • https://www.osxexperts.net/ffmpeg80intel.zip
  • https://www.osxexperts.net/ffprobe80intel.zip

The URLs are pinned to a version, as the arm64 ones are. osxexperts keeps superseded builds online: the arm64 ffmpeg711arm.zip is no longer linked from its page but still downloads. The comment above the target list now describes the macOS source accurately.

Verification

  • bun run scripts/stage-ffmpeg.ts stages all 5 targets locally, and file reports the right format for each binary: Mach-O x86_64/arm64, ELF x86-64/aarch64, PE32+.
  • The Intel archives download at about 1 MB/s, well above the script's 100 KB/s stall cutoff. The __MACOSX/ entry in ffmpeg80intel.zip is already skipped by collect().
  • typecheck, lint, format:check and build pass. Two tests fail on my Mac, and they also fail on clean main, so they come from my local setup. CI is the reference for the test run.

After merge

The v1.0.16 tag still contains the broken URL, so re-running its job won't help. Release-please will open a 1.0.17 PR, and merging that ships the binaries. In the meantime v1.0.15 is marked Latest again, because install.sh and install.ps1 download from releases/latest/download and v1.0.16 has no assets.

Note, not changed here

The script comment says each entry is an LGPL build. The macOS builds (osxexperts now, evermeet before) are configured with --enable-gpl --enable-version3, which makes them GPLv3. Only the BtbN Linux/Windows builds are LGPL.

🤖 Generated with Claude Code


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…'s 410

evermeet.cx retired its unversioned "latest release" redirect
(/ffmpeg/getrelease/zip now answers 410 "API endpoint removed due to
exorbitant abuse"), which failed ffmpeg staging for darwin/x64 and with it
the v1.0.16 release and the nightly snapshot.

Stage the Intel build from osxexperts.net instead, the host darwin/arm64
already uses. The URLs are pinned to a version because osxexperts keeps
superseded builds online; evermeet's versioned files redirect to a mirror
too slow to fit the release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T15:04:51.483925Z 272ec5e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Comment thread scripts/stage-ffmpeg.ts
'https://evermeet.cx/ffmpeg/getrelease/zip',
'https://evermeet.cx/ffmpeg/getrelease/ffprobe/zip',
'https://www.osxexperts.net/ffmpeg80intel.zip',
'https://www.osxexperts.net/ffprobe80intel.zip',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important: the Intel build is now ffmpeg 8.0 (80intel) while the arm64 build next to it is 7.1.1 (711arm). The two macOS release archives now ship different ffmpeg major versions. Muxer, poster-frame and audio-extraction behaviour can differ between 7.x and 8.x, so a video upload that works on Apple Silicon can fail or produce different output on Intel, and the reverse. Nothing in the script or the CI checks this. Fix: pin both architectures to the same ffmpeg version if osxexperts publishes matching builds (for example ffmpeg711intel.zip and ffprobe711intel.zip). Otherwise record the skew explicitly and add a smoke test that runs ffmpeg -version and the metadata and poster paths against each staged binary.

Comment thread scripts/stage-ffmpeg.ts
* timeout and archive checks below rather than trusted. The URLs are pinned to
* a version because osxexperts keeps superseded builds online; evermeet.cx,
* which used to serve Intel, retired its unversioned "latest release" redirect
* with a 410, and its versioned files sit behind a far slower mirror.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important: the comment says the URLs are "pinned to a version" and that osxexperts "keeps superseded builds online". The files are plain names like ffmpeg80intel.zip, hosted by a single personal site, and the script has no checksum. Nothing stops the host from replacing the contents behind the same name, and a replacement would pass the size and zip-magic checks and go into a signed release. The new claim also isn't backed by anything in the repo. Fix: add a pinned SHA-256 per URL and verify it in verify(), or at least weaken the comment so it doesn't promise immutability.

Related: the header at lines 14-17 says every entry is an LGPL build. osxexperts' static builds are, as far as I know, normally built with --enable-gpl (x264/x265), and that wasn't checked for the new Intel archives. If any are GPL, the licensing rationale in that header no longer holds. Please confirm the configure flags (ffmpeg -version) for both macOS archives.

Comment thread scripts/stage-ffmpeg.ts
* with a few kilobytes of HTML under a 200. macOS has no equivalent CDN-hosted
* build, so it stays on the two established hosts — bounded by the timeout and
* archive checks below rather than trusted.
* build, so both architectures come from osxexperts.net — bounded by the

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit (optional): with both macOS architectures now on osxexperts.net, several comments elsewhere in the file are stale. Line 239 says "Every target is a different host", but four archive downloads (two per arch) now run in parallel against this one personal host. That makes throttling or stalls more likely, and the retry and stall limits were tuned for one download per host. The "macOS hosts" wording at lines 49, 94-95 and 182-183 is stale in the same way. Fix: update that wording, and consider fetching the macOS targets sequentially.

@shelltime

shelltime Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

🤖 Claude Code · Fix CI Release Failure in FFmpeg Staging

Investigated the failed CI release and implemented a fix in the FFmpeg staging script.

💰 Cost 🔢 Tokens ⏱️ Duration 🧠 Models 💬 Prompts ✏️ Lines
$1.43 2.5M 14m (10m active) claude-opus-5-5, claude-haiku-5-5 3 +7 / −4

2.5M tokens: 1.2K input · 14.2K output · 2.4M cache read · 83K cache write

📝 AI summary

Reviewed the latest release failure in CI and traced the issue to the FFmpeg staging workflow. The investigation used shell commands and repository tooling to inspect the release process and determine the necessary correction.

Updated /Users/annatarhe/code/rawback-app/cli/scripts/stage-ffmpeg.ts to address the CI failure. The requested fix was applied, leaving the release pipeline’s FFmpeg staging logic ready for another CI run.

View this session on ShellTime →

Updated 2026-11-26 15:33 UTC by ShellTime · totals for the whole session so far · the session page is visible to its owner

@AnnatarHe
AnnatarHe merged commit a9c4ebe into main Nov 26, 2026
14 checks passed
@AnnatarHe
AnnatarHe deleted the fix/release-intel-mac-ffmpeg branch November 26, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant