Skip to content

Fix media cleanup, scan safety, and discover pagination - #6

Merged
rene-roid merged 1 commit into
masterfrom
t3code/bugs-and-perf
Sep 23, 2026
Merged

rene-roid merged 1 commit into
masterfrom
t3code/bugs-and-perf

Conversation

@rene-roid

Copy link
Copy Markdown
Owner

Summary

  • Centralize media removal so tags, covers, derived files, and related records stay consistent.
  • Prevent scans of unavailable folders from pruning indexed media.
  • Stabilize Discover cursor pagination across profile and view-state changes.
  • Improve SQLite performance and cleanup orphaned transcodes.
  • Add regression coverage for deletion, scanning, path boundaries, and pagination.

Testing

  • Added server tests for media and library deletion behavior.
  • Added scan tests for unavailable folders and removed files.
  • Added path containment tests, including filesystem roots.
  • Added Discover pagination tests covering profile changes between pages.

- Preserve media when library folders are unreachable
- Centralize deletion cleanup and refresh tag usage counts
- Stabilize discover ordering across cursor-paginated requests
- Optimize SQLite indexes and write behavior
@rene-roid
rene-roid merged commit d867b5e into master Sep 23, 2026
1 check passed
@rene-roid
rene-roid deleted the t3code/bugs-and-perf branch September 23, 2026 20:13
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.

1 participant