Repository navigation
Episode list sits on the shared page cache; one eviction guard - #607
Merged
Merged
Conversation
…on guard EpisodeList is now a PageCache<Episode> plus id/rev, is_complete and its wire form; SecItems::evict and PageCache::evict share kept_when_over_budget. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…lack belongs to that page Adds PageCache::missing_by and evict_by taking the rule; PageCache's own behaviour is unchanged. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
BradSainty
added a commit
to BradSainty/jf-native
that referenced
this pull request
Oct 11, 2026
Upstream now pages every list to its real end (plxnative#605, plxnative#607): the home hub list by hub, a season's episodes in windows, and Continue Watching past its first page. The Jellyfin routes now cut the window a request names and report the listing's total. Continue Watching reads one row past its window, since Jellyfin has no count for resume points plus next episodes, so the row keeps asking until the list really ends. The window is read through plex::requested_window, so the paging gate keeps the parameter names in paging.rs, and the four new cap sites are classed in ci/list-caps.ini. Co-Authored-By: Claude Opus 5.5 <[email protected]>
BradSainty
added a commit
to BradSainty/jf-native
that referenced
this pull request
Oct 11, 2026
Upstream now pages every list to its real end (plxnative#605, plxnative#607): the home hub list by hub, a season's episodes in windows, and Continue Watching past its first page. The Jellyfin routes now cut the window a request names and report the listing's total. Continue Watching reads one row past its window, since Jellyfin has no count for resume points plus next episodes, so the row keeps asking until the list really ends. The window is read through plex::requested_window, so the paging gate keeps the parameter names in paging.rs, and the four new cap sites are classed in ci/list-caps.ini. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Follow-up to #605. No behaviour change.
EpisodeListis nowPageCache<Episode>plus what is its own: id and revision,is_complete,nearest_loaded, the clip to the season span and the serde wire form, which is byte-identical.PageCachegainsset_rows,page_rows,missing_byandevict_by;missingandevictare those with its own page rule, so its other users are unchanged.SecItems::evictshares the budget guard (kept_when_over_budget) instead of repeating it. It is not rebuilt onPageCache: its per-cell fill and copy-on-write read view are a different structure.Verification
main(174f3915):make checkexit 0, everytest result:line 0 failed, tree clean before and after;make check-replay3 fixtures, 6 replays, 0 failures; release ARM build exit 0.mainchecked each change for an observable behaviour difference; what it found is fixed here and listed above.🤖 Generated with Claude Code