Repository navigation
[codex] Mirror ABS playback into live sessions - #203
Merged
Merged
Conversation
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (8)
📝 WalkthroughWalkthroughABS playback now creates and mirrors native playback sessions during play start, stores resume position in ABS session records, and updates native state on session sync, close, and track transport requests through the ABS handler wiring. ChangesABS native playback session mirroring
Sequence Diagram(s)Play-start session creationsequenceDiagram
participant handlePlayStart
participant startNativePlaybackSession
participant PlaybackSessionManager
participant PlaybackSessionStore
participant PlaybackSessionSyncer
handlePlayStart->>startNativePlaybackSession: create native session
startNativePlaybackSession->>PlaybackSessionManager: StartSessionWithFilesContext(...)
startNativePlaybackSession->>PlaybackSessionSyncer: SyncNow(ctx)
handlePlayStart->>PlaybackSessionStore: insert ABSPlaybackSession
Session sync and close mirroringsequenceDiagram
participant handleSessionSync
participant updateNativePlaybackProgress
participant handleSessionClose
participant stopNativePlaybackSession
participant PlaybackSessionManager
participant PlaybackSessionSyncer
handleSessionSync->>updateNativePlaybackProgress: currentTime
updateNativePlaybackProgress->>PlaybackSessionManager: UpdateProgress(...)
updateNativePlaybackProgress->>PlaybackSessionSyncer: SyncNow(ctx)
handleSessionClose->>stopNativePlaybackSession: stop session
stopNativePlaybackSession->>PlaybackSessionManager: StopSession(...)
stopNativePlaybackSession->>PlaybackSessionSyncer: SyncNow(ctx)
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Quick104
marked this pull request as ready for review
June 25, 2026 18:51
Quick104
added a commit
to RXWatcher/silo-server
that referenced
this pull request
Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/api/items/{id}/playand reuse that native session ID as the ABS session ID.Root Cause
ABS compatibility playback only persisted rows in
abs_playback_sessions. The admin dashboard reads live playback from native sessions reconciled intoplayback_sessions_sync, so ABS playback could work while remaining invisible in admin Activity.Scope
Part of the reported ABS compat admin Activity regression in this Codex thread. I checked for an existing matching GitHub issue and did not find one; the only search result was unrelated download-permission issue #141.
Validation
GOWORK=off go test ./internal/audiobooks/abs ./internal/audiobooksGOWORK=off go test ./internal/audiobooks/... ./internal/workergit diff --checkGOWORK=off go test ./cmd/silois currently blocked in this worktree becauseweb/embed.gorequiresweb/dist, which is not present (pattern all:dist: no matching files found).Risks / Follow-up
AI Use
Implemented with Codex.
Summary by CodeRabbit
New Features
Bug Fixes