You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(jellycompat): disable tone mapping in strip fixtures - #3470
Three Jellyfin compatibility tests assume tone mapping is disabled, but their
fixture uses the server defaults, which now enable it. On a host with a
working tone-map path, the tests can find a transcode route and fail.
Approach
Set both tone-map options to false in the Dolby Vision strip test fixture.
This keeps the tests focused on whether a strip route is available and makes
them independent of the host's tone-map capabilities.
Validation
The three previously failing tests passed on this branch.
Changed-line lint passed.
make test-go, including the race-test step, passed in a scratch checkout
combining this fixture fix with the WSL NVENC detection branch, using
libvips 8.16.1 and the project's bundled SQLite.
The full pre-PR gate was not run independently on this branch.
Evidence
Evidence: none, no user-visible change
Risks
None identified. The change affects test setup only.
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 says there is none.
AI Disclosure
Harness: OpenAI Codex
Tool(s): Codex
Model(s): GPT-6.1 Terra
Involvement: AI-assisted
Adversarial review: Not performed
Note
Disable tone mapping in DV strip test fixtures
Updates the newDVStripHandlerWithTrack helper in dv_strip_test.go so the settings stub sets hardware and software tone mapping to false explicitly.
No actionable comments were generated in the recent review.
Walkthrough
The Dolby Vision strip test fixture now explicitly disables hardware and software tone mapping. Its comment describes tone mapping as off without calling it the server default.
Changes: Dolby Vision strip test fixture
Layer / File(s)
Summary
Set explicit tone-mapping settings internal/jellycompat/dv_strip_test.go
The fixture sets hardware and software tone mapping to "false". The comment now says tone mapping is off, and the test imports the configuration keys.
Silo-Server/silo-server#3447: Adds a Dolby Vision Profile 7-to-8.1 HLS route and updates the same strip-routing behavior.
Suggested labels:go
Suggested reviewers:quick104
Merge Risk: Minimal · up to 78f58
The fixture change is ready to merge after normal checks.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title names the actual change: it disables tone mapping in the strip test fixtures, which the raw summary confirms (hardware and software tone mapping are set to false in dv_strip_test.go). It is …
Description check
The description explains the problem (three Jellyfin compatibility tests assume tone mapping is disabled, but server defaults now enable it), the approach (explicitly setting both tone-map options to …
Docstring Coverage
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the actual change: it disables tone mapping in the strip test fixtures, which the raw summary confirms (hardware and software tone mapping are set to false in dv_strip_test.go). It is specific, concise, and follows the conventional prefix style.
Full details: Description check
Explanation
The description explains the problem (three Jellyfin compatibility tests assume tone mapping is disabled, but server defaults now enable it), the approach (explicitly setting both tone-map options to false in the DV strip fixture), and validation steps. It matches the single-file test change in the raw summary.
Full details: Docstring Coverage
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
CodeRabbit Verify
Run CodeRabbit Verify to test the changes in this pull request.
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: 5340a359-4aa4-470d-9771-2caa0e145da2
Commits
Reviewing files that changed from the base of the PR and between 527e404 and 78f58f2.
Files selected for processing: 1
internal/jellycompat/dv_strip_test.go
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.
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
bugSomething isn't workinggoPull requests that update go codepriority: P2Limited scope, workaround exists, or polishsize/S0–49 added + deleted lines (all files); change volume, not priority.
2 participants
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
Related issue: N/A
Validation tasks: none
Three Jellyfin compatibility tests assume tone mapping is disabled, but their
fixture uses the server defaults, which now enable it. On a host with a
working tone-map path, the tests can find a transcode route and fail.
Approach
Set both tone-map options to false in the Dolby Vision strip test fixture.
This keeps the tests focused on whether a strip route is available and makes
them independent of the host's tone-map capabilities.
Validation
make test-go, including the race-test step, passed in a scratch checkoutcombining this fixture fix with the WSL NVENC detection branch, using
libvips 8.16.1 and the project's bundled SQLite.
Evidence
Evidence: none, no user-visible change
Risks
None identified. The change affects test setup only.
Checklist
AI Disclosure
Note
Disable tone mapping in DV strip test fixtures
Updates the
newDVStripHandlerWithTrackhelper in dv_strip_test.go so the settings stub sets hardware and software tone mapping to false explicitly.Macroscope summarized 78f58f2.