Skip to content

Conversation

@omgate234
Copy link
Contributor

Pull Request

Description:
This PR handles the session reconnection update from VideoDB Director

Previous experience

  • When the frontend used to connection to the backend via the socketio connection, socketio used to assign a unique internal Session ID, which helps backend track which client to send the message
  • Problem: If the client reloads the page, closes the tab accidentally, loses connection, or simply checks the currently running agent invocation on a different device, the user will not be able to see the live updates. This is crucial for long running tasks

Changes:

  • Adds join_session message handling and requests to allow joining a message room which maintains the conversation between FE and BE

Related Issues:

Testing:

Checklist:

  • Code follows project coding standards
  • Tests have been added or updated
  • Code Review
  • Manual test after merge
  • All checks passed

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.

1 participant