Skip to content

refactor: remove dead _resolve_external_base_url helper (2.1.2)#67

Merged
trudenboy merged 1 commit intodevfrom
fix/remove-dead-resolve-external-base-url
May 7, 2026
Merged

refactor: remove dead _resolve_external_base_url helper (2.1.2)#67
trudenboy merged 1 commit intodevfrom
fix/remove-dead-resolve-external-base-url

Conversation

@trudenboy
Copy link
Copy Markdown
Owner

Summary

Copilot review on upstream PR music-assistant/server#3834 flagged _resolve_external_base_url in provider/__init__.py as defined but never called. The live code path (_run_auto_create_action) uses resolve_base_url from _smarthome_auto_create.py instead.

Drop the dead helper to shrink maintenance surface. No behaviour change.

Bumps to 2.1.2 so CI publishes a fresh wheel and the upstream PR auto-resyncs.

Test plan

  • pytest tests/ — 226 passed
  • ruff check provider tests clean
  • CI green
    🤖 Generated with Claude Code

Copilot review on upstream PR music-assistant/server#3834 flagged this
helper as defined but never used — the live code path uses resolve_base_url
from _smarthome_auto_create.py instead. Drop the dead helper to shrink
maintenance surface.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@trudenboy trudenboy merged commit af888a8 into dev May 7, 2026
5 checks passed
@trudenboy trudenboy deleted the fix/remove-dead-resolve-external-base-url branch May 7, 2026 06:59
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