fix(ios): keep the zh-Hans alert vocabulary check honest about OS versions
Summary
testDeviceVocabularyRowsArePairsTheOSShipsForZhHans required every built-in device row to be a pair the lane's own simulator runtime ships. zh_CN words the App Tracking Transparency decline two ways and one build ships one of them, so it failed 要求App不追踪 on the pinned iOS 26.2 nightly runtime — four consecutive main runs. Its exemption list was checked only against the table itself, so the check could not say which builds were known. Closes #5117. Four files; no vocabulary row changes.
Before / after
base, nightly run 46108117499, iPhone 17 Pro on iOS 26.2 23C54:
RunnerTests+AlertLabelVocabularyTests.swift:130: error: XCTAssertTrue failed -
Ask App Not to Track → 要求App不追踪 is not a pair the OS ships in zh-Hans
head, nightly run 46143098360, same runtime, conclusion success:
testDeviceVocabularyRowsArePairsTheOSShipsForZhHans passed
testChineseDeviceVocabularyResolvesTheSystemPermissionPrompts passed
Executed 778 tests, 0 failures
Validation
head dc0e8bfff86182dde521a5845c7b246086a4e3c6 base e52cd292f50fcbef8df48b782d4da9030b6e785b
pnpm check:affected --run --head dc0e8bfff8 passed, exactCommit=true
xcodebuild test-without-building (iPhone sim iOS 27.0) 7 passed, 0 failed
same two tests at the base SHA passed
pnpm check:xctest-selection 788 methods, 0 reachable by no lane
detection, disposable worktree, same command:
baseline 4 passed
drop either observed row / drift 好→好的 / plant 要求App不追中 1 failed, 3 passed
dc0e8bfff8 differs from the SHA that run above ran at by comment and doc text only: same vocabulary source blob, same test logic.
Per wording: 要求App不跟踪 is the iOS 18.1 iPhone 12 Pro Max alert get label, preserved; 要求App不追踪 is TCC REQUEST_ACCESS_DENY_kTCCServiceUserTracking in the iOS 27.0 24A5423a and 27.1 24A94401 images. The 26.2 lane's own output proves it ships no 追踪 pair, so no 26.2 string is claimed; the 2026-11-24 note's "iOS 26.5–27.x" range is corrected. Recognition of both wordings moves to the Chinese prompt test, which the nightly lane runs.
Obligations and risks: swift-runner-ios, swift-runner-macos and replay-macos are GitHub-authoritative, skipped locally. No iOS 26.2 image existed locally, so that lane is read by the nightly, dispatched at this head as run 46145732295. A full nightly on main is post-merge acceptance, not claimed. No device was allocated. Independence gap: the delegated self-review was cancelled, so the diff was reviewed once, by the author, cold.
🤖 Assisted by Claude (Anthropic) — Apex, in OpenCode/T3 Code.