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
{{ message }}
Repository navigation
Commit f57fa9d
Browse filesBrowse the repository at this point in the historyBrowse files
feat(api): add POST /api/reload to restart a stream's sources
Adds an api/reload endpoint that stops a stream without unregistering it,
forcing sources to reconnect on the next consumer while preserving the
stream's configuration. Complements the existing Stream.Stop() fix.
Honors read-only mode, and returns 405/400/404 for wrong method, missing
src, and unknown stream respectively.
Also makes the streams tests hermetic: resetStreamsForTest and
registerProducerForTest snapshot and restore the package-level streams map
and handler registry, so tests no longer leak global state into each other.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments