You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: sidebar settings panel 503s forever when webhook access is disabled (#1806)
* fix: keep the sidebar settings panel working when webhook access is disabled (#1803)
The panel proxy reads its loopback target from the webhook forwarding
config, which was only created when the remote-webhook option was on --
with it off the proxy returned 503 forever even though the server was
running. Store the forwarding config whenever the server starts and gate
only the public webhook endpoint (and ha_auth surface) on the option.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix: address review findings on the webhook-disabled forwarding path
- clear any leftover webhook registration even in local-only mode (off
means off after a crashed unload); runs before the session opens so it
cannot leak
- pin the producer->consumer seam: the panel proxy forwards using a cfg
stored by async_register_webhook(register_endpoint=False)
- assert the stored session identity and the skipped endpoint in the
ha_auth local-only test
- tighten the _active_resource_server and ui_panel docstrings for the
decoupled forwarding config
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: kingpanther13 <kingpanther13@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
0 commit comments