Skip to content

Use XmlReader in encoder preset migration tests - #18237

Merged
crobibero merged 1 commit into
jellyfin:release-12.zfrom
maghuro:fix/codeql-fix-null-encoder-preset-tests
Oct 2, 2026
Merged

crobibero merged 1 commit into
jellyfin:release-12.zfrom
maghuro:fix/codeql-fix-null-encoder-preset-tests

Conversation

@maghuro

@maghuro maghuro commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

Changes

Use XmlReader when deserializing encoding.xml in FixNullEncoderPresetTests. This resolves the pre-existing CA5369 analyzer errors that currently make the CodeQL C# autobuild fail on master, without changing runtime behavior.

The failure was observed while validating #18056 and is also documented as pre-existing in #18236.

Code assistance

ChatGPT was used to inspect the failing CodeQL logs, identify the CA5369 root cause, compare existing Jellyfin XML deserialization patterns, and prepare this minimal test-only fix. The resulting diff was reviewed before opening the pull request.

Issues

None.

@theguymadmax

Copy link
Copy Markdown
Member

Please retarget and rebase this to the current stable branch (release-12.z)

@maghuro
maghuro force-pushed the fix/codeql-fix-null-encoder-preset-tests branch from fafaa9b to d341176 Compare September 29, 2026 15:11
@maghuro
maghuro requested review from a team and joshuaboniface as code owners September 29, 2026 15:11
@jellyfin-bot jellyfin-bot added the merge conflict Merge conflicts should be resolved before a merge label Sep 29, 2026
@jellyfin-bot

Copy link
Copy Markdown
Contributor

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

@maghuro
maghuro changed the base branch from master to release-12.z September 29, 2026 15:12
@sonarqubecloud

Copy link
Copy Markdown

@theguymadmax
theguymadmax removed request for a team and joshuaboniface September 29, 2026 15:16
@jellyfin-project-automation jellyfin-project-automation Bot added this to the v12.2 milestone Sep 29, 2026
@jellyfin-bot jellyfin-bot removed the merge conflict Merge conflicts should be resolved before a merge label Sep 30, 2026
@theguymadmax theguymadmax added the stable backport Backport into the next stable release label Sep 30, 2026
@crobibero
crobibero merged commit 4d3282b into jellyfin:release-12.z Oct 2, 2026
5 checks passed
@maghuro
maghuro deleted the fix/codeql-fix-null-encoder-preset-tests branch October 2, 2026 20:45
jellyfin-bot pushed a commit that referenced this pull request Oct 5, 2026
Use XmlReader in encoder preset migration tests

Original-merge: 4d3282b

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Cody Robibero <cody@robibe.ro>
@jellyfin-bot jellyfin-bot removed the stable backport Backport into the next stable release label Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants