Files
pipelines/app/notes/browser-network-discovery.md
T

954 B

Browser discovery and machine names

Browser discovery uses the authenticated same-origin /api/discovery endpoint, which browses the hosting server's LAN. Native discovery still uses Bonjour. Malformed announcements cannot hide valid machines; failed/unsupported discovery is reported instead of being shown as an empty successful scan. Finite browser scans stop their progress indicator when the reply arrives.

Add server now includes discovery, prefills an editable machine name/address, and saves only after explicit review. Onboarding likewise reviews and persists the discovered name before probing/signing in. Root wires saveServerProfile.

Verification: 34 focused discovery/onboarding/saved-server tests passed, including name editing, no premature connection, browser errors/duplicates/default ports, and native discovery regressions. Browser captures follow after fixture build; this note does not yet claim rendered or deployed evidence.