Skip to content

♻️ Route settings commands through dedicated settings handler#253

Open
Gudsfile wants to merge 5 commits into
refactor/phase-3-admin-cli-boundariesfrom
refactor/phase-4-settings-controller
Open

♻️ Route settings commands through dedicated settings handler#253
Gudsfile wants to merge 5 commits into
refactor/phase-3-admin-cli-boundariesfrom
refactor/phase-4-settings-controller

Conversation

@Gudsfile
Copy link
Copy Markdown
Owner

@Gudsfile Gudsfile commented May 5, 2026

Closes #161

Summary

  • Extracts settings command dispatch into a dedicated _run_settings_command handler, separate from the generic _run_command
  • Settings commands now build only settings_service via build_settings_service, bypassing build_admin_services entirely: commands can execute even if the admin runtime fails to initialize

@Gudsfile Gudsfile self-assigned this May 5, 2026
@Gudsfile Gudsfile changed the title Refactor/phase 4 settings controller ♻️ Route settings commands through dedicated settings handler May 5, 2026
@Gudsfile Gudsfile closed this May 5, 2026
@Gudsfile Gudsfile reopened this May 5, 2026
@Gudsfile Gudsfile force-pushed the refactor/phase-3-admin-cli-boundaries branch 2 times, most recently from 1ad5b63 to 82f5b2d Compare May 7, 2026 16:21
@Gudsfile Gudsfile force-pushed the refactor/phase-4-settings-controller branch from a2ba362 to 2667dc6 Compare May 7, 2026 16:22
@Gudsfile Gudsfile force-pushed the refactor/phase-3-admin-cli-boundaries branch 2 times, most recently from 21eb5e2 to bf1e6fe Compare May 7, 2026 20:17
@Gudsfile Gudsfile force-pushed the refactor/phase-3-admin-cli-boundaries branch from 0072ccb to 33854da Compare May 7, 2026 21:53
@Gudsfile Gudsfile force-pushed the refactor/phase-4-settings-controller branch from 2667dc6 to d9ef311 Compare May 7, 2026 22:02
@Gudsfile Gudsfile force-pushed the refactor/phase-3-admin-cli-boundaries branch from ec69ef0 to 6d1af7b Compare May 7, 2026 22:44
@Gudsfile Gudsfile force-pushed the refactor/phase-4-settings-controller branch from d9ef311 to 2e9f15e Compare May 7, 2026 22:46
Gudsfile added 2 commits May 8, 2026 12:11
Move MissingOptionalDependencyError from jukebox/admin/errors.py to jukebox/shared/errors.py so all adapters (pn532, api, ui, admin) can raise a single structured error type
Absorb optional_extra_dependency_message into the class as an install_hint property and delete dependency_messages.py.
@Gudsfile Gudsfile force-pushed the refactor/phase-3-admin-cli-boundaries branch from 6d1af7b to 232695c Compare May 8, 2026 10:11
@Gudsfile Gudsfile force-pushed the refactor/phase-4-settings-controller branch from 2e9f15e to ff6bc8c Compare May 8, 2026 10:12
Settings commands now use build_settings_service directly instead of build_admin_services, avoiding unnecessary Sonos service instantiation.
_run_settings_command mirrors the library command pattern and allows settings queries to succeed even when the full admin runtime cannot resolve.
@Gudsfile Gudsfile force-pushed the refactor/phase-4-settings-controller branch from ff6bc8c to 484d589 Compare May 9, 2026 17:43
@Gudsfile Gudsfile marked this pull request as ready for review May 9, 2026 17:52
@msgerbush msgerbush force-pushed the refactor/phase-3-admin-cli-boundaries branch from 232695c to 37db220 Compare May 13, 2026 03:42
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.

2 participants