davsclaus opened a new pull request, #28699: URL: https://github.com/apache/camel/pull/28699
_Claude Code on behalf of davsclaus_ The macOS job of "Package-native validation" now fails on every PR that touches the launcher: ``` Error: Refusing to load formula camel-cli-validators/formulae/apache-camel from untrusted tap camel-cli-validators/formulae. Run `brew trust --formula camel-cli-validators/formulae/apache-camel` or `brew trust camel-cli-validators/formulae` to trust it. FAIL: homebrew audit --strict reported issues (exit 1) ``` The `macos-latest` runner got a Homebrew with tap trust (`brew trust`/`brew untrust`). Homebrew now refuses to load a formula from a tap that is not trusted. `camel-validate.sh` audits and installs the generated formula from a throwaway local tap, which nobody trusts. The last run on `main` (09:02 UTC today) was before the runner update, so `main` will fail the same way on its next launcher run. The failure was seen on #28671. ## Changes - `camel-validate.sh` trusts the tap right after `brew tap-new`, and the EXIT trap untrusts it before `brew untap`, so the trust isn't left in `~/.homebrew/trust.json` on a developer's machine. A Homebrew without `brew trust` loads any tap, so a failure of either call is ignored, as for `untap`. - The fake `brew` of `PackageNativeValidationTest` gets `trust`/`untrust`, and with `FAKE_BREW_REQUIRE_TRUST=true` its `audit` refuses an untrusted tap. ## Tests - New `homebrewValidatorTrustsItsTapForTheAuditAndUntrustsItOnExit`: the audit passes, and no trust is left behind. It fails on the old script with the same "untrusted tap" error. - `PackageNativeValidationTest`: 21 tests pass locally. - The real check is the macOS job of this PR. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
