Extract now-playing playback lifecycle#162
Conversation
|
Warning Review limit reached
More reviews will be available in 36 minutes and 4 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
Review loop transparency note: CodeRabbit did not run a real review on this cycle because it reported review limits / usage credits exhausted. Claude ultrareview was not run from this environment because the sandbox reviewer blocked the third-party cloud review call as potential off-platform code exfiltration. I manually reviewed the PR diff for src/app/mod.rs, src/app/playback.rs, src/audio/store.rs, src/ui/now_playing.rs, and src/ui/now_playing/tests.rs; found no actionable findings; and verified locally with |
|
Claude ultrareview backup for the CodeRabbit usage block has been handled. Addressed in
Local verification run after the fix:
|
Summary
NowPlaying.AudioStorefocused on decoded PCM and add owner-level lifecycle tests.Design decisions
playinginHonkHonkfor tile highlighting and existing app flow;NowPlayingkeeps its own active id only to maintain the waveform cache key.NowPlaying::clear()resets active UI state but preserves per-sound envelope cache entries, matching the prior decode-cache behavior and keeping envelopes pre-volume.PlaybackStartto group decoded PCM metadata and stay within the repo's strict clippy argument limit.Validation
cargo testcargo fmt --checkcargo clippy --all-targets -- -D warningsCloses #142