Repository navigation
Description
Two PRs merged today with a red macOS Tests Gate, and the resulting failure blocked the v0.68.0 release build.
What happened
- feat: add an in-app way to buy a license or sponsor the project #2416 introduced
SupportWindowUITests.testTheWelcomeWindowCarriesTheStandingLink. The test has never passed on CI. - feat: add an in-app way to buy a license or sponsor the project #2416 merged with the gate red.
- refactor(settings): rebuild the Account pane as a License pane with device and team management #2418 merged on top, also with the gate red (
macOS Tests Gate: fail,UI tests 0/3: fail,UI tests 2/3: fail). - The v0.68.0 tag build then failed at
UI tests 2/3, soCreate GitHub Releasewas skipped. The tag exists with no release, no DMG and no appcast entry.
The defect itself is fixed in #2421.
Why it was possible
main has branch protection, but it requires nothing:
{"checks":[],"contexts":[],"strict":true,"...":"..."}strict: true with an empty contexts array means the up-to-date requirement applies to an empty set of checks. enforce_admins is false and there are no required PR reviews. There are no rulesets (/rulesets returns 0).
This was flagged when the gates were built. a5d15d607 (#2166) added macOS Tests Gate and iOS Tests Gate specifically to be the checks marked required, and its own note recorded that branch protection was still not enabled.
Proposed fix
Mark these as required status checks on main:
macOS Tests GateiOS Tests Gate
Both are designed for this: each reads join(needs.*.result) under if: always() and passes on success or skipped, so a docs-only PR that skips the suite reports green rather than hanging at "Expected" forever. That hanging behaviour is why the path filters were moved into a changes job in the first place, so these two are safe to require where the individual suite jobs are not.
Worth deciding at the same time whether enforce_admins should be true.
Ordering: #2421 has to be green and merged first, or every open PR blocks on a known-red check.
Activity