ovis icon indicating copy to clipboard operation
ovis copied to clipboard

A join request should reach a trusted device even when it does not have that PC open

Open devswha opened this issue 1 week ago • 1 comments

A device that asks to join the account (the Join sheet's Ask to join) is heard only by a device of the account that has that PC open in Ovis at that moment: the PC sends its remote-pairings list to drive account members connected to it (server/dispatch.ts), and src/App.tsx draws the approval card from that event. A trusted phone with Ovis closed, or on another PC, gets nothing, and the request times out after 90 seconds.

Expected: the request reaches the account's trusted devices even when none has that PC open, as a notification that opens the approval card (the number pick stays).

Today the join sheet says so plainly ("Open {name} in Ovis on a device you already use…", #4259).

devswha avatar Nov 19 '26 17:11 devswha

Triage on origin/main df6bd8ab7d: still as described. A waiting join reaches only an open event stream of that PC (server/machine-pairing-events.ts) or the PC's own window; the only pairing push is "New device paired" after admission (server/push.ts devicePaired), public/sw.js and the push relay have no join handling, and the 90 s deadline is unchanged (PAIR_APPROVAL_MS). Closing this needs a new push kind for a waiting join (a payload without digits or keys, whose tap opens that PC's approval card), so it is a design/contract change left for the maintainer, not a small fix.

devswha avatar Nov 28 '26 10:11 devswha