Skip to content

fix: wave 1 hardening — OAuth logging, net8 docs, market config - #251

Merged
RicherTunes merged 1 commit into
mainfrom
fix/wave1-hardening
Mar 27, 2026
Merged

RicherTunes merged 1 commit into
mainfrom
fix/wave1-hardening

Conversation

@RicherTunes

Copy link
Copy Markdown
Owner

Summary

  • OAuthTokenProviderAdapter: Replace three bare catch { return ... } blocks with catch (Exception ex) + NLog Warn-level logging, so OAuth failures are no longer silently swallowed
  • CLAUDE.md / TFM_RATIONALE.md: Update stale net6.0 references to net8.0 to match the actual target framework
  • TidalSearchService: Add optional market parameter (default "US") to SearchWithQualityDetectionAsync and SearchByTypeAsync; TidalIndexer now passes Settings.TidalMarket through to the optimizer's QueryContext.Country

Test plan

  • dotnet build succeeds with 0 warnings, 0 errors
  • dotnet test passes 292/292 tests (17 expected skips for CLI/packaging/Docker)
  • Verify OAuth error logging appears in Lidarr logs when token refresh fails
  • Verify non-US market (e.g. DE) is passed through to query optimizer

🤖 Generated with Claude Code

- OAuthTokenProviderAdapter: replace bare catch blocks with NLog warnings
  that capture the exception, aiding auth failure diagnosis
- CLAUDE.md / TFM_RATIONALE.md: update stale net6.0 references to net8.0
  to match the actual target framework
- TidalSearchService: replace hardcoded "US" market with configurable
  parameter (default "US"); TidalIndexer now passes Settings.TidalMarket

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@RicherTunes
RicherTunes merged commit 79972d0 into main Mar 27, 2026
0 of 12 checks passed
@RicherTunes
RicherTunes deleted the fix/wave1-hardening branch May 27, 2026 17:14
RicherTunes added a commit that referenced this pull request May 28, 2026
fix: wave 1 hardening — OAuth logging, net8 docs, market config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant