Repository navigation
ci: hide Homebrew's Landlock ABI warning annotation - #71
Merged
Merged
Conversation
## The Issue - Related to ddev/ddev#8893 Every run shows a Homebrew warning annotation, "Landlock ABI 10 or later is required to deny all network access; found ABI 7". Homebrew sandboxes package unpacking with Landlock, and fully blocking network access needs ABI 10, which first ships in Linux 7.2. GitHub's Ubuntu runners have an older kernel, so every `brew install` warns, and brew turns the warning into an annotation in GitHub Actions. Brew has no setting to turn it off. ## How This PR Solves The Issue The three `brew install` calls in `action.yaml` filter that one line out of brew's stderr with `2> >(grep -vF 'or later is required to deny all network access' >&2)`, the same filter as ddev/ddev#8893. Other brew warnings and errors still show, and a failed install still fails the step. A comment notes the filter can be removed once Ubuntu runners have Linux 7.2+. ## Manual Testing Instructions Open this PR's workflow runs. The Landlock warning should no longer appear in the annotations or in the "Environment setup" and "Install ddev stable" step output. ## Automated Testing Overview No new tests. This only changes setup output, and this PR's own workflow runs exercise it. ## Release/Deployment Notes Don't create releases manually. Follow the [release process documentation](https://github.com/ddev/github-action-add-on-test/blob/main/docs/DEVELOPER.md#release-process) when making a new release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Issue
Every run shows a Homebrew warning annotation, "Landlock ABI 10 or later is required to deny all network access; found ABI 7". Homebrew sandboxes package unpacking with Landlock, and fully blocking network access needs ABI 10, which first ships in Linux 7.2. GitHub's Ubuntu runners have an older kernel, so every
brew installwarns, and brew turns the warning into an annotation in GitHub Actions. Brew has no setting to turn it off.How This PR Solves The Issue
The three
brew installcalls inaction.yamlfilter that one line out of brew's stderr with2> >(grep -vF 'or later is required to deny all network access' >&2), the same filter as ddev/ddev#8893. Other brew warnings and errors still show, and a failed install still fails the step. A comment notes the filter can be removed once Ubuntu runners have Linux 7.2+.Manual Testing Instructions
Open this PR's workflow runs. The Landlock warning should no longer appear in the annotations or in the "Environment setup" and "Install ddev stable" step output.
Automated Testing Overview
No new tests. This only changes setup output, and this PR's own workflow runs exercise it.
Release/Deployment Notes
Don't create releases manually. Follow the release process documentation when making a new release.