fix: prefill invitation socket address from API server #69
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/c6a4b291-invitation-address"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Invitation export opens with the inviting installation’s socket address derived from the signed-in API server. HTTPS becomes WSS and HTTP becomes WS, preserving the host and port and using
/api/agent-connections/socket. The field stays editable for an address the peer can reach.Settings → Agent connections → Export invitation → prefilled address → edit if needed → Create invitation fileEvidence
Merge danger
Door: two-way. Reverting restores the blank default; no storage, authentication or exposure change.
Blast radius: app.
Rollback and verification
Owner self-review of
8c237d6against main57a858b8.Standards: 0 findings. Reviewed app instructions, module/barrel conventions and smell baseline in parallel; focused lint/types/dependency/format checks pass.
Spec: 0 findings. Default derives from signed-in api.server, maps HTTP(S) to WS(S), uses the existing socket route and preserves editable export address. Phone/desktop Settings acceptance: 4/4 passed, including default, empty disabled state and manually edited JSON export. HTTPS production verification follows rollout; native device sharing remains recorded separately.
CI #477/#478 running; merge waits for green. No new authentication/exposure/storage changes. Rollback is revert/compatible v0.50.0, retaining migration037 and all records.