Skip to content

perf(android): stabilize TV and mobile runtime performance - #96

Closed
RXWatcher wants to merge 26 commits into
Silo-Server:feat/android-client-diagnosticsfrom
RXWatcher:perf/android-client-performance-stability
Closed

RXWatcher wants to merge 26 commits into
Silo-Server:feat/android-client-diagnosticsfrom
RXWatcher:perf/android-client-performance-stability

Conversation

@RXWatcher

Copy link
Copy Markdown
Contributor

Stack

This is a new PR stacked on #94. It does not modify #94 or its branch, and its review diff begins after a4758770. Merge #94 first; GitHub can then retarget this PR to main.

Summary

  • Bound shared item mapping and TV/mobile home/detail hydration so startup and route transitions do not fan out unbounded work.
  • Isolate playback-clock updates from structural TV/mobile player state, make TV exit/seek teardown non-blocking, and pause off-route enrichment.
  • Preserve mobile playback across activity recreation while retaining real destination teardown and final-position persistence.
  • Stabilize startup Home hydration and mixed server response handling so partial warmups cannot replace complete cached content.
  • Coalesce matching /api/v1/home/sections requests, reuse successful results for 10 seconds, and preserve forced refresh semantics for explicit refresh and eligible TV resume.

Identity and lifecycle safety

  • Pin Home requests to the captured auth scope and key reuse by server, profile token, temporary credential generation, and identity-transition generation.
  • Reject delayed Home completions after an identity switch rather than displaying or caching stale personalized content.
  • Key saved TV Collections-presence probes by server/profile as well as library IDs.
  • Remove both position and duration from structural TV presentation state so duration-only clock updates cannot recompose the full player.

Validation

  • :shared:testDebugUnitTest
  • :android-shared:testDebugUnitTest
  • :androidApp:testDebugUnitTest
  • :androidTvApp:testDebugUnitTest
  • :androidApp:assembleDebug
  • :androidTvApp:assembleDebug
  • git diff --check
  • Production/test/build diff scan confirms no Sentry, GlitchTip, Crashlytics, OpenTelemetry, or ACRA addition.

Full gate: BUILD SUCCESSFUL with 162 actionable tasks. The final review found no remaining Critical or Important issues.

Exclusions

@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 64c1eb09-ebbf-435e-9a12-a3da806e0676

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Quick104
Quick104 deleted the branch Silo-Server:feat/android-client-diagnostics July 22, 2026 22:20
@Quick104 Quick104 closed this Jul 22, 2026
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.

2 participants