feat(notebook-cloud): Add-workstation pairing flow in the workstations panel#6
Closed
quillaid wants to merge 3 commits into
Closed
feat(notebook-cloud): Add-workstation pairing flow in the workstations panel#6quillaid wants to merge 3 commits into
quillaid wants to merge 3 commits into
Conversation
…s panel The panel mints a pairing code and shows the copy-paste connect one-liner with a live countdown; the card follows the pairing through redeemed and registered as the agent connects, and offers a fresh code on expiry.
…ationManager Renders the real hook with the workstations client mocked: mint success and failure, the 2s poll through redeemed/registered with registry refresh and terminal shutdown, in-flight abort on unmount, the client-driven expiry flip, and display-name resolution from the registry.
Owner
Author
|
Promoted to nteract#3610 after nteract#3609 merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The product face of the pairing contract in nteract#3609: an Add workstation flow in the workstations rail panel.
runt workstation connect https://preview.runt.run --code XXXX-XXXX-XXXX && runt workstation run— with a live
Code expires in m:sscountdown and a copy button.GET /api/workstations/pairing-codes/:idevery 2s and refreshing the workstation list on registration. Expiry flips client-side (no poll-boundary dependence) and offers "Generate a new code".Stack
Base:
ws-pairing-worker(nteract#3609). Intra-fork PR; promote tonteract:mainafter nteract#3609 merges. Therunt workstationCLI that the one-liner invokes is the next PR in the train.Tests
4 new panel tests (entry point, pending card + countdown, redeemed→registered + Done, expiry + regenerate) and 3 new client tests (mint/status round-trip with auth headers, error surfacing, one-liner construction). 13 + 7 green.