Skip to content

windows-arm64 CI pins a BtbN daily FFmpeg build that is deleted in about two weeks, blocking releases #385

Backlog

Description

@TMHSDigital

Summary

The required windows-arm64 job downloads a BtbN daily autobuild, and BtbN prunes dailies after about two weeks. When the release and the cache entry are gone, CI turns red and the npm publish is skipped. This already blocked 0.55.0 and will recur around mid-December unless the zip is hosted somewhere this repo controls.

Where

  • .github/workflows/ci.yml:175
  • .github/workflows/ci.yml:176
  • .github/workflows/ci.yml:177
  • .github/workflows/ci.yml:159-162
  • .github/workflows/ci.yml:198-203

Details

The job pins FFMPEG_ARM64_RELEASE: autobuild-2026-11-29-12-41 (line 175). That is a daily autobuild, not a month-end one. The step's own error text says # BtbN deletes autobuild releases after about two weeks, so a pin goes stale once the cache (keyed on the hash) expires too. (lines 200-201). The job header comment (lines 159-161) still says it uses "a month-end autobuild release (those are kept, unlike the dailies)", which is now false. Pin history from git show <c>:ci.yml: 2026-09-30 (5a871aa..f2fda28), 2026-11-14 (71ba9cd), 2026-11-29 (875c8a1). The 875c8a1 message reads: "BtbN deleted the autobuild-2026-11-14 release, so the windows-arm64 leg 404'd on its download and failed CI (blocking the 0.55.0 release)." The month-end 09-30 build crashes on this runner (lines 171-173), so the maintainers cannot fall back to the kept month-end builds the way the Linux leg does (lines 33-36).

Impact

The job is required (lines 170-171), and red CI skips the npm publish. Once BtbN prunes the 11-29 release (around mid-December 2026) and the cache entry is evicted (7 days unused, or pushed out by the size cap), every push goes red and releases stop until someone re-pins by hand. This already happened once, on 0.55.0.

Steps to reproduce

Wait for BtbN to delete autobuild-2026-11-29-12-41, or change the cache key so it misses. Then run the windows-arm64 job: Invoke-WebRequest 404s and the step throws (line 202).

Suggested fix

Stop depending on BtbN keeping the release. Mirror the pinned zip (still verified by the same SHA-256) somewhere this repo controls, such as an asset on a dedicated release in this repo (for example ci-deps) or a long-lived artifact, and download it from there. Alternatively, pin the 2026-11-30 month-end build once it is published, if it starts on the runner. Also fix the stale comment at lines 159-162.

Acceptance criteria

  • The arm64 FFmpeg zip is downloaded from a location the repo controls (for example an asset on a dedicated ci-deps release), still verified by SHA-256
  • The stale job comment about "month-end autobuild release (those are kept)" is corrected

Getting started

  • Relevant files: .github/workflows/ci.yml
  • Run tests: npm test (also npm run typecheck and npm run lint); see CONTRIBUTING.md
  • If you change a tool's schema or description, run npm run docs

Filed by repo-audit/full-audit at f0e5ebd. Severity: high. Effort: S. audit-key: ci|.github/workflows/ci.yml|FFMPEG_ARM64_RELEASE

Activity

  1. added
    effort: small
    on Nov 29, 2026
  2. TMHSDigital commented on Nov 29, 2026

    @TMHSDigital
    OwnerAuthor

    Partial fix in b2141bf: the job comment now says the pin is a daily autobuild that BtbN prunes after about two weeks.

    Still open: hosting the zip somewhere this repo controls. That needs a maintainer decision, so it was not done automatically:

    1. A ci-deps release would fire publish.yml (release: published) unless publish.yml is first limited to v* tags.
    2. Mirroring a GPL FFmpeg build means taking on GPL redistribution obligations (corresponding source).

    Alternative: re-pin to the 2026-11-30 month-end build once BtbN publishes it, if it starts on the arm64 runner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cieffort: smallpriority: high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions