Repository navigation
feat(net): enable pairing by computer name or IP - #2540
Merged
Merged
Conversation
10 tasks done
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.
Problem
Pair with IP is hidden in the desktop app because the bundled helper still speaks wire minor 3.
Change
The app bundles mousse-net 50936f5 (mousse-agent/mousse-net#65), which enables Pair with IP in both pairing dialogs. On the same LAN or Tailscale network, the host can read out a computer name or IP, port, and 12-character code. The other person types them in and the host taps Allow.
The app and helper still share the same 45 address examples. A minor 3 peer can still connect. A minor 2 peer shows Needs update.
Verification
cargo fmt --all --checkandcargo test --locked -p mousse-helper --test app_pair_ip --test app_relay_first --test app_both_ways --test app_version_refusals.node scripts/verify.mjs tests/netEngine/pairWithIp.test.ts tests/netEngine/directAddress.test.ts tests/netEngine/activeInvites.test.ts tests/netEngine/confirmedLink.test.ts tests/netEngine/versionRefusals.test.ts tests/netEngine/buildNetHelperSource.test.ts tests/netEngine/packagedNetHelper.test.ts tests/renderer/pairWithIpDialogs.test.ts tests/renderer/pairingLink.test.ts tests/renderer/engineDevicesSection.test.ts tests/renderer/computerUpdateWay.test.ts --typecheck all.ode scripts/build-net-helper.mjs --require and reported 50936f5+release as its source, with no test control.
Independent review found no blockers. No review fixes were needed.
Refs #2079