Repository navigation
Conversation
…s a signed list Add this PC to my account in the PC's own window only ever did the old listing and one press, so on an account with a signed list the PC posted no keys and no card, the phone's row offered no Add, and the window waited with no end. It now asks the PC to start its add by the list first, as `ovis add` does: after the listing the PC is named the account, then POST /api/account/list/add. - `no_list` (or 403/404/405: a PC that follows no list, a window that is not its own) goes on to the one press exactly as before. - A running add keeps the usual wait, with the add's run kept in the tab's wait mark; the number and its confirm come from the own-window prompt (#4644). The wait reads the add by its run: an add that ended says why and ends the wait, one whose ten minutes ran out is started again while the 30-minute wait runs, and Stop waiting cancels it by its run. - 503 account_unavailable says the account service could not be reached and tries no one press; account_mismatch, list_removed and other ends have their own sentences (ko/ja/zh added). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ccount adds it
ovis add printed its one-press step ("2/2 Press Add on a device of your account / Open Ovis on your
phone or another PC and press Add for <PC>") as its wait began, before the PC's first answer to
POST /api/account/list/add said whether the account keeps a signed list. That answer waits for the
PC's round trips to the account service, one after another (whether the account keeps a list, its
card, the device's first message), so on a list account the person read for seconds a step that
would add nothing, then the list line.
The wait now begins with the listing and "Asking your account how it adds this PC…"; step 2 comes
with the PC's answer: "Compare a number with a device of your account" with the list's reason
where the account keeps a list, the one-press step where it keeps none. ovis join, which knows its
way from its invite, says what it said before.
Co-Authored-By: Claude Opus <[email protected]>
…ice shows it The device that adds a PC from its add screen (AddPcSheet) shows an input for the PC's number, not digits of its own, so "Approve it only if its screen shows 941 190" read as the opposite direction. A request taken under the PC's own add screen (local_only in GET /api/relay/pairings) is now asked as the PC's own window already asks it: type the number on that device, or check that it shows the same number, then type its last three here. Other requests are asked as before. Co-Authored-By: Claude Opus <[email protected]>
…ld its invite A redeem the account service refuses with 409 invite_not_in_list (the account's signed list holds no open invite of that key: revoked, used, run out, or a line made before the account had its list) printed "The account service did not take this PC (invite_not_in_list)". It is now invite_invalid (exit 3), the error an agent already reads as "ask for a new invite", with words of its own. Co-Authored-By: Claude Opus <[email protected]>
…a PC numbers the device apart (F6, red) A device presses Not me on a PC's notice for the account's fourth device, in an account with no list on the migrate switch. The PC numbers its own admissions (admit_no), so its notice says 5; the block claims target_no 5 and the account service refuses it 403 unknown_target, while the PC takes it. Red: the page shows the account's refusal. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…cks (F6) A PC's admit notice carries the PC's own admission number (admit_no), which counts every device that PC ever let in. The account service holds a block's target_no to its own number of the key and refused the block (403 unknown_target) whenever the two ran apart, so a PC that was off never got the block and the device's sign-in stayed. The press now asks the account service for the target's number (GET /v1/devices, five seconds) and signs that. Who may sign is unchanged (canBlockAdmission), the PCs still judge by their own order, and a lookup that fails or names nothing signs as before, with the notice's number. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…approve After a join by an invite that names the account's list, the PC said "If your phone asks for six digits when you open <PC>, run ovis approve on this PC", and at a terminal asked for them. Such a PC signs nobody into the list (ovis approve answers not_signer), so it now says to allow the device on another device of the account, and watches for no first join (PressWords.allowsNobody, set by ovis join when the line names the list). Co-Authored-By: Claude Opus <[email protected]>
… and make Ask again ask A page that opens a PC of the account by the device's registered key, refused outright by the PC (a bare auth_failed: it holds no row for that key, as for a key the account service does not count yet, such as a sign-in without two-step), read the refusal as a removal: "This device was removed from <PC>". It now goes to the PC's join sheet, as a press on a new PC's sheet already did, unless this device held a session with that PC under the account before (its own record of its PCs); only then is it told it was removed. Ask again on that line sent the front page's launch, which opened the same PC by the same key and came back to the same line, so no join was ever sent. It now asks that PC to let the device join at once, as a launch does (joinAtOnce, shared with the launch). The join a launch asked, refused by the PC before anybody was asked (pair-unavailable: a PC in no account yet, one paused after too many tries), drew "Not allowed. Ask again, then press [Allow]", though nobody declined it. It now says "<PC> cannot take this device yet", the card's own words. Co-Authored-By: Claude Opus <[email protected]>
…pointed to another device A PC that joined its account's signed list by an invite signs nobody into the list. Approved at that PC (its window, ovis approve), a join with the device's card ended with the generic cause list_refused, and the device said only "<PC> could not add it. Ask to join again.", with nothing about where it can be approved. The PC now names that cause (list_not_signer), and the device says "<PC> cannot add this device itself: it joined your account by an invite, so it lets nobody into your account's list itself. Ask to join again, and approve it on another device of your account." (en, ko, ja, zh). What the PC lets in does not change; only the refusal's word. Co-Authored-By: Claude Opus <[email protected]>
…ot its id start The card a member approves a new device on said "Through 57011c1f · joins your 6 PCs": it named the PC by this device's pairing with it, and by the start of its id where there is none, which is every PC a device opens through its account or its signed list. The account's own name for the PC, which the same effect already read to count the PCs, now comes before the id. Co-Authored-By: Claude Opus <[email protected]>
…ndow's is too old Adding a PC over SSH from a PC's own window lists and admits it with the window's sign-in. One more than PC_ADD_FRESH_MS old, with no registered key to prove it by, is refused (session_not_fresh), and the dialog offered "Sign in again" only after that refusal: the account's PCs, the listing and the admission were each asked first, under "Adding it to your account…" (about two minutes in the signed-list staging QA). AccountService.addAsksSignIn tells that case from the sign-in itself, and the add asks for the fresh sign-in before it sends anything. A sign-in whose age is not known goes on as before, and the service still decides. Co-Authored-By: Claude Opus <[email protected]>
… good A final refusal of a Not me block was not logged at all, so the staging QA saw a bare 403. The device's log now names the refusal's code (unknown_target, signer_not_older, ...). Co-Authored-By: Claude Opus 5.5 <[email protected]>
… list (F6) Pins what the staging QA asked: a block the account service refused for good stays in unsent_blocks marked refused and its target in own_blocks, the birth goes at once and leaves the blocked key out. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…, and a repeating plan never asks again (F9, red) Staging F9: the phone sat in the app of the PC it paired with; the shell opened that session before the device waited on its PCs, so onPcSession asked nothing, and the background asker runs only on the shell's front page and only when the list view changes. The PC was never asked, and the move never started. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ls for them A PC pinned to its account's signed list made its account rows for the list's devices with the placeholder label "Device" (listCommit, LIST_DEVICE_LABEL) and no system, so its Devices list showed each as "Device · Browser". The names are sealed in the list's entries under the epoch key, which a PC is given a wrap of when a member adds it (and which it already uses to seal names it writes). ListFollow now opens, once per entry and in its own turn, the name the list sealed for each of its devices with the epoch key it holds (epochKey, quietly: a service that does not answer leaves the rows unnamed and sets no error), and writes the rows again when one opened. listCommit takes those names; AccountDevices.commit replaces only the "Device" placeholder of a row, never a name a person gave it at the PC. An entry it cannot open keeps "Device". Names decide nothing: whom the PC lets in is still the list's alone, and no name leaves the PC that did not before. Co-Authored-By: Claude Opus <[email protected]>
…n a PC's app too, and again on a clock (F9) The background asker ran only on the shell's front page (view.active) and only when the list view changed. A device sitting in the app of the PC it paired with, whose session opened before the device waited on its PCs, therefore never asked that PC, and a plan that came out the same every round (`no_witness`, `too_new` on an answer heard earlier) never asked again: the move never started. It now runs whatever the shell shows, and on a timer while the device waits on its PCs: after the re-ask gap, or after the wait the plan told where that is longer, and not while the page is hidden. Each PC is still asked at most once per gap. The QA twin's factor turns the gap down with its other waits, to 30 seconds at the least. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d bound the naming From CodeRabbit's review of #4692: - An add the wait started again while Stop waiting ran is given up when it answers, unless a newer listing or a kept wait goes on with it (the same rule as a given-up press). - Stop waiting gives up the run the tab keeps for the same wait (another copy may have started it again), and the copy's own run only where the tab keeps none. - The naming of the account before the add gets NAMING_MS (10 s); without an answer the add is asked for all the same, so a PC that never answers it holds neither the add nor the one press. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…count's list The invite section of Add PC > Ovis relay was drawn only where the page was the Mac app's (`OvisMac/` in the user agent) and held the account's list. No shipped app has both: the Mac app and the Electron app show the PC's own page, which never mounts the hosted shell or holds a page list, and the phone apps and the hosted app hold a list but are not the Mac app. So no invite could be made for `ovis join`. - AccountRelayPanel now draws InvitePc wherever the page holds the account's list. InvitePc keeps its own rule and draws nothing for a device that may not write the list. The switch and its warning line are unchanged. - A PC's own page (Mac and desktop apps, a browser on the PC's address), signed in to the account whose signed list the PC follows, says in Add a connection > Ovis relay where an invite is made. The PC itself signs no invites. - docs/account-list.md "Invites" says where the section is; a changelog fragment. This widens where an invite can be made (any device that may already write the list); it changes nothing about what an invite can do or who may write the list. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… internal_error A relay session nobody ended, whose channel closed under it (a device's check whether the PC is on, which completes the handshake and goes, once a minute while My PCs is up; the app reloaded or was put away; the network went), was logged relay.session.closed with reason internal_error: the code the mux stands in with when its carrier is lost (MuxEngine.carrierLost). It read as a failure of the PC's own, and in the signed-list QA it was taken for one. The session now notes that its channel closed and logs carrier_lost; internal_error is left to a session the PC itself could not go on with (its sign-in work threw). Nothing else changes: what the device is sent, and what it shows, are as before. Co-Authored-By: Claude Opus <[email protected]>
On a PC in an account that follows no signed list, a sign-in by a key it holds no row for starts a read of the account and waits for it 5 seconds at most, and such a read starts at most once a minute. A read slower than that (or one that could not start) left the key unknown, and it was refused (auth_failed) until the PC's next read, up to about two minutes: a device the account had just let in was told on its first open that it was removed. The PC now notes when such a key first asked (AccountMailbox.askedFirst, bounded) and when the last whole read began (readBegan). While no read that began after that ask has finished, a client that knows the account codes is answered held/catching_up, which it already waits on and asks again after; it gets in only by the row a read brings. It stays auth_failed for every other client, once a read that began after the key first asked finished without it, and on a PC in no account. Nothing else changes: the same 5 s wait, the same pacing of reads. What the PC answers changes; whom it lets in does not. Co-Authored-By: Claude Opus <[email protected]>
…relay's word Through a PC's page, the account's other PCs take their state from that PC's own probe of each (POST /api/machines/relay/account/check, vouchedSupport), which answered offline for every failure that was not the PC's WELCOME: the relay unreachable from that PC or turning it away, a PC that began and did not finish, any error of the probe. The page drew all of them "Switched off", and a page whose check call failed did too. In the signed-list staging QA three PCs that ran read so. vouchedSupport now answers offline only for RelayPcOfflineError (the relay assigned the connection and no PC answered in time), and unreachable for anything else; a failed check call is unreachable too. The page draws unreachable "Can't reach the PC" (an existing string). The PC serves its own page, so the two always match. An Add of an unreachable PC is refused as an offline one was. Co-Authored-By: Claude Opus <[email protected]>
…ng before the directory is read (F9, red) The list's first round on a page runs inside refresh(), before the directory and the sign-in's key are set, so a PC the device also paired with is asked over the pairing, which a PC answers 403 account_required, and is then not asked again for the gap. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…, and runs when it is read (F9) The list's first round on a page runs inside refresh(), before the sign-in's directory is read. A PC the device also paired with was then asked over the pairing, which a PC answers 403 account_required (the witness is for its account's sessions alone), and was not asked again for the gap. While this sign-in's directory read is under way the ask now waits, and refresh() asks once the read has ended. With no read under way (it failed) a saved pairing is still the way, as before. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e account; the service only from the one that registered its key (red) A block kept by one sign-in and sent by a later sign-in of the same account (S32-1) is refused 403 signer_not_member by the account service (ownSigner: the key's row must be this sign-in's). The fake took it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ign-in that registered its key As the service's ownSigner does, and before the freeze check, as there: a key another sign-in registered (registerSessionKey) signs nothing on this one, a record kept already included. A key registerDevice made, which no sign-in registered, stands for the posting sign-in's, so the tests that need no sign-in of their own keep working. One contract test posted its block with a fresh token; it now posts with the sign-in that registered the phone's key. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…not to block again from this device The account service's refusal of a block is final: the same device signs the same claims again. The line now says a PC that was off may still let that device in, and to block it from an older device or use Sign out every device. English, Korean, Japanese and Chinese; both places it is shown. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ays to update that app On a PC pinned to its account's signed list, an app that knows no join into a list (an Ovis older than 0.5.10: it offers no account-list-allow-1, so it brings no card) can still ask to join. ovis approve took its digits and said "<device> is let in; it opens this PC in a moment.", then the PC closed that device auth_failed (no list entry lets it in), and the old app said nobody approved it. The session now marks such a join (list_unknown, in GET /api/relay/joins): a join into the account, on a pinned PC, from a client that did not offer account-list-allow-1. ovis approve, and ovis add's wait for a first device, ask nothing for it and say that this PC lets devices in by its signed list, that the device asked without its part of it as an Ovis older than 0.5.10 does, and to update Ovis there and ask again. Nothing is approved for it. What the PC lets in does not change. The PC's own window does not say "let in" for it (it only closes its card), so it is left as it is. Co-Authored-By: Claude Opus <[email protected]>
…only to update Ovis In Manage account, a PC the account names that its signed list does not hold yet, and that posted no keys for the list, read "Not in your account's list yet · Update Ovis on this PC". A PC that runs a build with lists posts its keys only once it is added from itself, so the same words stood on a PC of the same build that was simply not added yet (the Mac in the signed-list staging QA, and a PC the list had put out). The row now says both cases: "Add it from that PC (ovis add, or Add this PC to my account there); update an Ovis older than 0.5.10 first" (en, ko, ja, zh). Co-Authored-By: Claude Opus <[email protected]>
Manage account offered Remove only for a PC that reads as off: on an account with no list a PC in use lists itself again on its next pull, so removing it would not last. A PC the account's signed list holds does not come back by itself once its removal is in the list, and the only way to take a running one out was the "Not me" notice of its first day, which signs the same removal. Such a PC (by_list) now has Remove whether it is on or off, through the same confirm and the same fresh sign-in; the confirm says in plain words that it leaves the list on every device, that a device paired with it itself still opens it, and that it comes back only as a new PC, added again on it (en, ko, ja, zh). An account with no list is unchanged. This offers a removal this device could already sign; it changes no rule of who may write the list. Co-Authored-By: Claude Opus <[email protected]>
…hen no read can come, and lasts 3 minutes From the independent review of the catching_up answer for a key this PC has not read: - F1: it was given only to an id with no row, so an unauthenticated peer could tell an id with a row (a bad proof: auth_failed) from one without (catching_up), against the rule that a refusal tells nobody which ids have a row. An id with a row and a proof that does not hold now waits the same way, and is refused once a read has begun after it first asked. A bad proof never gets in. - F2: it was given for ever where no read can succeed (the account service off or not a URL, the waiting records unreadable). It is given only while a read can come, as readComing() reasons, and for 3 minutes from the id's FIRST ask at most: past them the key is refused as before, and stays so until a read brings its row or the 10-minute memory of it runs out. - N1: a full memory (512 ids) no longer drops the oldest: only ids the memory let go of make room, and a new id past that is answered as before. - N2: the comment on readBegan says what a pull that ended with no error stands for. - N4: tests with a real 503 for a failed read, the unstarted read asserted, a known id with a bad proof, the service off, the 3 minutes, the flood, and the PC in no account, pinned or failing closed. Co-Authored-By: Claude Opus <[email protected]>
From CodeRabbit's review of #4723 (T7): a copy of the screen whose own run was older (another copy had started the add by the list again) wrote that older run back to the tab when it listed the PC anew, so Stop waiting then gave up the old run and left the new one running. The relist now keeps the run the tab holds for the same wait, and this copy follows it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…an told (#4723 review T9) The told wait held only for the asker's timer: on the front page each refresh (every minute) asks too, and its filter let a PC be asked again at the ten-minute gap although the plan said fifteen. The wait is now part of the due filter itself (toldMs), so every path keeps it; the first ask stays immediate. Test first (red without it): a front page refreshing every minute asks again only after the told 900 s. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…o fix/list-qa-fixes-1
…den page (#4713 review M2 red, M3) M2 (red): a sign-out leaves the asker's clock running, so it can ask the old account's PCs over saved pairings until the list's view says the sign-in is gone. M3: a dispose stops the clock; a hidden page asks nothing, and a page shown again asks at once. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… M2) invalidate() (sign-out, a removal, another sign-in's read) now stops the asker's clock, and the asker and its clock act only for a signed-in page: the list may still show the move until it reads that the sign-in is gone, and meanwhile nothing goes to the old account's PCs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… the list where the PC takes it (F10, red) The shell opens a PC the device is paired with by that pairing, and a PC takes a naming only over a session signed in with a key it let in through the account; the one account-way session came before the birth. Red: nothing names the list over the account way after the move. Pinned: a PC with no way through the account is named nothing over its pairing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e account to PCs it is paired with (F10) After its move the asker names the list to each PC the device knows by its own record that has not said it follows the list: over a session it opens through the account with this sign-in's key, the one way a PC takes a naming (docs/account-list.md, "Naming the list to a PC"), never over a pairing; each PC once per gap, on the asker's clock, until its witness says it follows the list. The naming is signed before any session opens, so a list this device may not name opens none. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…wait and stops where no wait helps (naming review L1) A PC that never said it follows the list was named again every gap for as long as the page was up, because the naming's answer was ignored. nameListTo now reads it. A refusal with a wait is named again only once that wait is over. One no wait changes (named_here, first_signer_removed or _unknown, lists_full, removed, session_unknown, not_member, other_list, stopped, ...), a PC that follows another list, or one that answers no witness, is named nothing more in this run of the page. first_signer_new and session_new carry a wait and are named again after it. Tests first (red without it): the final refusals, a wait longer than the gap, a PC pinned to another list. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…fix/list-qa-fixes-1
…no route or no account ends the naming (naming review closure) askWitness gave null for any answer that was not OK or a throw, and the naming then stopped for the run, so a PC's 503 witness_unavailable as it starts, its 429 or a carrier lost on the way left the list unnamed until a reload: F10 again. witnessOf now says "final" only for a 404 (an Ovis without the route) or a 403 account_required; anything else is asked again on the gap. session_unknown is no longer final (it turns into session_new with a wait), and a PC that answers the naming that it follows a list is done with. Tests first (red without it): 503, 429 and a lost carrier are named on the next gap; a 404 and a 403 account_required are named nothing more. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…fix/list-qa-fixes-1
CodeRabbit on #4723 (T4). A join from an app that knows no join into a signed list is marked list_unknown on a pinned PC, and `ovis approve` skips it, but the PC's own window still offered Allow (a first join) or the number field, and decideOwn / decideTyped resolved it as approved, which wrote a pairing that opens nothing. decideOwn (an Allow) and decideTyped now answer list_unknown and leave the join waiting; a decline still ends it. POST /api/relay/join answers 409 list_unknown. The own window shows such a join with the words the terminal says (update Ovis on that device, then ask again) and no Allow or number field, in four languages. Co-Authored-By: Claude Opus 5.5 <[email protected]>
CodeRabbit on #4723 (T1). nameAt returned a name it opened as a plain string beside the string "failed" it returns when the account service could not be asked, so a device the list names "failed" was taken for a service failure: its row stayed "Device" and every later round asked again. A name it opened now comes as { label }. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nknown key CodeRabbit on #4723 (T2). When a pull read the mailbox but the account's snapshot page failed, readSnapshot answered committed: false without throwing, so the pull's error stayed null and it moved the read marker on. An unknown key that asked before that pull was then refused auth_failed, though no read of the account's rows had happened. readSnapshotNow now says whether the rows were read whole: a committed snapshot, nothing to read, or a service that reads none by its own word (step2_off). Only such a pull moves the marker. Tests: a failed snapshot page keeps the key waiting until a whole read; step2_off still refuses at once; and the read a sign-in starts in the millisecond it first asked refuses it (the strict compare stays: see the reply to T3). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tory CodeRabbit on #4723 (T5). Manage account draws a PC's row as the list's (by_list) only while this device follows its account's list. When the list stopped being followed before Remove was pressed, the press found no list row, and the removal fell back to the account service's directory: the PC left the account's PCs and stayed in the list, which the confirm had said it leaves on every device. A removal asked on a row drawn as the list's now goes by the list or not at all: with no list row at the press it removes nothing and fails with ListPcRemovalError("not_following"), whose words say the list cannot be used on this device right now and to try again (4 languages). Rows the list does not hold keep the directory path. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Deploying ovis with
|
| Latest commit: |
3ab5876
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://a3133a5f.ovis.pages.dev |
| Branch Preview URL: | https://fix-list-qa-fixes-1.ovis.pages.dev |
Independent review of the branch added after the first head (
|
|
Closed in favour of #4735. That pull request is this branch plus the second set of the staging QA's fixes, so everything here is in it (the nine review threads here are answered and resolved; their fixes are in #4735 too). Two pull requests of this size could not both keep up with |
## Summary All the fixes the staging QA of the signed member list (release 0.5.10) asked for, in one pull request to spare the self-hosted runners. It holds everything of #4723 (the first combined pull request, closed into this one; its description and comments list the twelve branches of the first set, their reviews and CodeRabbit's nine findings there), four more branches from the QA's second round (the table below), and the fixes for CodeRabbit's review of this pull request (next section). The only hand edit of the merges keeps both new entries where two branches added a line at the same place in `src/lib/i18n/devices.{ja,ko,zh}.ts`. | Branch | What it fixes | Reviewed by | |---|---|---| | `fix/own-window-list-add-2` | QA failure B5, second part. The PC's own window started the add by the list (#4692) but left the old pairing window open and rang devices with the old join card, whose Allow ended in the old directory admission with the PC **not** in the list. Now the window closes what its listing opened once the list add runs and opens nothing while it waits, a wait begun by the list never falls back to the old way, and on an account that keeps a list a device's join card and My PCs' row open the number card (number, confirm at the PC, Add), never the PC's page. A third run on the real Mac app showed the number prompt hidden behind the window's own open dialog (so the number ran out), and that a PC whose page is hidden never took the device's entry: the number and **The numbers match** are now drawn in the wait's own place inside the dialog, and the PC steps its running add by itself every 3 s | independent reviewer: one finding (a restart answered `no_list` reopened the old window), fixed, closure check passed; the last two commits (the PC's own timer, the number in the dialog) are being read now and the result is added as a comment | | `fix/moved-account-pc` | QA failure F17. A PC carried into the list when its account was moved holds no key of its own, so it cannot allow a device. It said "joined by an invite", `ovis add` on it stopped at "already in an account", and no app offered an Add for it. Now it says what it is (`needs_keys`), `ovis add` and the PC's own window start the list add for its keys, and a device that may write the list is offered the Add with the number once the PC has posted. Also F18's words: a device the list holds that a PC keeps out because of a block there hears that (`list_held_here`) instead of "not added to your account" | independent reviewer: one finding (`ovis add` said Done for a keys add whose entry never came), fixed, closure check passed | | `fix/account-pc-check-words` | The check of another PC of the account cannot know that a PC is off (its "offline" is its own timer), so the row no longer says "Switched off": it says the PC cannot be reached and may be off; the check waits 15 s as a device does | the lead | | `fix/account-pc-row` (was #4722) | The row for another PC of the account said "check that it is in your account, then try again" for a refusal that is the documented rule (a PC lets another PC in only on Allow by a device paired with it; the same in v0.5.9); it now says that, in four languages, and a stale "Sign in again" clears when the page is signed in again | the lead | ## CodeRabbit's review of this pull request (head e1b3402) Twelve findings, all real. Eleven are fixed, one commit per finding, each with a test (all but one shown failing first). One (the same-millisecond tie between a read and an unread key's first ask) was fixed and then **reverted**: its fix made a key the PC had just read as removed wait where two contract tests expect its refusal at once, and the follow-up locked out a key the account had let in after the PC's last read (the independent reviewer's probe). The tie is one millisecond wide and lets nobody in; it is on the follow-up list. Each thread carries its answer and is resolved. | Branch | Findings fixed | |---|---| | `fix/qa2-cr-1` | A decline of an older app's join that is not a first join now ends it (Allow and typed digits still approve nothing). A member's approval of such a join from another device is refused before the digits are compared (409 `list_unknown`; a decline still works), and the member's card says to update Ovis on that device. Read by the independent reviewer: both closed, nothing new; the approval refusal removes a way in. (The third fix of this branch, the read/ask order, is reverted: see above) | | `fix/qa2-cr-2` | A list add's step binds nothing once the server stopped. An Allow selection is tied to the account it was made under. My PCs keeps "unread" as a state of its own: until the signed-in account's list is read, an account PC's row opens no page of its own, and a tap reads the list first | | `fix/qa2-cr-3` | The asker's run checks after each wait that it is still the run that stands | | `fix/qa2-cr-4` | `ovis add` says Done for a keys add only for the run's own account and a list that no longer says `needs_keys`. The own window carries `needsKeys` through every membership read. The keys start is guarded against a second press. The sidebar admits under the sign-in stored now (a lost one shows "Sign in again" and is retried once signed in). Posted PCs are classified on the list read after the posts come back | Also added after that head: the last step of QA failure F17 (the number card is keyed by the post's value, so a second Add or a re-read keeps a number the PC confirmed), and device names on a pinned PC whose wrap arrives after the first try (asked again after the next read of the log, at most once a minute; names only). ## What changes for who can open a PC Nothing lets a key in that was refused before. `fix/moved-account-pc` opens a way for a PC that is already in the account's list (carried in by a move, with no key of its own) to get its own key in the list: the entry is signed only by a device that may already write the list, after the number shown on that device and on the PC was compared, exactly as for any PC added to a list; the independent reviewer checked that a device with less than full power, a removed device, a device of another account or the PC by itself cannot do it, and that the new `ovis add` mode runs only on such a PC. `fix/own-window-list-add-2` removes a way in (the old directory admission for a PC of a list account). ## Validation - Each branch was checked on its own (the typecheck, the convention tests and its touched test files, one file per process), with tests written first; the two reviewed branches carry the reviewer's probes as tests. - On the final merged head (with main merged in): the typecheck (clean) and every touched or related test file, one file per process, with the convention, i18n and changelog tests (30 files, 1,246 tests, 0 failures; the list contract files among them; after the revert the typecheck and the two contract files CI had failed, with `unknown-key-signin.contract` and `pairing-approvals`, again). `bun run check fast` and the browser batteries were not run locally; CI runs them here. - The staging QA passed all six of its failures on real devices on builds of these same branches (the last, F17, on this head's content without the names commit). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Summary
The fixes that the staging QA of the signed member list (release 0.5.10) asked for, in one pull request. Each was opened, checked and reviewed as a pull request of its own; they are merged together here because twelve separate CI runs and twelve merges, each waiting for Fast checks on a new base, had filled the self-hosted runners for every session. This branch is
origin/mainwith those branches merged in, nothing else: the only hand edit is keeping both new entries where two of them added a line at the same place insrc/lib/i18n/devices.{ja,ko,zh}.ts.ovis adddoes (QA failure B5)unknown_target) where a PC numbers its admissions apart from the account: the block claims the account's number (QA failure F6; old, same in v0.5.9)catching_up, 3 minutes at most, never where no read can come) instead of being refused;carrier_lostfor a carrier that went away; another PC reads "Switched off" only on the relay's own wordovis addsays what to press only once the PC said how its account adds it; the--approveprompt;invite_not_in_listin words; noovis approvehint on a PC that joined by an inviteovis approveapproves nothing for a join that a PC pinned to its list cannot open (an Ovis older than 0.5.10) and says to update that appaccount_unreachableafter 8 s (to apps that can hear it) instead of a silent 30 s and "Machine offline"; older apps and PC-to-PC joins wait as beforefix/move-name-account-way)Each of those pull requests carries its own description, tests and review; they are closed in favour of this one.
CodeRabbit reviewed this pull request at its first head and left nine findings: eight are fixed here with a test that failed first (the PC's own window no longer approves a join it cannot open; Stop waiting cancels the list add that actually runs; a restart of the add checks which PC answers; a list-held PC is removed by the list or not at all; a snapshot read that did not commit does not end the wait of an unread key; an opened name is told apart from a failed lookup; a disposed page asks no PC; the wait a PC told is kept on every path), and one is answered in its thread (a read that begins in the millisecond of the ask reads after it).
What changes for who can open a PC
Nothing lets a key in that was refused before. The two changes that touch what a PC answers at sign-in (#4712:
catching_upfor a key it has not read yet; #4716: no approval for a join it cannot open) admit nobody new, and an independent reviewer tried both paths of #4712, and the one way #4714 could have let a removed key keep a session a little longer (a late read of a removal) is closed and pinned by a test. #4717 offers a removal the device could already sign. #4711 widens where an invite can be made, to devices that may already write the list.Validation
bun run check fast), with tests written first for each fix.bun run check fast, the contract tests (the integration suite) and the browser batteries were not run locally (the PC that carries the CI runners was saturated); CI runs them here.🤖 Generated with Claude Code