Skip to content

fix: notify daemon when recording is stopped remotely#641

Open
muneebneura wants to merge 1 commit into
mainfrom
fix/stop-recording-web
Open

fix: notify daemon when recording is stopped remotely#641
muneebneura wants to merge 1 commit into
mainfrom
fix/stop-recording-web

Conversation

@muneebneura
Copy link
Copy Markdown
Contributor

@muneebneura muneebneura commented May 22, 2026

When a recording is stopped from the web frontend, we were never draining data streams or notifying the data daemon, so recordings were never finalized or uploaded. The bug was introduced when the data daemon was updated to use a shared ring buffer transport that requires an explicit stop IPC with sequence number cutoffs in this pr: NCP-695

Bugfixes

  • Fixed by registering a remote stop handler on connect that drains streams and notifies the daemon the same way the local stop path does, but is only triggered by the SSE stop event.
  • Added a test for this remote path which checks if drain happend after the sse

Items

@muneebneura muneebneura added the version:patch non-breaking bug fixes; no input/output changes (except defaults) label May 22, 2026
@muneebneura muneebneura force-pushed the fix/stop-recording-web branch from 8de6d20 to 1097bc0 Compare May 22, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

version:patch non-breaking bug fixes; no input/output changes (except defaults)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant