Skip to content

test: prune tests that can't catch a regression - #4452

Merged
Quick104 merged 1 commit into
mainfrom
chore/prune-tests
Nov 17, 2026
Merged

Quick104 merged 1 commit into
mainfrom
chore/prune-tests

Conversation

@Quick104

@Quick104 Quick104 commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A
Validation tasks: none

Other clients: N/A (no client-visible change)

About 80 Go and web tests, plus many table rows and single assertions, could not fail on a regression that matters. They pinned the JSON of retired /api/v1 handlers, restated constants and defaults, checked what the compiler or a startup panic already enforces, asserted private state, call order, CSS classes, or exact SQL and log text, or repeated a case another test already runs. They cost CI time and break on refactors without protecting behavior. This removes them, following "Decide what to test" in CONTRIBUTING.md.

Approach

  • Deleted tests in three groups: tests of the retired /api/v1 output and of migrations that have already shipped; tests that no code change can fail; and tests tied to how the code is written rather than what it does. Expected values that were computed with the code's own formula are now literals.
  • Deleted duplicates only where a surviving test runs the same case and asserts the same outcome. The list below names each keeper. The one Postgres keeper is in scripts/ci/db-contracts.txt, and no test in db-contracts.txt or db-pins.txt was removed or edited.
  • Removed production code that only those tests reached: the Legacy option of device login, which only the retired v1 start route set; mapSortBy in jellycompat; and test-only wrappers in internal/api/handlers. Tests that used the wrappers now call the live functions. TestDeriveEpisodePairs moves to internal/catalog/filesplit, the package that owns the function.
  • Most of the suite guards authority, profile isolation, wire contracts, failure handling, and parsing, so most of it stays. Reviewers read files with warning signs closely and the rest by test name; the large playback, stream, and endpoint suites were mostly reviewed by name.
Removed duplicates and the tests that keep covering them

Go:

  • internal/scanner: TestCollectLogicalFilePathsAdmitsCommonVideoContainers → TestSupportsVideoFile; TestEnsureCopySafetyFailureRecordsNothing → TestEnsureCopySafetyFailureDisablesCopyWithoutCaching, TestScanCopySafetyErrorRecordsNothing; TestScanSubtreeAudiobookLibraryUsesAudiobookPipeline → TestScanSubtreeAudiobookMatchesLibraryScanBooks; TestScanFileAudiobookLibraryUsesAudiobookPipeline, TestScanFileAudiobookExplicitRequestScansExcludedFile → TestScanFileAudiobookMatchesLibraryScanBooks; TestScanFileEbookLibraryUsesEbookPipeline → TestScanFileEbookKeepsBookPublishedDuringSiblingScanDB (in db-contracts.txt); TestPartitionExtraPaths → TestClassifyExtraPathMovieLibrary
  • internal/jellycompat: TestDecodeProfileConditionIsRequiredDefault → TestDeviceProfileRoundTripKeepsOptionalConditions; TestTrickplayRouterDoesNotRequireSubtitles → TestTrickplayPlaylistGrantsSheetsByPlaySession; TestHandleVideoStream_KnownPlaySessionItemIDMediaSourceServesFile, TestHandleVideoStream_KnownPlaySessionUnknownMediaSourceRejected → TestVideoStreamTokenAuthRouteIdentity; TestUpstreamRecipeCardOverlaysDurableRoutingAssignment → TestCompatNetworkRouteIsMirroredAndRecoverable; TestRememberCompatTracksLeavesTheLatestClaimWhenWritesInterleave → TestRememberCompatTracksLeavesTheLatestClaimAfterManyInterleavedWrites; TestMapSortByDateLastContentAdded → TestParseItemsQueryDateLastContentAddedSortScope; TestCommaSeparatedFieldsStillParsed → TestHandleItems_BoxSetMovieChildrenHonorDetailFields
  • internal/api/handlers: the top, timeseries, and playback admin-stats invalidation tests → TestAdminDownloadsStatsProviderInvalidateClearsEveryVariant; the autoscan events, scans, connection-delete, and source-delete adapter tests → TestAdminAutoscanEvents, TestAdminAutoscanScans, TestAdminAutoscanConnectionDelete, TestAdminAutoscanSourceDelete in internal/apiv2
  • internal/apiv2: TestNoBuiltInDocsRoutes → TestCommittedArtifactMatchesRouter
  • internal/metadata: TestRatingSourcesFromStructKeepsDeclaredSources → TestRatingSourcesFromStruct
  • internal/config: TestEffectiveAdminSettingsMarkerDefaultsPreserveExplicitModes → TestEffectiveAdminSettingsUsesRuntimeDefaults
  • internal/markers: TestSubmissionErrorTextMasksSecretAtTheStartOfAGRPCDescription → TestSubmissionErrorTextMasksSecretsOutsideHTTPURLs
  • internal/mail: TestBuildMessageMultipart → TestBuildMessageEmbedsInlineImages
  • internal/notifications: TestWebhooksDisabledByDefault → TestWebhookCreateAndTestBlockedWhenDisabled
  • internal/taskmanager/tasks: TestTaskHistoryCleanupTask → TestTaskHistoryCleanupTaskRejectsUnusableRetention
  • internal/policy: TestVendorQualityTableMatchesAccessPackage → TestVendorRego

Web (web/src):

  • pages/CollectionEditorPage.syncedEdit "keeps Max titles above 500" → components/collections/fields/OrderBlock.test.tsx "keeps max titles above 500 and clears it when blank"
  • pages/settings/HomeScreenSettings.links, return-path and missing-row cases → pages/AdminHomeRows.links.test.tsx, lib/homeRows/rowLinks.test.ts
  • pages/ItemDetail/SeasonCarousel "renders independent season detail and direct-play targets" → "keeps the series page's library on season links but not on Play" in the same file
  • components/SectionItemCard "encodes item links while preserving library context" → the same test in components/ItemCard.test.tsx
  • lib/queryInvalidation, the four library-scope cases → hooks/queries/mediaSurfaceRefresh.test.ts
  • lib/homeRows/payloads.golden, row copy and picker cases → hooks/queries/homeRows/useAdminHomeRows.test.tsx, lib/homeRows/catalog.test.ts
  • hooks/useNavigationDirection, back-then-forward → lib/navigationHistory.test.ts
  • hooks/queries/admin/collections, ID dedupe and batching → hooks/queries/sectionsBulkDelete.test.tsx
  • hooks/appearanceCacheOwnership, pre-namespace cache → utils/storage.test.ts

Validation

  • Go: go build ./..., gofmt -l ., go mod tidy -diff, go vet ./..., make lint-changed (full tree), and make lint-router-recovery are clean.
  • make test-go passes except two tests that run real FFmpeg and fail the same way on main with the local FFmpeg 6.1.1: TestRunStatsWithRealFFmpeg in internal/mediasample and the seek cases of TestCopyRemuxSubtitleRenditionRealFFmpeg in internal/playback. Neither file is touched.
  • Web: pnpm run lint, format:check, build, budget:check, and make test-web pass.
  • Generated contracts and hygiene: the settings-bindings, playback-fixtures, route-inventory, apiv2 OpenAPI, web-types, contract, and fixture checks, TestCommittedArtifactMatchesRouter, verify-local-paths, verify-case-collisions, verify-size-ratchet, verify-bidi, and verify-migrations pass.
  • Not run: verify-actionlint, verify-shellcheck, and verify-prometheus-rules, because actionlint, ShellCheck, and Docker are not installed on the machine I used. The change touches no workflow, shell script, or Prometheus rule. make test-db-pins was not run; no test it names was removed or edited.

Evidence

Nothing a user sees changes. This branch was checked at commit 1f663060eb by running the gate listed under Validation.

Risks

A deleted test that was the only guard on some behavior would let that behavior regress silently. Two independent reviews looked for exactly that and found six such cases, all restored (see AI Disclosure). Removing Legacy from device login changes nothing at runtime, because no caller set it after /api/v1 retired.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • Each test this pull request adds meets "Decide what to test" in CONTRIBUTING.md.
  • The Evidence section shows every change a user can see, or how I checked a change nobody sees.

AI Disclosure

  • Harness: Claude Code, run inside T3 Code
  • Tool(s): Claude Code, including its subagents
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated; the maintainer reviews before merge
  • Adversarial review: Two separate Claude Code reviewers (claude-opus-5-5) got the diff without the author's conclusions, one for Go and one for web. They checked each duplicate deletion against its keeper, checked that Postgres keepers run in CI, and checked the rewrites and the production deletions. Go found that the orphaned-media sweep had lost its only manual-only test. That test is restored and now asserts through the interface the task manager reads. Go also found write-only fake fields, a stale device-login comment, and a test in the wrong package; all are fixed. Web found five lost guards, all restored or strengthened: admin-only row kinds in the profile picker, plain-HTTP node stream URLs, the Activity page's route-details decision, the card play-button reveal class, and the PDF.js reader global with a version check against pdfjs-dist.

🤖 Generated with Claude Code

Note

Prune tests that can't catch a regression

Removes test cases, whole tests, and test helpers whose assertions restate the implementation or pass even when behavior breaks. The sweep spans the handler, jellycompat, scanner, config, playback, and web test suites.

  • Also removes thin production wrappers that only existed for tests: finalizeSessionStop, findAlternateFile, planNodeSessionV3, remoteTransformationsPlanningV3, resolveItemUserStates, sizedBackdropPath, and mapSortBy in query.go. Tests now call the underlying functions directly.
  • Moves deriveEpisodePairs test coverage from the handler package into the filesplit package, adding cases for duplicate versions, unlinked files, local targets, and movies in filesplit_test.go.
  • Removes the legacy device-login path: DeviceLoginService.Start no longer selects a legacy TTL or browser-code link, and DeviceLoginStartInput.Legacy is removed in device_login.go.
  • Simplifies test fakes in autoscan_test.go and diagnostics_test.go by replacing callback fields with fixed stubs.
  • Behavioral Change: device-login starts always use deviceLoginTTL and a completion URI built from the normalized user code; the legacy browser-code link path is gone. Web markup tests no longer pin CSS class names, and the PDF.js compatibility test checks getDocument exposure instead of a pinned version string.

Macroscope summarized 1f66306.

Delete tests that pin retired /api/v1 output, restate constants,
defaults, getters or field copies, check what the compiler already
checks, assert private state, call order or exact SQL/log text, or
repeat a case another test already covers. Each removed duplicate
names a surviving test that runs the same case, and every Postgres
keeper is in a CI list.

Remove the production code only those tests reached: the unused
Legacy option of device login (the retired v1 start answer),
jellycompat mapSortBy, and test-only wrappers in the API handlers.
Tests that used the wrappers now call the live functions, and
TestDeriveEpisodePairs moves to the filesplit package that owns it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-triage silo-triage Bot added the size/XXXL 3000+ added + deleted lines (all files); change volume, not priority. label Nov 17, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T21:16:32.554272Z 1f66306 PR opened
🔒 Security Review ✅ Completed 2026-11-17T21:17:35.849601Z 1f66306 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@silo-kody

silo-kody Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@silo-triage silo-triage Bot added go Pull requests that update go code javascript Pull requests that update javascript code priority: P2 Limited scope, workaround exists, or polish labels Nov 17, 2026
@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request updates device-login start behavior and playback helper usage. It also adds, removes, or narrows tests across backend and web packages, updates one architecture guide, and changes several test fakes and comments.

Changes: Device login

Layer / File(s) Summary
Device-login start response
internal/auth/device_login.go, internal/auth/device_login_db_test.go
Device-login starts now use a 15-minute TTL and return a verification URL with the normalized user code. The legacy start flag and the test for legacy starts were removed. Browser-code lookups remain available for previously issued links.

Playback

Layer / File(s) Summary
Session finalization and alternate-file lookup
internal/api/handlers/playback.go, internal/api/handlers/playback_finish_history_test.go, internal/api/handlers/playback_test.go, internal/api/handlers/playback_v3_node_recipe_test.go, internal/api/handlers/playback_v3_test.go
Callers and tests use finalizeSessionStopWithResult in place of the forwarding wrapper. Alternate-file tests use findAlternateFiles and check the first returned candidate.
V3 capability lookup and route selection
internal/api/handlers/playback_v3.go, internal/api/handlers/playback_v3_union_test.go
The planning-specific capability wrapper and node-session planning helpers were removed. Tests use the shared lookup with planning enabled and resolve worker routes through a test helper.

Cross-package test and support updates

Layer / File(s) Summary
API handler and response tests
cmd/silo/metrics_listener_test.go, internal/api/handlers/*, internal/api/router_compression_test.go, internal/apiv2/*, internal/catalog/filesplit/filesplit_test.go
Tests for handler responses, API serialization, router behavior, and other API contracts were removed or narrowed. The section-card test now checks the resolved target, and filesplit gains episode-pair derivation coverage.
Backend package tests and support changes
docs/architecture/collection-templates.md, internal/artworkurl/*, internal/audiobooks/*, internal/auth/*_test.go, internal/backup/*, internal/branding/*, internal/cache/*, internal/catalog/*, internal/chapterthumbs/*, internal/clientclock/*, internal/collections/*, internal/config/*, internal/ctxerr/*, internal/dashmetrics/*, internal/database/*, internal/diagnostics/*, internal/downloads/*, internal/ebooks/*, internal/envutil/*, internal/historyimport/*, internal/imagesize/*, internal/intromarkers/*, internal/jellycompat/*, internal/libraryingest/*, internal/librarykind/*, internal/logstream/*, internal/mail/*, internal/markers/*, internal/mediaartifact/*, internal/metadata/*, internal/naming/*, internal/nodeconfig/*, internal/notifications/*, internal/playback/*, internal/plugins/*, internal/policy/*, internal/recommendations/*, internal/scanner/*, internal/sections/*, internal/subtitles/*, internal/taskmanager/tasks/*, internal/watchsync/*
Tests and supporting code were narrowed or adjusted across backend packages. Changes include updated coverage for file-split derivation, image-cache sources, recently-added ordering, and task progress reporting. No implementation behavior is established by test-only changes.
Web client and interface tests
web/src/api/v2/*, web/src/components/*, web/src/hooks/*, web/src/lib/*, web/src/pages/*, web/src/player/*, web/src/reader/*
Web tests were removed or adjusted across components, hooks, pages, and the reader. PDF compatibility coverage now checks the module API and verifies that both vendored bundles contain the installed package version.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Other

Suggested reviewers: rhainland, blurbery

Merge Risk: Minimal · up to 1f663

This change removes redundant tests and some test-only helpers, and makes device-login start always return the code-form link with a 15-minute expiry. No concrete defect was found, and the callers and CI lists checked do not reference the removed code. Merge risk is minimal.

Security architecture risk: Minimal · up to 1f663

The inspected changes do not introduce or worsen a security boundary, session-ownership guarantee, or recovery behavior. Device login already used the retained URL and expiry in production, and playback cleanup continues through the same implementation.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "test: prune tests that can't catch a regression" matches the main change. The PR removes about 80 Go and web tests that cannot fail on a meaningful regression, along with duplicate rows and…
Description check Passed The description explains the problem, the approach, the removed duplicates with their surviving keepers, validation steps, risks, and AI disclosure. It directly describes the changeset, which removes …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "test: prune tests that can't catch a regression" matches the main change. The PR removes about 80 Go and web tests that cannot fail on a meaningful regression, along with duplicate rows and assertions, plus some production code reached only by those tests. The title is specific and uses the conventional test: prefix.

Full details: Description check

Explanation

The description explains the problem, the approach, the removed duplicates with their surviving keepers, validation steps, risks, and AI disclosure. It directly describes the changeset, which removes tests and the production code only they reached.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 77499bf3-31b3-422d-b678-555caaa644b8
Commits

Reviewing files that changed from the base of the PR and between 4564351 and 1f66306.

Files selected for processing: 205

  • cmd/silo/metrics_listener_test.go
  • docs/architecture/collection-templates.md
  • internal/api/handlers/account_policy_test.go
  • internal/api/handlers/admin_downloaded_subtitles_test.go
  • internal/api/handlers/admin_marker_providers_test.go
  • internal/api/handlers/admin_split.go
  • internal/api/handlers/admin_split_test.go
  • internal/api/handlers/admin_stats_playback_test.go
  • internal/api/handlers/admin_stats_read_test.go
  • internal/api/handlers/admin_stats_test.go
  • internal/api/handlers/admin_stats_timeseries_test.go
  • internal/api/handlers/admin_stats_top_test.go
  • internal/api/handlers/admin_user_policy_test.go
  • internal/api/handlers/api_keys_test.go
  • internal/api/handlers/autoscan_connection_delete_view_test.go
  • internal/api/handlers/autoscan_events_view_test.go
  • internal/api/handlers/autoscan_scans_view_test.go
  • internal/api/handlers/autoscan_source_delete_view_test.go
  • internal/api/handlers/autoscan_test.go
  • internal/api/handlers/catalog_diagnostics_test.go
  • internal/api/handlers/catalog_recent_tv_test.go
  • internal/api/handlers/diagnostics_test.go
  • internal/api/handlers/episode_image_provenance_test.go
  • internal/api/handlers/history_import_test.go
  • internal/api/handlers/image_size.go
  • internal/api/handlers/image_size_test.go
  • internal/api/handlers/item_list_external_ids_test.go
  • internal/api/handlers/items_catalog_response_test.go
  • internal/api/handlers/items_episode_files_test.go
  • internal/api/handlers/notifications_android_push_v2_test.go
  • internal/api/handlers/playback.go
  • internal/api/handlers/playback_finish_history_test.go
  • internal/api/handlers/playback_sessions_test.go
  • internal/api/handlers/playback_test.go
  • internal/api/handlers/playback_v3.go
  • internal/api/handlers/playback_v3_node_recipe_test.go
  • internal/api/handlers/playback_v3_test.go
  • internal/api/handlers/playback_v3_union_test.go
  • internal/api/handlers/recommendations_section_test.go
  • internal/api/handlers/settings_overlay_config_test.go
  • internal/api/handlers/user_state.go
  • internal/api/handlers/user_state_test.go
  • internal/api/handlers/ws_shared_test.go
  • internal/api/router_compression_test.go
  • internal/apiv2/admin_collection_templates_test.go
  • internal/apiv2/admin_sessions_test.go
  • internal/apiv2/catalog_types_test.go
  • internal/apiv2/favorites_test.go
  • internal/apiv2/household_profile_gate_test.go
  • internal/apiv2/marker_occurrences_test.go
  • internal/apiv2/notification_email_links_v2_test.go
  • internal/apiv2/parity_test.go
  • internal/apiv2/precondition_test.go
  • internal/apiv2/ratings_test.go
  • internal/apiv2/router_test.go
  • internal/artworkurl/artworkurl_test.go
  • internal/audiobooks/abs/streamtelemetry_test.go
  • internal/audiobooks/config_test.go
  • internal/audiobooks/cred_validator_test.go
  • internal/audiobooks/enrichment_state_db_test.go
  • internal/audiobooks/service_test.go
  • internal/auth/device_login.go
  • internal/auth/device_login_db_test.go
  • internal/auth/email_test.go
  • internal/auth/external_identity_test.go
  • internal/auth/provider_test.go
  • internal/autoscan/discovery_test.go
  • internal/backup/swap_test.go
  • internal/branding/render_test.go
  • internal/cache/redis_eventbus_test.go
  • internal/catalog/detail_literary_work_test.go
  • internal/catalog/filesplit/filesplit_test.go
  • internal/catalog/image_size_test.go
  • internal/catalog/marker_v1_wire_test.go
  • internal/catalog/orphan_cleanup_test.go
  • internal/chapterthumbs/extract_still_test.go
  • internal/clientclock/clientclock_test.go
  • internal/collections/templates/templates_test.go
  • internal/config/admin_settings_test.go
  • internal/config/db_loader_test.go
  • internal/config/markers_settings_test.go
  • internal/config/restart_keys_test.go
  • internal/ctxerr/ctxerr_test.go
  • internal/dashmetrics/sampler_test.go
  • internal/database/migrate_timeout_test.go
  • internal/diagnostics/admin_id_test.go
  • internal/diagnostics/settings_test.go
  • internal/downloads/service_disposition_test.go
  • internal/downloads/status_events_test.go
  • internal/ebooks/enrichment_queue_test.go
  • internal/envutil/bool_test.go
  • internal/historyimport/emby_favorites_test.go
  • internal/historyimport/service_messages_test.go
  • internal/imagesize/imagesize_test.go
  • internal/intromarkers/deadline_test.go
  • internal/intromarkers/hwdecode_test.go
  • internal/jellycompat/audio_profile_streams_test.go
  • internal/jellycompat/audio_selection_test.go
  • internal/jellycompat/content_direct_rating_test.go
  • internal/jellycompat/deviceprofile_conditions_test.go
  • internal/jellycompat/favorites_supported_test.go
  • internal/jellycompat/path_normalization_test.go
  • internal/jellycompat/playback_contract_test.go
  • internal/jellycompat/playback_static_directplay_test.go
  • internal/jellycompat/query.go
  • internal/jellycompat/query_repeated_fields_test.go
  • internal/jellycompat/query_test.go
  • internal/jellycompat/remote_transcode_reconstruct_test.go
  • internal/jellycompat/streams_test.go
  • internal/jellycompat/track_memory_test.go
  • internal/jellycompat/trickplay_test.go
  • internal/jellycompat/viewer_state_test.go
  • internal/libraryingest/executor_test.go
  • internal/librarykind/librarykind_test.go
  • internal/logstream/text_test.go
  • internal/mail/mail_test.go
  • internal/markers/submission_error_text_test.go
  • internal/mediaartifact/artifact_test.go
  • internal/metadata/chain_test.go
  • internal/metadata/image_cache_job_repo_test.go
  • internal/metadata/image_ladder_fallback_test.go
  • internal/metadata/local_image_source_test.go
  • internal/metadata/nfo/nfo_test.go
  • internal/metadata/nfo/rating_sources_test.go
  • internal/metadata/provider_id_integrity_test.go
  • internal/metadata/provider_id_url_test.go
  • internal/metadata/rating_sources_declared_test.go
  • internal/metadata/refresh_debt_test.go
  • internal/metadata/showstatus/showstatus_test.go
  • internal/naming/folderid_numeric_test.go
  • internal/naming/folderid_test.go
  • internal/nodeconfig/watcher_test.go
  • internal/notifications/webhook_logic_test.go
  • internal/playback/audio_select_test.go
  • internal/playback/capabilityhash_test.go
  • internal/playback/gpudetect_test.go
  • internal/playback/remux_leading_picture_test.go
  • internal/playback/throttle_settings_test.go
  • internal/plugins/auto_update_replace_test.go
  • internal/plugins/catalog_community_migration_test.go
  • internal/policy/vendor_rego_test.go
  • internal/recommendations/embeddings/client_test.go
  • internal/recommendations/engine_test.go
  • internal/recommendations/worker_test.go
  • internal/scanner/audio_extensions_test.go
  • internal/scanner/audiobook_test.go
  • internal/scanner/dead_root_test.go
  • internal/scanner/extras_test.go
  • internal/scanner/file_repo_test.go
  • internal/scanner/group_snapshot_repo_test.go
  • internal/scanner/hdr10plus_backfill_test.go
  • internal/scanner/probe_audio_profile_test.go
  • internal/scanner/probe_container_test.go
  • internal/scanner/probe_primary_video_test.go
  • internal/scanner/probe_repair_copy_safety_persist_test.go
  • internal/scanner/probe_repair_copy_safety_test.go
  • internal/scanner/scanner_test.go
  • internal/scanner/video_extensions_test.go
  • internal/sections/recently_added_query_test.go
  • internal/subtitles/delivery_test.go
  • internal/taskmanager/tasks/cleanup_auth_sessions_test.go
  • internal/taskmanager/tasks/cleanup_orphaned_media_items_test.go
  • internal/taskmanager/tasks/cleanup_task_history_test.go
  • internal/taskmanager/tasks/recheck_external_identities_test.go
  • internal/taskmanager/tasks/repair_provider_id_integrity_test.go
  • internal/watchsync/first_party_test.go
  • web/src/api/v2/request.test.ts
  • web/src/components/CardPlayOverlay.test.tsx
  • web/src/components/ContinueWatchingCard.test.tsx
  • web/src/components/DefaultArtwork.test.tsx
  • web/src/components/GlobalSearch.test.tsx
  • web/src/components/Layout.test.tsx
  • web/src/components/MediaCarousel.test.tsx
  • web/src/components/MediaItemMenu.test.tsx
  • web/src/components/RequestPosterCard.test.tsx
  • web/src/components/SectionItemCard.test.tsx
  • web/src/components/admin/libraries/useLibraryForm.boxSets.test.tsx
  • web/src/components/overlays/CardOverlays.test.tsx
  • web/src/components/watchlist/WatchlistTitleCard.test.tsx
  • web/src/hooks/appearanceCacheOwnership.test.tsx
  • web/src/hooks/queries/admin/collections.test.tsx
  • web/src/hooks/queries/useRequests.test.tsx
  • web/src/hooks/useNavigationDirection.test.tsx
  • web/src/lib/collections/types.test.ts
  • web/src/lib/homeRows/catalog.test.ts
  • web/src/lib/homeRows/payloads.golden.test.ts
  • web/src/lib/queryInvalidation.test.ts
  • web/src/lib/sectionTitle.test.tsx
  • web/src/lib/subtitleAppearance.test.ts
  • web/src/pages/AdminActivity.test.tsx
  • web/src/pages/AdminHomeRows.links.test.tsx
  • web/src/pages/CollectionEditorPage.syncedEdit.test.tsx
  • web/src/pages/ItemDetail/DetailHero.test.tsx
  • web/src/pages/ItemDetail/SeasonCarousel.test.tsx
  • web/src/pages/ItemDetail/components/ActionBar.test.tsx
  • web/src/pages/Requests.test.tsx
  • web/src/pages/admin-settings/EmailSettings.test.tsx
  • web/src/pages/admin-settings/NotificationsAdminSettings.test.tsx
  • web/src/pages/admin-settings/StorageSettings.test.tsx
  • web/src/pages/settings/HomeScreenSettings.links.test.tsx
  • web/src/player/components/PlayerMenuSurface.test.tsx
  • web/src/player/components/QualityMenu.test.ts
  • web/src/player/utils/formatTime.test.ts
  • web/src/reader/PdfBundleCompatibility.test.ts
  • web/src/reader/PdfSecurity.test.ts
Files with no reviewable changes: 133

  • cmd/silo/metrics_listener_test.go
  • internal/api/handlers/account_policy_test.go
  • internal/api/handlers/admin_downloaded_subtitles_test.go
  • internal/api/handlers/admin_marker_providers_test.go
  • internal/api/handlers/admin_split.go
  • internal/api/handlers/admin_split_test.go
  • internal/api/handlers/admin_stats_playback_test.go
  • internal/api/handlers/admin_stats_read_test.go
  • internal/api/handlers/admin_stats_test.go
  • internal/api/handlers/admin_stats_timeseries_test.go
  • internal/api/handlers/admin_stats_top_test.go
  • internal/api/handlers/autoscan_connection_delete_view_test.go
  • internal/api/handlers/autoscan_events_view_test.go
  • internal/api/handlers/autoscan_scans_view_test.go
  • internal/api/handlers/autoscan_source_delete_view_test.go
  • internal/api/handlers/catalog_diagnostics_test.go
  • internal/api/handlers/image_size.go
  • internal/api/handlers/image_size_test.go
  • internal/api/handlers/item_list_external_ids_test.go
  • internal/api/handlers/items_catalog_response_test.go
  • internal/api/handlers/items_episode_files_test.go
  • internal/api/handlers/notifications_android_push_v2_test.go
  • internal/api/handlers/playback_sessions_test.go
  • internal/api/handlers/playback_v3.go
  • internal/api/handlers/recommendations_section_test.go
  • internal/api/handlers/settings_overlay_config_test.go
  • internal/api/handlers/user_state.go
  • internal/api/handlers/ws_shared_test.go
  • internal/api/router_compression_test.go
  • internal/apiv2/admin_collection_templates_test.go
  • internal/apiv2/catalog_types_test.go
  • internal/apiv2/favorites_test.go
  • internal/apiv2/household_profile_gate_test.go
  • internal/apiv2/notification_email_links_v2_test.go
  • internal/apiv2/parity_test.go
  • internal/apiv2/precondition_test.go
  • internal/apiv2/ratings_test.go
  • internal/audiobooks/abs/streamtelemetry_test.go
  • internal/audiobooks/config_test.go
  • internal/audiobooks/cred_validator_test.go
  • internal/audiobooks/enrichment_state_db_test.go
  • internal/audiobooks/service_test.go
  • internal/auth/device_login_db_test.go
  • internal/auth/email_test.go
  • internal/autoscan/discovery_test.go
  • internal/backup/swap_test.go
  • internal/catalog/detail_literary_work_test.go
  • internal/catalog/marker_v1_wire_test.go
  • internal/catalog/orphan_cleanup_test.go
  • internal/chapterthumbs/extract_still_test.go
  • internal/clientclock/clientclock_test.go
  • internal/collections/templates/templates_test.go
  • internal/config/admin_settings_test.go
  • internal/config/db_loader_test.go
  • internal/config/markers_settings_test.go
  • internal/ctxerr/ctxerr_test.go
  • internal/dashmetrics/sampler_test.go
  • internal/diagnostics/settings_test.go
  • internal/downloads/service_disposition_test.go
  • internal/downloads/status_events_test.go
  • internal/ebooks/enrichment_queue_test.go
  • internal/historyimport/emby_favorites_test.go
  • internal/jellycompat/audio_selection_test.go
  • internal/jellycompat/content_direct_rating_test.go
  • internal/jellycompat/deviceprofile_conditions_test.go
  • internal/jellycompat/playback_static_directplay_test.go
  • internal/jellycompat/query.go
  • internal/jellycompat/query_repeated_fields_test.go
  • internal/jellycompat/query_test.go
  • internal/jellycompat/remote_transcode_reconstruct_test.go
  • internal/jellycompat/streams_test.go
  • internal/jellycompat/track_memory_test.go
  • internal/jellycompat/trickplay_test.go
  • internal/jellycompat/viewer_state_test.go
  • internal/libraryingest/executor_test.go
  • internal/librarykind/librarykind_test.go
  • internal/logstream/text_test.go
  • internal/mail/mail_test.go
  • internal/markers/submission_error_text_test.go
  • internal/mediaartifact/artifact_test.go
  • internal/metadata/chain_test.go
  • internal/metadata/image_ladder_fallback_test.go
  • internal/metadata/local_image_source_test.go
  • internal/metadata/nfo/nfo_test.go
  • internal/metadata/nfo/rating_sources_test.go
  • internal/metadata/provider_id_integrity_test.go
  • internal/metadata/provider_id_url_test.go
  • internal/metadata/rating_sources_declared_test.go
  • internal/metadata/refresh_debt_test.go
  • internal/metadata/showstatus/showstatus_test.go
  • internal/naming/folderid_numeric_test.go
  • internal/nodeconfig/watcher_test.go
  • internal/notifications/webhook_logic_test.go
  • internal/playback/capabilityhash_test.go
  • internal/plugins/auto_update_replace_test.go
  • internal/plugins/catalog_community_migration_test.go
  • internal/policy/vendor_rego_test.go
  • internal/recommendations/engine_test.go
  • internal/recommendations/worker_test.go
  • internal/scanner/audio_extensions_test.go
  • internal/scanner/audiobook_test.go
  • internal/scanner/extras_test.go
  • internal/scanner/file_repo_test.go
  • internal/scanner/group_snapshot_repo_test.go
  • internal/scanner/hdr10plus_backfill_test.go
  • internal/scanner/probe_audio_profile_test.go
  • internal/scanner/probe_container_test.go
  • internal/scanner/probe_primary_video_test.go
  • internal/scanner/probe_repair_copy_safety_persist_test.go
  • internal/scanner/scanner_test.go
  • internal/scanner/video_extensions_test.go
  • internal/subtitles/delivery_test.go
  • internal/taskmanager/tasks/cleanup_auth_sessions_test.go
  • internal/taskmanager/tasks/repair_provider_id_integrity_test.go
  • web/src/components/ContinueWatchingCard.test.tsx
  • web/src/components/DefaultArtwork.test.tsx
  • web/src/components/GlobalSearch.test.tsx
  • web/src/components/MediaItemMenu.test.tsx
  • web/src/components/SectionItemCard.test.tsx
  • web/src/components/admin/libraries/useLibraryForm.boxSets.test.tsx
  • web/src/components/overlays/CardOverlays.test.tsx
  • web/src/hooks/appearanceCacheOwnership.test.tsx
  • web/src/lib/collections/types.test.ts
  • web/src/lib/queryInvalidation.test.ts
  • web/src/pages/CollectionEditorPage.syncedEdit.test.tsx
  • web/src/pages/ItemDetail/SeasonCarousel.test.tsx
  • web/src/pages/ItemDetail/components/ActionBar.test.tsx
  • web/src/pages/admin-settings/StorageSettings.test.tsx
  • web/src/pages/settings/HomeScreenSettings.links.test.tsx
  • web/src/player/components/PlayerMenuSurface.test.tsx
  • web/src/player/components/QualityMenu.test.ts
  • web/src/player/utils/formatTime.test.ts
  • web/src/reader/PdfSecurity.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.

@Quick104 Quick104 added the evidence-not-needed A maintainer waived the Evidence check, for example for an automated dependency update label Nov 17, 2026
@Quick104
Quick104 merged commit e0046ab into main Nov 17, 2026
19 checks passed
@Quick104
Quick104 deleted the chore/prune-tests branch November 17, 2026 21:26
im85288 added a commit to im85288/silo-server that referenced this pull request Nov 18, 2026
Upstream's test pruning (Silo-Server#4452, Silo-Server#4465) removed the tests this branch
extended for probe repair and the on-disk check; the probe-repair case
moves to its own test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

evidence-not-needed A maintainer waived the Evidence check, for example for an automated dependency update go Pull requests that update go code javascript Pull requests that update javascript code priority: P2 Limited scope, workaround exists, or polish size/XXXL 3000+ added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant