Skip to content

Silence unused-result warnings in the E2E opponent bot#27

Merged
testtest126 merged 3 commits into
mainfrom
fix/ios-ci-glass-styles
Jul 10, 2026
Merged

Silence unused-result warnings in the E2E opponent bot#27
testtest126 merged 3 commits into
mainfrom
fix/ios-ci-glass-styles

Conversation

@testtest126

@testtest126 testtest126 commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Two-line cleanup from the Swift 6 warning pass: explicitly discard game.play(uci:) results in the E2E opponent bot. (This PR reuses the fix/ios-ci-glass-styles branch; its first two commits are already on main via #24 and #26 — the real diff vs main is only this cleanup.)

testtest126 and others added 3 commits July 10, 2026 04:21
.glassProminent/.glass only exist in the iOS 26 SDK, and #available is
a runtime check — building with Xcode 16 (the CI runner's toolchain)
failed to resolve the symbols. A #if compiler(>=6.2) gate compiles the
bordered fallbacks on older toolchains while Xcode 26 builds keep the
glass styles behind the runtime check.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The bot now offers a rematch after the first game; the UI test accepts
it from the game-over sheet, verifies a fresh game starts (sheet
dismisses, colors swapped), plays and resigns the second game, and then
reviews. Self-skips in CI like the rest of the online suite.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Two `try? game.play(...)` calls in OnlineMatchUITests discarded their
HistoryEntry result, leaving the only warnings in the test build.
Explicitly discard with `_ =`; verified against a live local server
(full match + rematch flow passes).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@testtest126 testtest126 changed the title Fix iOS CI build: gate Liquid Glass styles behind a compiler check Silence unused-result warnings in the E2E opponent bot Jul 10, 2026
@testtest126 testtest126 enabled auto-merge (squash) July 10, 2026 02:37
@testtest126 testtest126 merged commit 2dbd1c0 into main Jul 10, 2026
2 of 3 checks passed
@testtest126 testtest126 deleted the fix/ios-ci-glass-styles branch July 10, 2026 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant