Context
When a user generates a permalink from fancy profiles launcher, sharing and opening that link is expected to take the recipient back to the launcher/options page with the same selection pre-filled.
This works as expected when the user has no server running. But when a server is already running, permalinks take users to the running server instead of the spawn options page, ignoring the config encoded in the permalink entirely.
Steps to reproduce
- Start a server with any default option.
- Once running, open a permalink generated for a different, custom image selection.
- Observe: instead of landing on the spawn options page with that custom image pre-selected, the user is redirected into their already-running server.
- Stopping the server first and then opening the same permalink works correctly, it lands on the spawn options page as expected.
This appears to be standard JupyterHub behavior rather than something specific to fancy-profiles: hitting hub/spawn while a server is already running redirects to that running server by default, unless the user explicitly navigates to /hub/home or uses a custom name for the server like /hub/spawn/<user>/<server-name>. Permalinks are getting caught by this same default redirect.
Proposal
One possible solution could be to make sure permalinks include a custom name (either auto-generated from the image and resource config used or user given) to bypass this limitation?
Updates and actions
No response
Context
When a user generates a permalink from fancy profiles launcher, sharing and opening that link is expected to take the recipient back to the launcher/options page with the same selection pre-filled.
This works as expected when the user has no server running. But when a server is already running, permalinks take users to the running server instead of the spawn options page, ignoring the config encoded in the permalink entirely.
Steps to reproduce
This appears to be standard JupyterHub behavior rather than something specific to fancy-profiles: hitting
hub/spawnwhile a server is already running redirects to that running server by default, unless the user explicitly navigates to/hub/homeor uses a custom name for the server like/hub/spawn/<user>/<server-name>. Permalinks are getting caught by this same default redirect.Proposal
One possible solution could be to make sure permalinks include a custom name (either auto-generated from the image and resource config used or user given) to bypass this limitation?
Updates and actions
No response