Repository navigation
Testing and Verification
This page captures the normal validation flow for A Playa Named Gus changes.
GitHub PR Checks validates repository files on every pull request. Xcode Cloud Gus PR Tests performs the single macOS build and test action for code and configuration changes. Markdown-only and Design-only changes skip the Cloud run. Simulator builds and tests remain local. See the pipeline policy.
Regenerate the project whenever files or targets change:
xcodegen generateThen resolve packages if needed:
xcodebuild -resolvePackageDependencies -project 'A Playa Named Gus.xcodeproj' -scheme 'A Playa Named Gus'swiftformat Sources Tests
swiftformat Sources Tests --lint
jq empty Resources/Localizable.xcstrings
git diff --checkAll new or changed user-facing strings belong in Resources/Localizable.xcstrings.
The A Playa Named Gus scheme is build-only — use a per-platform test scheme for the test action. The Gus <platform> Unit Tests schemes run the Swift Testing bundles only and are the lanes run in CI; the Gus <platform> Tests schemes also run native launch and authenticated UI regressions against the isolated local demo server. The Gus watchOS Tests scheme covers Watch browse/audio.
xcodebuild test -project 'A Playa Named Gus.xcodeproj' -scheme 'Gus iOS Unit Tests' -destination 'platform=iOS Simulator,name=iPhone 17'GusTests / GusTVOSTests / GusVisionOSTests / GusMacOSTests cover shared pure logic with Swift Testing. GusUITests covers Connect launch/AX5/native doubled strings and authenticated layout, rotation, reader dismissal, audio reopening, native RTL and scoped accessibility checks against the local demo fixture.
Useful test coverage areas include:
- URL normalization and session credential keys.
- Server store persistence and public-user profiles.
- App route parsing, navigation model, and navigation preferences.
- Content deep links.
- Search and library pagination.
- Offline download state.
- Playback reporting payloads, audio playback, and up-next.
- Stream URL fallback behavior and 3D media detection.
- Provider architecture boundary.
- Content-rating gate (family safety).
- Network retry policy.
- Diagnostics, SharePlay, remote sessions, and Top Shelf snapshots.
- Performance baselines and UI layout metrics.
Use -showdestinations first because simulator names and IDs change across Xcode installs:
xcodebuild -showdestinations -project 'A Playa Named Gus.xcodeproj' -scheme 'A Playa Named Gus'Then build each supported destination:
xcodebuild -project 'A Playa Named Gus.xcodeproj' -scheme 'A Playa Named Gus' -destination 'platform=iOS Simulator,name=iPhone 17' build
xcodebuild -project 'A Playa Named Gus.xcodeproj' -scheme 'A Playa Named Gus' -destination 'platform=iOS Simulator,name=iPad Pro 11-inch (M5)' build
xcodebuild -project 'A Playa Named Gus.xcodeproj' -scheme 'A Playa Named Gus' -destination 'platform=tvOS Simulator,name=Apple TV 4K (3rd generation)' build
xcodebuild -project 'A Playa Named Gus.xcodeproj' -scheme 'A Playa Named Gus' -destination 'platform=macOS' build
xcodebuild -project 'A Playa Named Gus.xcodeproj' -scheme 'A Playa Named Gus' -destination 'platform=visionOS Simulator,id=<UUID>' buildBuild the watchOS companion separately:
xcodebuild -project 'A Playa Named Gus.xcodeproj' -scheme 'Gus watchOS' -destination 'generic/platform=watchOS Simulator' buildAutomated tests do not replace device and server smoke testing. For user-facing changes, verify the relevant flow against a Jellyfin server:
- Connect, sign in, restore session, and sign out.
- Home, library, search, item detail, and series navigation.
- Video playback start, progress reporting (pause/resume report immediately), pause, seek, stop, chapters, and next-up prompt.
- Direct play of hardware-supported formats (HEVC/HDR/surround preserved) and HLS fallback for the rest.
- Audio/subtitle stream switching — instant in-place on direct-played files; server rebuild on transcodes; text subtitles ride the manifest rather than forcing burn-in.
- Episode auto-play at natural end (and the Settings → Playback toggle), player auto-dismissal when nothing is queued.
- Streaming Quality setting caps the negotiated bitrate.
- macOS dedicated player window (resizable, fullscreen-capable).
- Music and audiobook playback (queue, shuffle/repeat, speed, chapters).
- Photo, Live TV, and book browsing; EPUB reading on iOS/iPadOS.
- Now Playing artwork and remote commands.
- AirPlay/PiP where the platform supports them.
- Offline download start, progress, pause, resume, delete, local playback, and low-space handling.
- Deep links, Handoff continuation, Spotlight results, and Siri "Play media".
- Family-safety gating against the Declared Age Range.
- visionOS Gus Cinema and 3D/spatial fallback behavior.
Device-only areas:
- True stereo separation on Vision Pro.
- PiP/background audio behavior.
- AirPlay route handoff.
- CarPlay audio surface (with the entitlement granted).
- watchOS remote control, route-picker audio, battery soak, and WatchConnectivity hand-off on hardware.
- App Store signing/archive behavior.
A change is not complete until:
- It builds on all five supported destinations (and the watch lane when touched), or any missing platform validation is explicitly documented.
- New strings are catalogued.
- Platform-only APIs do not leak into unsupported targets.
- New screens have loading, empty, and error states.
- Accessibility behavior is considered for VoiceOver, Dynamic Type, focus, and contrast.
- Any deviation from the native-first mandate is justified in the commit.
- Update the Roadmap and relevant wiki pages when scope or behavior changes.
Verify unknown response lengths still show transferred bytes, rate, and an explicit unavailable ETA. Test known totals, pause/resume, stalled data, interrupted tasks, stage/metadata write errors, HTTP error bodies, and concurrent downloads. Completion must save to the originating account even while another account is displayed; account switching preserves downloads and sign-out cancels and removes only that account.
On a physical iPhone, start downloads, background and lock, return after completion, then cold-launch in airplane mode and browse/search/play saved movies, episodes, audio, and supported books. Confirm local resume, grouping, missing-file behavior, restrictions, VoiceOver, and large text. Force-quit is not a supported way to continue downloading. Simulator and unit-test evidence does not establish physical-device acceptance.
- The full shared macOS unit suite passed: 257 tests in 45 suites. Coverage includes unknown-size counters, rate/ETA staleness, HTTP errors, duplicate pause/cancel callbacks, staged completion recovery, metadata-write rollback, account isolation, local playback routing, pending-sync replacement races, PDF page resume, and book-format routing.
- Current-source builds passed for iPhone, iPad, macOS, Apple TV, Vision, and Watch. Simulator builds used arm64 with signing disabled; this does not establish device/archive signing.
- An isolated iPhone 18 Pro Max simulator with an unreachable fixture server displayed completed media and show/season grouping. Local search filtered episodes; a play action opened AVKit and saved a local checkpoint pending synchronization. Fixtures used synthetic WAV content, so this does not prove movie codec playback. At the largest accessibility text size, the filter switched to a native menu and titles wrapped. VoiceOver interaction remains unverified.
- Physical iPhone airplane-mode cold launch, real-media playback, lock/background completion, connectivity recovery, and pause/resume remain open acceptance checks. No phone installation or publication was performed.
The app's Documentation/Reviews/2026-10-10-ui-remediation/REPORT.md tracks all 24 findings from the original review and both addenda. Build and automated test results are separate from visual and physical acceptance. Required follow-up includes paused streamed/downloaded rotation, loaded artwork at narrow widths, VoiceOver focus/escape, large text and contrast, TV remote navigation, resized Vision/Mac windows, and smaller Watch sizes.
The earlier October 10 remediation candidate built on iOS, iPadOS, macOS, tvOS, visionOS, and watchOS. The shared regression suite passes 274 tests in 46 suites on iOS, macOS, tvOS, and visionOS, including 17 new deterministic tests. Phone rotation, iPad audio exit/reopen, TV Menu and remote reopening, and selected default Vision window layouts have scoped simulator evidence. The report records physical-device, locked-Mac, assistive-input and error-transition gates, plus a 40 mm Watch album-navigation stall before the audio player. These are still acceptance work, not an accessibility or release sign-off.
Release preparation: Release and TestFlight
Full-candidate validation and final commits: Release validation plan. The October 10 release-validation report in the app repository supersedes the earlier remediation counts and Watch-stall status after its final retest. Use python3 Scripts/validate-release.py --phase all for the sequential local build, unit, UI and unsigned archive matrix; the local demo server is required for authenticated UI tests.
The superseding release candidate passes six builds, 282 unit tests per platform on iOS/macOS/tvOS/visionOS, 29 maintained plus 22 expanded native UI executions, eight state/recovery checks and four unsigned Release archives. Thread/Address Sanitizers each pass all 282 shared macOS tests; three Release metric tests also pass. The actual Watch album → tracks → audio Pause journey passes on 40 mm and 46 mm. Real AX5/RTL/doubled strings and system appearance settings are asserted and captured; the earlier unverified stress-mode labels are superseded.
Full iPad contrast remains a gate because Xcode 27 samples clipped/offscreen form-sheet
text against Home; that native check is blocked, not passed. Physical/assistive input,
minimum OS, native Mac windows, audible output, other media variants, five SDK
concurrency boundaries, signing and TestFlight remain open. Use the app's final
VALIDATION.md for precise scope/provenance. Local commits do not publish the website
or establish a remote Cloud build. Account-wide API authentication and initial Cloud onboarding were verified on October 11; distribution acceptance remains separate.
Physical phone testing is finished on 1.0.0 (11). Downloads management landscape scrolling and Cancel passed; the compact portrait/landscape action and Home flows passed 2/2 on the final retry. Existing sign-in and downloads were preserved. The phone is released, with no test or installation pending. Later source repairs have not been deployed to it.
The landscape Home search repair passed 1/1, including query preservation through rotation. Full 375-point-wide portrait/landscape checks passed 2/2 in actual light/dark appearance at accessibility XXXL, asserting complete action-button bounds. These results supersede earlier Home-caption and narrow-capture failures; they are simulator acceptance rather than a new phone-build acceptance.
The final targeted playback run passed 23/23, zero skipped: two real WAV natural-completion/replay checks and 21 UI/lifecycle regressions, including video cancellation, teardown, and queued-autoplay rejection. Replay after automatic deletion stays local-only and reports a missing download rather than streaming. Full source/test lint passes for 193 files, the shared 12-scheme/16-pin project validates, and all 9/9 Cloud bootstrap tests pass. Nested EPUB chapters now use a native sheet/list with recursive disclosure groups, retaining and binding Readium’s directional navigation adapter. The final Dracula acceptance test passed 1/1, zero skipped, on the isolated iOS 27 simulator: chapter selection, readable portrait/landscape prose, actual forward/backward paging, keyboard absence, and return to book details were verified with individually inspected screenshots. Hardware-key navigation and completion deletion specifically while opening Chapters at the final page were source-reviewed, not exercised by this runtime test. Earlier full-suite counts remain historical results, not a claim that the entire suite was rerun after every final edit.
Xcode 27.1 RC is installed and SDK-backed Duo adaptation is implemented. Closed, flat-open, and partially folded simulator flows passed individually. Native Device Hub interaction additionally passed sampled audio continuity through closed → open → partially open → closed, then Pause, resume, and Stop, with the same demo title retained and intentional Repeat One wraps. Exact captures and binary/source provenance are recorded in the app repository's Documentation/Reviews/2026-10-11-auth-device-repair/evidence/duo-transitions/acceptance.json. This does not measure audible gaps/black-frame duration or cover every video/navigation/sheet transition flow. Exact minimum-OS execution is unavailable with the installed runtimes/host; manual VoiceOver speech, rotor, and focus-order checks also remain open. Runtime packages matching iOS/tvOS 18, visionOS 2, watchOS 11, plus a macOS 15 host/VM, are needed for that execution matrix.
Mac Local Servers lists the real Jellyfin server after the authorized UDP receive entitlement repair. Final tests use a serialized, two-job build schedule after oversized idle Xcode indexing services caused severe host memory pressure. This host observation is not a Gus memory-leak or app-performance finding.
The authoritative current evidence and remaining limits are recorded in Documentation/Reviews/2026-10-11-auth-device-repair/REPORT.md. The app repairs and bootstrap repair are published to origin/main. Cloud Build 1 failed the account/signing identifier check; repaired Build 2 completed successfully for all four iOS/macOS/tvOS/visionOS BUILD actions at code commit 084a470. Its logs verify resolution of all 16 pinned repositories. Later documentation, CI configuration, and test-isolation changes retain that app-source build provenance. Signed Release archive validation, upload, and TestFlight installation remain separate acceptance gates; see Release and TestFlight.
The separate GitHub matrix initially selected an obsolete Xcode 27.0 SDK and failed iOS/iPadOS compilation on Duo layout symbols. That October matrix switched to the hosted 27.1 toolchain with an explicit minimum-SDK check; all six platform builds passed in run 38187673465. The Mac unit-only sandbox entitlement fixture cleared the previous test-host launch failure: 288 Swift Testing cases and three XCTest performance cases passed. That run passed 12/13 jobs; one actual iPhone audio completion-wait assertion failed, with its precise cause unproven. The stateful playback suites share a process-wide audio session and are now isolated under one native serialized parent while retaining real WAV completion assertions. The repeated failure and subsequent hosted acceptance are recorded below. Xcode Cloud uses the separately verified 27.1 RC configuration; those candidates retained unchanged app source.
The following isolation run 38190182036 passed 12/13 jobs: all six builds and
Mac/iPad/tvOS/visionOS tests succeeded, while the iPhone repeated its first audio
completion-wait failure. Every lane ran 288 Swift Testing cases in 49 suites and
three XCTest measurements. Native telemetry showed a ready player still playing
at the short fixture endpoint; the following local-only deletion replay case passed.
This does not establish a simulator-only cause or app callback defect. A test-only
one-second 48 kHz PCM fixture and native end-event probe were then investigated,
with the eight-second deadline and actual completion/replay assertions preserved.
The subsequent hosted acceptance is recorded below; those candidates retained
the successful Cloud app-source provenance.
Run 38192282611 passed 13/13 jobs at edd06e6636cd32b877622dbcb4ccb34524a1b3c1: all six builds, all five unit lanes, lint and docs. Each lane passed 288 Swift Testing cases in 49 suites and three separate XCTest performance measurements, with no failures or observed skipped test-case lines. Both strengthened native audio cases passed in every lane; iPhone completion/replay took 4.338 seconds and deletion/no-stream 1.303 seconds. Passed expectations establish one real end event and zero failed-end events per completed item, replacement and two provider resolutions on replay, and zero server resolutions after download deletion. The one-second 48 kHz PCM fixture retains the eight-second wait limit; the earlier 400 ms/8 kHz failure cause remains unproven and no production workaround was added. Saved summary, lane excerpts and native-case proof are under Documentation/AppStore/cloud-onboarding-evidence/github-ci/run-38192282611-* in the app repository. Required CI is accepted for that historical preceding candidate. Current GUS-UI-040 source 64505d9dfd337c90f390c7c66503912eac252d3f changes hero/About fallback symbols and hides decorative artwork from accessibility. Cloud Build 3 passed all four BUILD actions, with zero errors and seven warnings unchanged from Build 2; 16 pins are unchanged, without a fresh-fetch claim for Build 3. GitHub run 38194318738, attempt 1 passed 12/13 jobs, with one iPad native first-completion issue. Its unchanged-source targeted retry passed in attempt 2, accepting 13/13 current checks: iPad alone reran and the other 12 successes were carried forward. Each accepted unit lane passed 288 Swift Testing cases in 49 suites plus three distinct XCTest performance measurements and both actual native audio cases. iPad replay/deletion passed in 5.097/1.278 seconds. The first failure’s cause remains unresolved; subsequent acceptance does not establish a reliable fixture or platform-only fix. Current Cloud, first-attempt failure, retry summary, accepted lane counts, and native-case evidence are under Documentation/AppStore/cloud-onboarding-evidence/run-3/ and github-ci/run-38194318738-* in the app repository. Build 2 remains historical source/package-resolution proof; sampled Duo runtime acceptance predates UI040. Internal-only TestFlight is authorized and its source-pipeline prerequisite is met. Cloud Build 4 failed iOS export and Mac App Store Connect preparation; tvOS/visionOS internal-only 1.0.0 (4) uploads are valid/ready, but all distribution post-actions were skipped, Gus Internal has zero builds, and its selected tester remains NOT_INVITED. Release/account-access/install acceptance is unmet; the generic errors do not establish their cause. See the app release report at Documentation/AppStore/internal-testflight-release.md and final API proof at cloud-onboarding-evidence/internal-testflight/run-4-summary.json. Manual VoiceOver/current physical/full Mac/minimum-OS acceptance remains pending. Device, minimum-OS, manual VoiceOver, full Mac UI, broader Duo, signed archive and TestFlight limits remain.
A Playa Named Gus - an Apple-first, multiplatform Jellyfin client for iOS, iPadOS, tvOS, visionOS, and macOS with a watchOS companion - SwiftUI - © 2026 Eric Slutz - PolyForm Noncommercial 1.0.0. The repository, AGENTS.md, and Roadmap remain the canonical source of truth.