♻️ Route settings commands through dedicated settings handler#253
Open
Gudsfile wants to merge 5 commits into
Open
♻️ Route settings commands through dedicated settings handler#253Gudsfile wants to merge 5 commits into
Gudsfile wants to merge 5 commits into
Conversation
1ad5b63 to
82f5b2d
Compare
a2ba362 to
2667dc6
Compare
21eb5e2 to
bf1e6fe
Compare
…) raised by _raise_optional_extra_error
0072ccb to
33854da
Compare
2667dc6 to
d9ef311
Compare
ec69ef0 to
6d1af7b
Compare
d9ef311 to
2e9f15e
Compare
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.
6d1af7b to
232695c
Compare
2e9f15e to
ff6bc8c
Compare
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.
ff6bc8c to
484d589
Compare
232695c to
37db220
Compare
msgerbush
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #161
Summary
_run_settings_commandhandler, separate from the generic_run_commandsettings_serviceviabuild_settings_service, bypassingbuild_admin_servicesentirely: commands can execute even if the admin runtime fails to initialize