Repository navigation
ci(ios): trust the facebook/fb tap formula required by newer Homebrew - #23640
Conversation
Runner images picked up a Homebrew version that refuses formulas from third-party taps until explicitly trusted, breaking every iOS UI test stage overnight: Error: Refusing to load formula facebook/fb/idb-companion from untrusted tap facebook/fb. Trust only the idb-companion formula (least privilege), with tap-level trust as fallback and a no-op on older brews that have no trust command. Also document what this script does and where idb comes from (sha256-pinned facebook/idb v1.1.8 artifact; tap dormant since 2022).
|
Claude finished @dr1rrb's task in 1m 20s —— View job Code Review
Verdict: ship — clean, targeted CI hotfix with no blocking issues. 0 blocking / 0 non-blocking findings. Cross-cutting notes:
|
|
Claude finished @dr1rrb's task in 1m 3s —— View job Review complete
SummaryVerdict: ship — clean CI infrastructure hotfix, no blocking issues. 0 blocking / 0 warning findings. AnalysisThe change is correct and well-considered:
No issues found that warrant inline comments or require changes before merge. |
There was a problem hiding this comment.
Pull request overview
Updates the iOS UI test CI entrypoint script to handle newer Homebrew “untrusted tap” gating on macOS hosted agents so idb-companion can be installed reliably again.
Changes:
- Added a detailed header comment documenting the script’s role and the idb supply-chain considerations.
- Added a best-effort
brew truststep (formula-level first, tap-level fallback) before installingidb-companion.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23640/wasm-skia-net9/index.html |
GitHub Issue: no tracking issue — CI-infrastructure hotfix (all iOS UI test stages failing since the runner-image update last night).
PR Type:
What is the current behavior? 🤔
Every iOS UI test stage fails at the idb install step since the macOS runner images picked up a newer Homebrew that gates formulas from third-party taps behind an explicit trust step:
No repository change is involved — the tap
facebook/homebrew-fbhas been dormant since 2022 and itsidb-companionformula pins the sha256 of the facebook/idb v1.1.8 release artifact, so the installed binary is unchanged; only the Homebrew policy on the runners moved.What is the new behavior? 🚀
build/test-scripts/ios-uitest-run.shtrusts the required formula before installing it:brew trust --formula facebook/fb/idb-companion— least privilege: only the one formula this script installs is trusted, not the whole tap;brew trust facebook/fbfor Homebrew versions that only support tap-level trust;|| true) on older Homebrew that has notrustcommand — and if trusting genuinely fails, thebrew install idb-companionright after still surfaces the real error.Also adds a header comment documenting what this script does (CI entry point running the SamplesApp UI test suites on an iOS Simulator), why it uses idb (Meta's iOS Development Bridge —
xcrun simctl installwas historically unreliable, see microsoft/appcenter#2389), and the supply-chain notes for the tap (sha256-pinned artifact, dormant tap, fb-idb from PyPI not version-pinned).PR Checklist ✅
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information ℹ️
release/stable/6.6, so this commit cherry-picks cleanly there — needed to unblock in-flight PRs targeting that branch (e.g. fix(devserver): bridge cross-major AssemblyRef requests in host (backport #23287 + #23308) #23638).pipx install fb-idb— it is currently unpinned from PyPI, the one remaining moving part in this install block.