From fcc9d6eb4ffc54a654a797e1def6e5ddbb8e9a33 Mon Sep 17 00:00:00 2001 From: Ivana Date: Mon, 4 Apr 2022 11:02:19 +0000 Subject: [PATCH] Update notes on testing --- notes-on-testing.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/notes-on-testing.md b/notes-on-testing.md index ff7fe18..880b5bc 100644 --- a/notes-on-testing.md +++ b/notes-on-testing.md @@ -11,5 +11,22 @@ - find out what needs to be tested re:Tor. +- to test what happens when different api versions are present in own and ocntact's mailbox or briar app... see discussion on MM,channel, today 4/4/22 + +"one possibility here, which i haven't fully thought through, is to use the existing client versioning mechanism to signal our support for mailbox versions. so api version 0.0 would be tied to mailbox properties client version 0.0, etc. api version 0.x would be backward compatible with 0.0, and 1.x would break compatibility with 0.x + +so by looking at the client versions received from each contact we could work out whether the contact would be able to communicate with our mailbox, and if the contact sent us properties (in one or more of the major versions we support, since each major client version has its own independent group for exchanging properties) we'd know that we could communicate with that mailbox using the major api version corresponding to the major client version and the minor api version corresponding to min(our minor client version, contact's minor client version) + +but all of this could also be done by including our own client and server api versions in our mailbox properties, or in a second type of update message exchanged by the mailbox properties client, and in that case it wouldn't be tied to the client version. which is maybe more sensible? + +12:31 PM + + + + + + +(by client and server api versions, i mean the versions our briar app can speak as a client, and the versions our mailbox app can speak as a server. we need to send both if we want a contact to know whether we'll be able to talk to their mailbox)" + [Back to Testing](https://code.briarproject.org/briar/briar/-/wikis/testing) \ No newline at end of file