Repository navigation
test(ios): accept the glass-tinted play disc colour on iOS 26.2 - #526
Conversation
The play disc is a white-tinted glass effect, which blends in the backdrop. On the CI runtime (iOS 26.2) it renders at (215, 224, 234), one step under the test's > 215 check, so the Apple regression job has failed since #521. The background measures (34, 45, 58); a threshold of 180 still separates the two. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Warning Review limit reachedNext included review available in 51 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Problem
The Apple regression workflow has failed on
mainsince #521, and on every PR opened after it. The iOSSiloTestsjob fails one test,PlayerSurfaceLayoutTests.testMobilePlayButtonIsLargeAndCentredOnThePlayer: every point inside the play disc reads as "not white".The layout is correct. The CI snapshot from the failing run shows the disc centred on the player and 64pt across. The disc is a white-tinted glass effect, which blends in the backdrop. On the CI runtime (Xcode 26.3, iOS 26.2), it renders at RGB (215, 224, 234), and the test requires every channel to be above 215. Red misses by one.
Solution
Lower the disc check to above 180 on every channel. The background just outside the disc measures (34, 45, 58), so the test still fails if the disc is missing, too small, or off-centre. The helper's doc comment records the measured values.
Validation
testMobileControlsSnapshotsattachments from the failingmainrun (36297232021). All four viewports give (215, 224, 234) inside the disc and (34, 45, 58) outside it.PlayerSurfaceLayoutTestspasses locally on an iOS 27 simulator (9 tests).AI disclosure
Written with Claude Code (model
claude-opus-5-5[1m]).🤖 Generated with Claude Code
Note
Lower play-disc pixel threshold in
PlayerSurfaceLayoutTests.isPlayDiscWhitefor iOS 26.2Updates the pixel-classification helper in PlayerSurfaceLayoutTests.swift to accept the glass-tinted play disc color observed on iOS 26.2. The per-channel threshold drops from 215 to 180, and the doc comment now describes the disc as a light, backdrop-blended fill.
Macroscope summarized 326ee98.