Skip to content

[RADARR-1] v1.0.4 — Resolve parser cleanup and edge cases - #61

Merged
Starosdev merged 10 commits into
developfrom
codex/issue-1
Jun 18, 2026
Merged

Starosdev merged 10 commits into
developfrom
codex/issue-1

Conversation

@Starosdev

Copy link
Copy Markdown
Owner

Summary

This finishes GitHub issue #1 by removing stale parser TODOs only where the behavior was already correct, tightening the URL/title normalization paths, and adding focused regression coverage around the affected parser cases.

What changed

  • preserve parser handling for BBCode-style [url]...[/url] prefixes
  • stop SkyHook search normalization from stripping acronym titles too aggressively
  • simplify ReleaseInfo age calculations while keeping deserialization compatibility intact
  • remove stale parser/REAL TODO comments once the existing paths were covered by tests
  • add focused parser, SkyHook, quality, and ReleaseInfo regression tests for the edge cases from issue Parser: cleanup and edge cases #1

Root cause

Issue #1 had accumulated a mix of small parser edge cases and stale TODOs. Some paths needed code fixes, while others only needed proof that the current implementation already handled the case correctly.

Validation

  • dotnet test src/NzbDrone.Core.Test/Radarr.Core.Test.csproj --no-restore -p:RunAnalyzers=false --filter "FullyQualifiedName~NzbDrone.Core.Test.ParserTests.UrlFixture|FullyQualifiedName~NzbDrone.Core.Test.ParserTests.ParserFixture|FullyQualifiedName~NzbDrone.Core.Test.MetadataSource.SkyHook.SkyHookProxySearchFixture|FullyQualifiedName~NzbDrone.Core.Test.MetadataSource.SkyHook.SkyHookProxyTitleNormalizationFixture"
  • dotnet test src/NzbDrone.Core.Test/Radarr.Core.Test.csproj --no-restore -p:RunAnalyzers=false --filter "FullyQualifiedName~ReleaseInfoFixture|FullyQualifiedName~MinimumAgeSpecificationFixture|FullyQualifiedName~RetentionSpecificationFixture|FullyQualifiedName~DelaySpecificationFixture"
  • dotnet test src/NzbDrone.Core.Test/Radarr.Core.Test.csproj --no-restore -p:RunAnalyzers=false --filter "FullyQualifiedName~NzbDrone.Core.Test.ParserTests.ParserFixture|FullyQualifiedName~NzbDrone.Core.Test.ParserTests.EditionParserFixture"
  • dotnet test src/NzbDrone.Core.Test/Radarr.Core.Test.csproj --no-restore -p:RunAnalyzers=false --filter "FullyQualifiedName~NzbDrone.Core.Test.ParserTests.ExtendedQualityParserRegex|FullyQualifiedName~NzbDrone.Core.Test.ParserTests.QualityParserFixture"

Impact

This keeps the parser fixes narrow, documents the intended edge-case behavior with tests, and closes out the remaining cleanup items from issue #1 without broader parser rewrites.

@Starosdev Starosdev linked an issue Jun 17, 2026 that may be closed by this pull request
6 tasks
@Starosdev
Starosdev merged commit bdb8b83 into develop Jun 18, 2026
15 checks passed
@Starosdev
Starosdev deleted the codex/issue-1 branch June 18, 2026 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parser: cleanup and edge cases

1 participant