Skip to content

Name a paired server from its pairing link - #106

Merged
Tarquinen merged 1 commit into
devfrom
port-pairing-name
Nov 16, 2026
Merged

Tarquinen merged 1 commit into
devfrom
port-pairing-name

Conversation

@Tarquinen

Copy link
Copy Markdown
Member

Ports anomalyco/opencode-ios#343. A pairing link with name= didn't pair on Android: the deep-link parser rejects any parameter it doesn't know. Console plans to add name to its pairing links once the iOS build ships.

Now a pairing QR payload and deep link can carry an optional name, and it names the server instead of the device name the computer reports. A name the user gave the server still wins when pairing again. A repeated name and other unknown parameters are still rejected.

  • scripts/check.sh :server :app :feature:settings passes on the VM.
  • Three of the four ported PairingLinkNameTests fail with the parsing and redemption changes reverted.
  • Not tried on an emulator: session-lab has no pairing endpoint, so redemption is covered by the WireFixture test.

iOS's What's New entry for this isn't ported.

Ports iOS #343 (5ccc2db3). A pairing QR payload and deep link can carry
an optional `name`, which names the server instead of the device name
the computer reports. A name the user gave the server still wins when
pairing again.

Before this, a deep link with `name=` didn't pair at all: the parser
rejects any parameter it doesn't know. A repeated `name` and other
unknown parameters are still rejected.

Verified: scripts/check.sh :server :app :feature:settings on the VM.
Three of the four ported PairingLinkNameTests fail with the parsing and
redemption changes reverted.
@Tarquinen
Tarquinen merged commit 9f46038 into dev Nov 16, 2026
3 checks passed
@Tarquinen Tarquinen mentioned this pull request Nov 16, 2026

This branch was previously deployed

1 inactive deployment
release — 5e4b4219 Deployed Nov 16, 2026 by Tarquinen via check #359
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