trackslash
VAULT-132 P2 For an agent

Run the Mac UI tests on main after VAULT-128's PRs merged without them

0
All issues

Description

Bradley asked (2026-10-11) for the Mac UI tests to be skipped while he was away from the Mac and its screen was locked, until he says otherwise. These PRs were validated with VAULT_SKIP_MAC_UI_TESTS=1, so their Mac UI tests haven't run:

  • #739: CommonCrypto PBKDF2, and Argon2's lanes on threads;
  • #740: App Lock calibration to about 1 s, with 1, 2 or 4 lanes;
  • #741: the v2 backup and item derivations, if it merges the same way.

Change

With the Mac's screen unlocked and awake, run the Mac UI tests on main:

xcodebuild test -workspace Vault.xcworkspace -scheme VaultMacAppUITests -testPlan VaultMacAppUITests -destination platform=macOS

Or run a full make validate of the next PR. Fix whatever fails, in its own PR. Setting the App Lock Password now calibrates to about 1 s, so check the UI tests' own calibration overrides still keep them quick.

Done when

Every Mac UI test passes on main.

GitHub

0

No branches or pull requests linked.

Comments

2
Bradley

Done 2026-10-12. With the Mac unlocked, xcodebuild test -scheme VaultMacAppUITests -testPlan VaultMacAppUITests -destination platform=macOS on main at 304bab35 ran all 9 Mac UI tests with 0 failures:

  • MacAppLockTests (first launch sets the password, then locks and unlocks with it; a short password can't be set)
  • MacSettingsTests
  • MacWindowPrivacyTests (2)
  • MacItemEditingTests (3)
  • MacLaunchTests

So #739–#743 are covered, including the 1 s App Lock calibration, the v2 derivations, the shared keychain group and the keyrings in the payload.

The first try failed before running anything: "Timed out while enabling automation mode", because macOS needed Bradley to approve UI automation again. He approved it, and the rerun passed. A future unattended run may need that approval again (automationmodetool reports "requires user authentication").

Bradley

More merged with the Mac UI tests skipped, so they're covered here too:

  • #741: the v2 key derivations (VAULT-128), merged as fbe736a4.
  • #742: the shared keychain group (VAULT-129), eca7ef87. On the Mac this moves the attempt counter, wrap stamp and lock settings, and adds a keychain group to the app and AutoFill.
  • #743: keyrings inside the vault (VAULT-127), 304bab35, with payload version 2.

Run the Mac UI tests on main at 304bab35 or later. They create vaults and set passwords, so they cover the Mac's moves too. This blocks the 2.1 release (VAULT-136).