Repository navigation
test: prune the suite and shorten the slowest checks - #4465
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
WalkthroughWarning Review details and warnings were omitted to fit the comment limit. |
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
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]>
4 tasks done
Quick104
added a commit
that referenced
this pull request
Nov 19, 2026
Main rewrote StarRating for half stars (#4398); Left and Right now step half a star there and pass through at either end. TourHost takes main's version, which already restores focus to the primary button after a save (#4296). The test files main pruned in #4465 stay deleted. Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 tasks done
Quick104
added a commit
that referenced
this pull request
Nov 19, 2026
Resolve the seek conflict with main's takeSeek() helper (#4512), keeping the draining-stream reconnect after it. Port the PR's lost-connection tests onto main's pruned VideoPlayer.test.tsx (#4465) and take main's deletion of mediaTimeline.test.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merged
3 tasks done
Quick104
added a commit
that referenced
this pull request
Nov 19, 2026
Resolve conflicts with main's subtitle demux admission (#4318) and its test pruning (#4465). serveWindowedSUP keeps this branch's rooted Lookup and main's demux admission and slow-read warm. The refused-dir kept-copy check moves to its own test, since main removed the table it was a row of. Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 tasks done
Quick104
added a commit
that referenced
this pull request
Nov 19, 2026
Main pruned the test files this branch extended (#4465) and moved the Home row pickers' meta line into collectionOptionMeta (#4410, #4471). The pickers now show "Count unavailable" through that helper. Two test helpers the pruning removed are restored next to their remaining callers, and the translations sync from the catalog branch for Silo-Server/silo-translations#95. Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 tasks done
grtn91
added a commit
to grtn91/silo-server
that referenced
this pull request
Nov 22, 2026
Conflicts: go.mod/go.sum (upstream's new replaces plus the SDK fork pin, which now points at the SDK branch merged with SDK main, since main needs SDK v0.35.0), the route list and a RequestSeasonsDialog import (both sides kept), and the generated OpenAPI and web types (regenerated). Five web test files upstream pruned in Silo-Server#4465 stay deleted, with this branch's cases in them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 tasks done
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.
Problem
Pull requests run thousands of routine feature checks, and several of the slowest tests spend most of their time generating oversized fixtures or waiting on independent operations. This change reduces the suite from 18,706 to 9,131 test declarations (9,575 fewer, or 51.2%) and documents which feature checks contributors should run when a PR can affect them.
Related issue: N/A
Validation tasks: none
Other clients: N/A (no client-visible change)
Approach
CI still runs all 950 PostgreSQL budget and contract checks. The backup import test uses fewer ordinary rows while still crossing the real write, lookup, and collection limits. Metadata refreshes wait through the real queue delay concurrently. Playback tests use shorter media with real FFmpeg, and the route analyzer shares fixture type checking. The CI recipe also runs packages that require uncached Go tests only once per PR after this change merges.
Validation
70438a2426627280db6627280dbThese are wall times from the same Linux host with Go 1.27.4, PostgreSQL 18 with pgvector, Jellyfin FFmpeg 8.1.3, and six Vitest workers. The Go runs used warm compilation caches with test result caching disabled. The jobs ran concurrently on separate CPU sets. One web run on the PR timed out in an access-group test. It passed in 1.18s during the full retry reported above, with the same five-second limit.
The current count includes two tests added on main and one restored on the PR after the timing runs. The restored test runs the patched Jellyfin Web player in Node and checks when a seek must request a new stream.
Within the pruned suite, the backup import check fell from 77.29s to 1.72s, series refresh from 45.35s to 11.79s, and FFmpeg subtitle timing from 38.95s to 12.23s. The full web suite varied across repeats of the fixture changes alone (54.0s to 61.2s and 55.5s to 54.6s).
Go build, vet, lint, generated contracts, migration checks, the query attribution race check, and repository checks passed. Web lint completed with 80 warnings and zero errors. Formatting, the production build, and the bundle budget passed.
Evidence
Evidence: https://evidence.siloserver.org/r/silo-server/pr-4465/
Risks
Some removed tests covered unique behavior. Contributors now exercise affected cases from the PR verification guide and record their results. That includes Plex and Emby pagination exhaustion and two live FFmpeg timestamp combinations. The smaller heap fixture still detects retained records but is less sensitive to a few extra bytes per item in a million-record import.
Checklist
AI Disclosure
gpt-6.2-astra,gpt-6.2-solNote
Prune slow test suites and shorten the slowest checks
internal/jellycompat,internal/librarymonitor,internal/intromarkers,internal/taskmanager,internal/userdb, and admin page tests inweb/src/pagesstubRadixDomin adminPage.test-support.ts now only stubs DOM methods when they are absent, preserving existing implementationsteststarget in go-checks.mk runs the fulltest-gotarget for scheduled events; other events exclude configuredUNCACHEDpackages from the regular run and execute them separately withcount=1, via a newGO_TEST_PACKAGESvariable in the MakefileMacroscope summarized 60144a4.