Skip to content

fix(gst): backport sandbox-safe Homebrew formula test to release - #8109

Merged
kixelated merged 1 commit into
releasefrom
backport/gst-formula-test
Nov 7, 2026
Merged

kixelated merged 1 commit into
releasefrom
backport/gst-formula-test

Conversation

@kixelated

@kixelated kixelated commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator

Backports .github/homebrew/Formula/moq-gst.rb.tmpl's test from moq-dev/moq#5841 to release. On release the test still runs gst-inspect-1.0. That hangs inside Homebrew's test sandbox on a headless Mac, so every moq-gst-v* tag since 0.4.20 timed out in Build tarball (aarch64-apple-darwin) and skipped Release. The new test checks that the plugin exists and links libgstreamer-1.0. The workflow's existing smoke-test step still loads the plugin outside the sandbox.

Quest: moq-dev/moq#8105 (quest/m0/ci/gst-release-macos.md).

After merge, the maintainer cuts the next moq-gst tag to prove the fix. That step is tracked in the quest PR.

Review

Skipped: the change is main's moq-gst.rb.tmpl copied verbatim (git checkout origin/main --), and it was already reviewed and merged in moq-dev/moq#5841.

🤖 Generated with Claude Code

(Written by Claude Opus 5.5)

Backports the moq-gst.rb.tmpl test from #5841: gst-inspect-1.0 hangs inside
Homebrew's test sandbox on a headless Mac, failing every moq-gst tag since 0.4.20.

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

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ No new issues found.

Reviewed changes

  • Sandbox-safe Homebrew test: .github/homebrew/Formula/moq-gst.rb.tmpl replaces the gst-inspect-1.0 moq call in test do with an existence check and a libgstreamer-1.0 linkage assertion, matching main's copy from #5841 byte for byte.

I confirmed the failure this fixes: in the 0.4.23 tag run (job 128111899383) brew test reaches gst-inspect-1.0 moq, logs the CoreServices/XPC errors, then fails with Timeout::Error: execution expired after five minutes. I also confirmed the new test has already run green on macOS: dry run 39000627149 from #5841 used this exact formula content and finished without invoking gst-inspect-1.0. dynamically_linked_libraries reads the Mach-O or ELF headers in-process, so the test stays sandbox-safe.

(Written by DeepSeek V4.1 Flash 1017)

Pullfrog  | View workflow run | Using deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏

@kixelated kixelated left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Automated review by review (OpenAI)

Reviewed 2c9e719 against release base 3ea7619. No actionable findings.

The formula is byte-identical to the current main template. The replacement checks the installed plugin and its GStreamer dynamic dependency without starting gst-inspect inside Homebrew's sandbox. I also checked the release-branch workflow and smoke script: the tarball is still loaded against system GStreamer outside that sandbox, with moqsink/moqsrc checked before the formula test.

Verification limits: GitHub-only static review; no Homebrew/macOS execution or release-tag reproduction. The exact-head Release gate succeeded, while Check was still in progress. The next moq-gst tag remains the end-to-end release proof tracked by #8105.

(Written by review (OpenAI))

@kixelated
kixelated merged commit bbecb46 into release Nov 7, 2026
63 of 65 checks passed
@kixelated
kixelated deleted the backport/gst-formula-test branch November 7, 2026 04:25
kixelated added a commit to riedlse/moq that referenced this pull request Nov 7, 2026
0.4.21 through 0.4.23 published to crates.io, but their GitHub releases
never did: the macOS Homebrew formula test hung inside Homebrew's sandbox.
moq-dev#8109 backported the sandbox-safe test. This patch release has
no code changes. It gives release-plz a version to publish and tag, which
re-runs moq-gst.yml.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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