Skip to content

CI: pass --include-test in Nightly-Homebrew-Build so brew test finds pkgconf - #6163

Open
glaziermag wants to merge 1 commit into
OpenMathLib:developfrom
glaziermag:homebrew-nightly-test-deps
Open

glaziermag wants to merge 1 commit into
OpenMathLib:developfrom
glaziermag:homebrew-nightly-test-deps

Conversation

@glaziermag

@glaziermag glaziermag commented Oct 24, 2026 •

Copy link
Copy Markdown

The Homebrew nightly has failed in 11 of the 13 runs since 10-11. Every failure stops at "Test openblas" with the same error, before any test code runs:

##[error]openblas is missing test dependencies: pkgconf

The latest is run 39920612204.

The homebrew-core formula declares depends_on "pkgconf" => :test (openblas.rb#L32). "Install prerequisites" runs --only-dependencies without --include-test, so the job depends on whatever pkgconf the runner image already has. brew test counts an outdated pkgconf as missing, so the job passes only while the image's pkgconf matches the current homebrew-core version.

  • The green 10-17 run used the same image (macos-26-arm64 20261013.0424.1) as today's red run. On 10-17, pkgconf was not in brew update's "Outdated Formulae" list. pkgconf 3.0.9 was merged into homebrew-core at 00:34 UTC on 10-18, before the next nightly. Every nightly since then has failed.

With --include-test, the prerequisites step also installs or upgrades the test dependencies.

Fork runs of this workflow on develop af560c1. The probe copy drops the repository guard, triggers on push, and adds a step before "Install prerequisites". That step installs the pkgconf 3.0.8 bottle and then puts the current formula back, which leaves pkgconf outdated the same way it is in the failing nightlies (probe workflow).

Without the extra step, the unchanged copy passes today (run 40044259919), because that runner got the newer 20261021 image, which ships pkgconf 3.0.10. So the nightly will go green again once an image with pkgconf 3.0.10 reaches it, and break again at the next pkgconf release.

I used Claude Code to trace this and write the patch. I checked the change and the runs above.

🤖 Generated with Claude Code

brew test stops with "openblas is missing test dependencies: pkgconf"
when pkgconf is absent or older than the homebrew-core version.
--only-dependencies leaves out test dependencies, so the job relied
on the pkgconf preinstalled on the runner image. It failed whenever
homebrew-core had a newer pkgconf than the image.

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

This branch has not been deployed

No deployments
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