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
[Notebook Migration] Refactor notebook-migration-service to be stateless #7390
notebook-migration-service keeps process-global state for the "current" Jupyter iframe: one request sets it and a later request reads it back. This has two problems. Within a single user, two browser tabs can race that shared state. Across users, the state cannot be shared safely, so it blocks running the service as a single global instance.
Make the service stateless so each response is computed from the request itself rather than from state left by a previous call.
Proposed Solution or Design
Remove the process-global iframe state and compute the Jupyter iframe reference per request. Backend tests are updated to cover the stateless behavior.
The change is backward compatible: a request that does not specify a notebook behaves exactly as it does today, so no frontend or deployment change is needed. This removes the multi-tab race on its own and is a self-contained backend change.
changed the title [-][Notebook Migration] Refactor notebook-migration-service to be global[/-][+][Notebook Migration] Refactor notebook-migration-service to be stateless[/+]on Aug 12, 2026
Activity
zyratlo commentedon Aug 7, 2026
/parent-issue #4301
[-][Notebook Migration] Refactor notebook-migration-service to be global[/-][+][Notebook Migration] Refactor notebook-migration-service to be stateless[/+]feat(notebook-migration-service): compute jupyter iframe url per requ…
feat(notebook-migration): resolve the Jupyter URL and token per user (a…