Skip to content

fix(transcode): support modern Intel VPL images for Flex GPUs - #2372

Merged
Quick104 merged 6 commits into
Silo-Server:mainfrom
zenjabba:fix/intel-flex-vpl-image
Nov 4, 2026
Merged

Quick104 merged 6 commits into
Silo-Server:mainfrom
zenjabba:fix/intel-flex-vpl-image

Conversation

@zenjabba

@zenjabba zenjabba commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Problem

On an isolated non-first Intel Flex render device, the mixed Jellyfin FFmpeg package can select legacy Media SDK 1.35 and fail QSV initialization with Error setting child device handle: -17. The supplied reproduction selected modern VPL 2.17 and encoded successfully after excluding the legacy runtime. This change makes that packaging choice available in the Dockerfile.

Related issue: #1171
Validation tasks: changes #1173 C1–C3; changes #1174 C2

Approach

INTEL_QSV_RUNTIME=auto preserves the current default image. Explicit vpl builds on amd64 remove only libmfxhw64.so*, retaining the modern dispatcher, VPL GPU runtime, iHD driver and dependencies. The build rejects empty or invalid selections, unsupported architectures and missing modern runtime packages, and records the selection in an image label.

Older Intel devices still have the default Media SDK path, following Intel's dispatcher hardware matrix. Probing and transcodes use the same packaged FFmpeg and allocated native render path. No device aliases or additional GPU access are required. No Apple, Android or Jellyfin API changes are needed. The manual handoff is tracked in Silo-Server/siloserver.org#162.

Validation

  • Packaging regression and ShellCheck: passed, including invalid/empty selection, unsupported architecture and missing modern runtime.
  • Local amd64 default and VPL images: built. Fresh containers confirmed the intended library inventory, resolved dependencies, QSV/VAAPI codec availability and 90-frame generated 1080p software encoding; exported images reloaded with matching local IDs.
  • Repository Go build, vet, formatting, changed-line lint, generated-contract and path checks: passed. Full frontend suite: 854 files, 7,491 tests passed; lint, formatting, production build and bundle budget passed.
  • Full Go suite was run. The same upstream failures reproduce without Go source changes: TestPlaybackInfoWithoutStripOrToneMapStillHasNoRoute, TestPlaybackInfoSkipsStripWhenRPUCannotBeStripped and TestProvider_DirectoryListingFollowsChanges. A temporary-executable text file busy failure in TestNonToneMapStartDoesNotProbeLiveMetadata passed on isolated rerun. The full gate is not green in this environment.
  • Receiving-team Intel Flex tests on 2026-10-12: H.264/HEVC QSV and VAAPI each completed 90 generated 1920×1080 frames on native renderD128, renderD129, renderD130 and renderD131, with one device exposed per run. QSV selected implementation 2.17; opens of every unassigned render minor were denied. The renderD129 checks also passed after reboot.
  • Tested image: local VPL image sha256:8b3f4ae750b5c33358526e3c83a518349725b5c898a8ccdf872ddf984a951fb5, source 41c0b769bdf0a174c074007ba380b931ef332855. Its Dockerfile and runtime-selection script match this PR head byte for byte. This validates the packaging on the earlier combined preview, not the exact submitted application binary.
  • The receiving validator checks the completed encoder summary; one successful HEVC encode omitted the progress-pipe assertion in the original script. The final renderD128 run completed all checks. HDR, workload performance and legacy Intel hardware execution remain unverified.

Evidence: https://evidence.siloserver.org/r/silo-server/pr-2372/

Evidence

Supplied Flex reproduction before runtime exclusion Returned VPL image hardware results
Isolated non-first render device selects implementation 1.35; QSV fails with child device handle error -17. Implementation 2.17; H.264/HEVC QSV and VAAPI each complete 90 generated 1920×1080 frames on all four native devices, with unassigned-minor opens denied.

The returned hardware logs and image metadata establish the correction on the newly built local VPL image. Private deployment fields are omitted from the evidence summary. This PR changes image packaging and adds no UI controls.

Risks

The VPL selection intentionally excludes legacy-only Intel hardware. Keep those systems on auto. The new option requires a separate image build; this PR does not publish a new image tag. The dispatcher ordering defect is not established. The Flex acceptance checks passed for individually assigned native devices, VAAPI encoding and denied unassigned-minor opens. Legacy hardware, HDR and workload performance still need separate validation.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • The Evidence section identifies the measured correction and the tested image/source scope.

AI Disclosure

  • Harness: OpenAI Codex API coding agent.
  • Tool(s): functions.exec (exec_command, apply_patch); collaboration.spawn_agent.
  • Model(s): GPT-6 for implementation; this harness does not expose a more specific root model identifier. Independent runtime review reported gpt-6-astra.
  • Involvement: AI-assisted, using the author's supplied hardware diagnosis and the receiving team's completed hardware results. The agent verified those logs and image metadata; it did not run the hardware fixture.
  • Adversarial review: focused independent Docker/runtime review. Fixed explicit empty-selection fallback and added its failing-then-passing regression. No remaining material code findings. The receiving team exercised the hardware; the agent checked the returned codec, isolation and image metadata logs.

Note

Add INTEL_QSV_RUNTIME build arg to support modern Intel VPL images for Flex GPUs

  • Adds a new INTEL_QSV_RUNTIME build argument (default auto) to the runtime image stage in Dockerfile, which runs the new configuration script and records the selection as an image label.
  • Adds configure-intel-qsv-runtime.sh. With vpl, it requires amd64 and a matching libmfx-gen library, then removes legacy libmfxhw64 files. auto keeps the packaged runtimes unchanged. Invalid selections, arm64, or a missing modern runtime cause a nonzero exit.
  • Documents the options and library checks in intel-qsv-runtime.md. The build argument does not change how QSV devices are opened or assigned.
  • Adds a test script intel-qsv-runtime.sh covering auto preservation, rejected selections, and vpl behavior on amd64 and arm64. CI runs it in the trusted Linux workflow.
  • Behavioral Change: default auto leaves image contents unchanged; only builds that pass vpl remove the legacy Media SDK libraries.

Macroscope summarized 6a316f0.

@silo-kody

silo-kody Bot commented Oct 12, 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 ❌

@coderabbitai

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • Resume reviews
  • Trigger review
Walkthrough

The runtime image now supports auto and vpl Intel QSV packaging modes. The build validates VPL architecture and library requirements, removes legacy runtime files for valid VPL builds, and records the selected mode in an image label. A shell test runs in repository checks.

Changes: Intel QSV Runtime Packaging

Layer / File(s) Summary
Runtime selection and validation
scripts/configure-intel-qsv-runtime.sh, scripts/tests/intel-qsv-runtime.sh
The script accepts auto and amd64-only vpl. For vpl, it requires a versioned libmfx-gen.so.* file before removing legacy libmfxhw64.so* files and symlinks. The shell test checks supported and rejected selections, library handling, and preservation of the driver.
Image integration and documentation
Dockerfile, .github/workflows/trusted-linux-ci.yml, docs/architecture/intel-qsv-runtime.md
The Dockerfile passes the runtime selection and target architecture to the script and adds an image label for the selection. Repository checks run the shell test. Documentation describes the runtime options, validation, and unchanged device initialization.

Estimated code review effort: 2 (Simple) | ~12 minutes

Change: Bug fix

Suggested reviewers: quick104

Merge Risk: Low · previous review 69f47

The runtime packaging is implemented, but the production default path lacks direct test coverage and the documentation needs a small clarification before merge.

Security architecture risk: Low · up to 69f47

The change is opt-in, preserves the existing default, and does not expand GPU access or application privileges. Invalid VPL selections stop the build. Remaining risk is primarily hardware compatibility and confirming the resulting image works on its intended hosts.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The changed runtime inventory affects containers and derived images using the VPL variant. The inspected change does not expand their host-device access, tenant authority, network exposure, or credential access.

Trust Boundaries and Controls

  • inferred — The relevant input authority is the image builder, not an application request. Runtime selection is allowlisted before filesystem mutation, and the production caller supplies no path override. The optional third argument can redirect standalone execution, but no newly introduced application path exposes it.

Resilience and Maintainability Implications

  • inferred — Failure containment relies on Docker build isolation: deletion errors terminate the script, and the Docker command propagates failure rather than continuing to the final labeled image. Repeated VPL removal tolerates absent legacy files. Normal concurrent builds do not mutate a shared deployed library directory.
Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title names the change: adding support for modern Intel VPL images for Flex GPUs in the transcode path. The changeset adds an INTEL_QSV_RUNTIME build argument that removes the legacy Media SDK run…
Description check Passed The description states the problem (legacy Media SDK 1.35 selected on a non-first Intel Flex render device, causing QSV error -17), the approach (INTEL_QSV_RUNTIME auto/vpl option, amd64-only vpl remo…
Docstring Coverage Passed Docstring coverage is inconclusive: files from earlier reviews still need to be rechecked within the check's analysis limits. Not blocking.
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 names the change: adding support for modern Intel VPL images for Flex GPUs in the transcode path. The changeset adds an INTEL_QSV_RUNTIME build argument that removes the legacy Media SDK runtime for explicit vpl builds on amd64. The title is specific and matches the main change. It uses a conventional commit prefix, which is acceptable.

Full details: Description check

Explanation

The description states the problem (legacy Media SDK 1.35 selected on a non-first Intel Flex render device, causing QSV error -17), the approach (INTEL_QSV_RUNTIME auto/vpl option, amd64-only vpl removal of libmfxhw64, validation, image label), validation, and risks. These match the changeset, which adds the Dockerfile argument, the configure script, the shell test, the CI step, and the documentation.

Finishing Touches
Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Tip

🎯 Customize your risk assessments

Guide how CodeRabbit assesses merge risk and security architecture risk. Highlight sensitive changes and explain your security boundaries using Merge Risk Instructions and Security Risk Instructions in your review settings. Security architecture risk assessments require the Advanced plan or above.

✅ Automatic approvals, with your rules

Let CodeRabbit approve pull requests once required threads are resolved, pre-merge checks pass, and your risk limits are met. Enable Automatic approvals in review settings, with overrides for teams or file paths.

Merge main at f75cdf3. docs/transcode-node-api.md conflicted only
because both sides appended a section at the end; both are kept, with
main's subtitle rendition section first.
@silo-triage silo-triage Bot added the size/M 50–199 added + deleted lines (all files); change volume, not priority. label Oct 21, 2026
@macroscopeapp

macroscopeapp Bot commented Oct 21, 2026

Copy link
Copy Markdown

The task records for #1173 and #1174 show C1–C3 as Not run, so “re-test #1174 C1–C3” has no recorded baseline. The VPL option changes QSV detection/runtime for #1173 C1–C3 and can change auto resolution in #1174 C2 on Flex/DG2 hardware because QSV is preferred over VAAPI. The VAAPI probe and forced encode path are otherwise unchanged. Please replace the line with:

Validation tasks: changes #1173 C1–C3; changes #1174 C2

These cases remain unvalidated in the task records; the PR’s supplied hardware evidence does not update them.

Automated check: Macroscope check run agent (gpt-6-luna). No validation was performed.

Posted via Macroscope — v1 validation impact

zenjabba added a commit to zenjabba/silo-server that referenced this pull request Oct 21, 2026
zenjabba added a commit to zenjabba/silo-server that referenced this pull request Oct 21, 2026
Upstream's docker.yml and trusted-linux-build.yml publish only from
Silo-Server/silo-server main and apiv2, so a workflow_dispatch on a fork
skips every job. This workflow repeats their build steps for
ghcr.io/<owner>/silo-server: the same Dockerfile, build arguments and OCI
labels, an empty build number as upstream uses off the default branch,
and SHA tags only (never latest or build-N). It also builds the
INTEL_QSV_RUNTIME=vpl variant added by Silo-Server#2372, tagged <sha>-vpl.

A push to an integration/** branch starts it: workflow_dispatch only
finds workflows on the default branch, and this file never lands on the
fork's main.

The parent commit is build-1555 (f75cdf3) plus merges of Silo-Server#2371, Silo-Server#2372,
Silo-Server#2541 and Silo-Server#2588; this commit changes no source.
The root Dockerfile is now the base of main's omnibus image. The runtime
stage keeps main's NODE_OPTIONS line and adds the INTEL_QSV_RUNTIME step and
labels after it. The default, auto, changes nothing in the image, and the
omnibus build passes no INTEL_QSV_RUNTIME, so it inherits only the label
io.silo.intel-qsv-runtime=auto; its own metadata step sets the revision
label. The transcode node API doc keeps main's subtitle rendition paragraph
and the QSV packaging section after it.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick comments: 1
scripts/tests/intel-qsv-runtime.sh: 1

10-12: Trivial · Maintainability & Code Quality · Quick win

Mirror the packaged driver path in the packaging test.

The fixture stores iHD_drv_video.so at the top level of $lib_dir. The pinned jellyfin-ffmpeg8 package installs it under lib/dri/. The selector never reads or deletes the top-level file. Line 28 therefore checks a file that the test itself created. A change that removes the real dri/iHD_drv_video.so would pass this test.

Suggested fix
 printf modern > "$lib_dir/libmfx-gen.so.1.2.17"
 printf dispatcher > "$lib_dir/libvpl.so.2"
-printf driver > "$lib_dir/iHD_drv_video.so"
+mkdir "$lib_dir/dri"
+printf driver > "$lib_dir/dri/iHD_drv_video.so"
-test "$(cat "$lib_dir/iHD_drv_video.so")" = driver
+test "$(cat "$lib_dir/dri/iHD_drv_video.so")" = driver
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: c51f2032-165a-4d4e-b5c1-250c1a1956a1
Commits

Reviewing files that changed from the base of the PR and between e9e902e and 14f4db9.

Files selected for processing: 2
  • Dockerfile
  • docs/transcode-node-api.md

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

…stalls it

jellyfin-ffmpeg8 installs iHD_drv_video.so under lib/dri/, not lib/. The
fixture put it at the top of lib/, so the check that the vpl selection keeps
the driver read back a file the selector never touches. Place it under dri/
so a selector change that removed the real driver would fail the test.
@silo-kody

silo-kody Bot commented Nov 3, 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 ❌
⚠️ 4 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Preserve optional store capabilities through production wrappers
  • Detach mandatory cleanup from request cancellation and bound its lifetime
  • Preserve durable media identity and share identity-evidence precedence
  • Bound decoder throughput trades and share direct-play eligibility

@zenjabba

zenjabba commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

@Quick104, could you review this when you have time? I merged main at 527e40436 into it today, and CI is green on 307bccee0.

The merge keeps upstream's runtime stage as it is: the org.opencontainers.image.revision label and the silo entrypoint are unchanged, and the Intel runtime selection still runs right after the jellyfin-ffmpeg install. I also built omnibus/Dockerfile with SILO_IMAGE set to an amd64 image built from this Dockerfile, and it completes with the /init entrypoint and the base labels inherited.

307bccee0 fixes the packaging test CodeRabbit flagged: the iHD driver fixture now sits under lib/dri/, where jellyfin-ffmpeg installs it, so the test checks the real driver path.

@Quick104 Quick104 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of 307bccee0: three findings, all small, and I'm fixing all three on this branch. I checked the script against the published jellyfin-ffmpeg8 8.1.3-1-trixie amd64 package: vpl mode removes libmfxhw64.so, .so.1 and .so.1.35, keeps libmfx-gen, libvpl and dri/iHD_drv_video.so, and no binary or library in the package links libmfxhw64 directly, so only the dispatcher's runtime choice changes.

🤖 Claude Code (claude-opus-5-5)

Comment thread scripts/tests/intel-qsv-runtime.sh Resolved
Comment thread Dockerfile Resolved
Comment thread docs/transcode-node-api.md Resolved
Run scripts/tests/intel-qsv-runtime.sh in Repository checks, since CI
never builds a vpl image. Drop the unrelated revision label, which the
release build already sets. Move the packaging notes from the node API
doc to docs/architecture/intel-qsv-runtime.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-kody

silo-kody Bot commented Nov 4, 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 ❌

@Quick104

Quick104 commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Review summary

Reviewed head: 6a316f039 (307bccee0 plus two review-fix commits; the second only corrects the new doc's wording, per CodeRabbit).

This PR adds an opt-in INTEL_QSV_RUNTIME=vpl build that removes the legacy Media SDK runtime so the libvpl dispatcher can only load the VPL runtime. The default auto image is byte-for-byte unchanged in what it ships.

Addressed in 69f47baf4

  • The packaging test now runs in Repository checks. Before, nothing ran it, and CI never builds a vpl image.
  • Removed the unrelated org.opencontainers.image.revision label and ARG BUILD_REVISION. Release builds already set that label through docker/metadata-action.
  • Moved the packaging notes from docs/transcode-node-api.md to docs/architecture/intel-qsv-runtime.md, without the working history and operator steps.

What I checked

  • I ran the script against the published jellyfin-ffmpeg8 8.1.3-1-trixie amd64 package. vpl removes libmfxhw64.so, .so.1 and .so.1.35, and keeps libmfx-gen.so*, libvpl.so* and dri/iHD_drv_video.so. No binary or library in the package links libmfxhw64 directly, so the only change is which runtime the dispatcher loads.
  • Every QSV command line still goes through tonemap.QSVInitDeviceArgs (VAAPI display, QSV derived from it), so probes and transcodes use the same device path in both images.
  • The packaging test passes on this head. It can't run on main because the script doesn't exist there, so it doesn't count as a fails-on-base test. The hardware result is the receiving team's run on an earlier image whose packaging matches. I didn't repeat it, since there was no Intel Flex hardware to test on.

Left for the maintainers

  • Maintainer decision: whether to publish a vpl image tag. As merged, Flex/DG2 operators have to build their own image, and no CI job ever builds the vpl variant.

Validated features: the PR lists #1173 C1–C3 and #1174 C2. None of those cases has passed yet, and the default image is unchanged, so no passed case regresses.

User manual: Silo-Server/siloserver.org#162 already covers INTEL_QSV_RUNTIME=vpl and is waiting for this PR to merge.

Apple/Android/jellycompat: not affected. This is server image packaging only.

Fit: 7/10 · Readiness: 8/10 — conditional (assuming CI is green)

  • Fit: this fixes a real QSV failure on Intel Flex without changing the default image. It holds at 7 because it adds a build-time option rather than a working default, and because users need an image that isn't published.
  • Readiness: the script is small, guarded, matches the real package, and is now tested in CI. It holds at 8 because the hardware validation used an earlier image, and CI still never builds the vpl image.

🤖 Claude Code (claude-opus-5-5)

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Nitpick comments: 1
scripts/tests/intel-qsv-runtime.sh: 1

6-30: Trivial · Maintainability & Code Quality · Heavy lift

Exercise the selector's production default path.

The vpl amd64 case passes "$lib_dir" explicitly, but Dockerfile invokes the selector without that argument. Add a separate isolated image-filesystem case that invokes scripts/configure-intel-qsv-runtime.sh vpl amd64 without the third argument and verifies removal under /usr/lib/jellyfin-ffmpeg/lib. Without that case, CI can pass while a regression in the production default path leaves legacy Media SDK files in VPL images.

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: 4c26f43e-05ce-4084-8c52-2704018ceb17
Commits

Reviewing files that changed from the base of the PR and between 307bcce and 69f47ba.

Files selected for processing: 3
  • .github/workflows/trusted-linux-ci.yml
  • Dockerfile
  • docs/architecture/intel-qsv-runtime.md

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

Comment thread docs/architecture/intel-qsv-runtime.md Resolved
@silo-kody

silo-kody Bot commented Nov 4, 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 ❌
⚠️ 4 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Preserve optional store capabilities through production wrappers
  • Detach mandatory cleanup from request cancellation and bound its lifetime
  • Preserve durable media identity and share identity-evidence precedence
  • Bound decoder throughput trades and share direct-play eligibility

@Quick104

Quick104 commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

@coderabbitai On the nitpick about testing the selector's default path: that case would have to write to /usr/lib/jellyfin-ffmpeg/lib on the CI runner, which needs root and touches the host. The default is a single literal in the script, and the test already runs the same code with an explicit directory. I'm leaving it as is.

🤖 Claude Code (claude-opus-5-5)

@coderabbitai

coderabbitai Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Tip

For best results, initiate chat on the files or code changes.

@Quick104 Agreed. Testing the default path does not justify root access or changes to the CI runner’s system libraries. The explicit-directory test already exercises the selector logic. I withdraw the nitpick. No change is needed.


Learnings used
Learnt from: CR
Repo: Silo-Server/silo-server PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-10-21T14:47:24.852Z
Learning: Source excerpt:
# Silo Server

## Tests

A test belongs here only if it would catch a regression that matters and that no other test, type
check, or lint would catch. Most changes need no new test, and some should delete one. Read
[Decide what to test](CONTRIBUTING.md#decide-what-to-test) before adding a test. In short:

- Don't write tests that match strings in source, CSS, or docs files, or that only check a fake
  received the test's own inputs.
Learnt from: CR
Repo: Silo-Server/silo-server PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-11-03T15:25:23.345Z
Learning: Source excerpt:
# Silo Server

## Tests

A test belongs here only if it would catch a regression that matters and that no other test, type
check, or lint would catch. Most changes need no new test, and some should delete one. Read
[Decide what to test](CONTRIBUTING.md#decide-what-to-test) before adding a test. In short:

- Don't write tests that match strings in source, CSS, or docs files, or that only check a fake
  received the test's own inputs.

You are interacting with an AI system.

@Quick104
Quick104 merged commit 7804d8c into Silo-Server:main Nov 4, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working impact: playback Can't play, stalls, or wrong media priority: P2 Limited scope, workaround exists, or polish size/M 50–199 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants