Page MenuHomePhabricator
Feed All Stories

Tue, Nov 19

angelika committed rCOMM6259cebd7864: [lib] Add staff-only alert when client attempts keyserver session recovery (authored by angelika).
[lib] Add staff-only alert when client attempts keyserver session recovery
Tue, Nov 19, 3:32 AM
angelika closed D13953: [lib] Add staff-only alert for when notifsSessionReassignmentPromise reassigns a notif session.
Tue, Nov 19, 3:32 AM
angelika committed rCOMMe39c5d31b44a: [lib] Add staff-only alert for when notifsSessionReassignmentPromise reassigns… (authored by angelika).
[lib] Add staff-only alert for when notifsSessionReassignmentPromise reassigns…
Tue, Nov 19, 3:32 AM
angelika closed D13950: [native] Make sure all virtual classes in C++ code base have virtual destructor.
Tue, Nov 19, 3:30 AM
angelika committed rCOMM7a608523bf85: [native] Make sure all virtual classes in C++ code base have virtual destructor (authored by angelika).
[native] Make sure all virtual classes in C++ code base have virtual destructor
Tue, Nov 19, 3:30 AM
angelika closed D13948: [native] Increase expansion button tap target in community side drawer.
Tue, Nov 19, 3:29 AM
angelika committed rCOMMd3f8dfe50344: [native] Increase expansion button tap target in community side drawer (authored by angelika).
[native] Increase expansion button tap target in community side drawer
Tue, Nov 19, 3:29 AM
angelika updated the diff for D13952: [keyserver] Log on keyserver when session recovery is attempted.

Review changes

Tue, Nov 19, 3:27 AM
angelika updated the diff for D13951: [keyserver] Log on keyserver when INITIAL_NOTIFICATIONS_ENCRYPTED_MESSAGE is sent to the client.

Review comments

Tue, Nov 19, 3:25 AM
kamil accepted D13952: [keyserver] Log on keyserver when session recovery is attempted.

Please check https://phab.comm.dev/D13951#389437 before landing

Tue, Nov 19, 1:51 AM
kamil accepted D13951: [keyserver] Log on keyserver when INITIAL_NOTIFICATIONS_ENCRYPTED_MESSAGE is sent to the client.

Just wondering, what do you think of this style?

const { userID, cookieID, sessionID } = viewer;
const data = { userID, cookieID, sessionID };
console.log(
  'Sending INITIAL_NOTIFICATIONS_ENCRYPTED_MESSAGE ' +
    JSON.stringify(data),
);

Could work both here and in D13952.

Tue, Nov 19, 1:49 AM
kamil resigned from D13946: [native] Update the QR login screen to mention the primary device.

There is some discussion about user-facing language so probably @ashoat should do the final review

Tue, Nov 19, 1:44 AM
kamil accepted D13907: [lib] Introduce a restore screen.
Tue, Nov 19, 1:33 AM
kamil accepted D13948: [native] Increase expansion button tap target in community side drawer.
Tue, Nov 19, 1:26 AM
kamil accepted D13961: [lib] Add staff-only alert when client attempts keyserver session recovery.
Tue, Nov 19, 1:25 AM
kamil accepted D13953: [lib] Add staff-only alert for when notifsSessionReassignmentPromise reassigns a notif session.
Tue, Nov 19, 1:24 AM
kamil added a comment to D13939: [lib] Consider thread infos in useUsersSupportThickThreads().

I guess a way to reframe what you're saying about useUsersSupportThickThreads is that userHasDeviceList doesn't match findUserIdentities in the case of an empty device list. We end up returning the correct answer anyways, since we check findUserIdentities as a fallback. But it would be better if we were able to get the right answer without having to query the identity service.

Tue, Nov 19, 1:19 AM

Mon, Nov 18

will requested review of D13962: [terraform] upgrade backup prod to 0.5.1.
Mon, Nov 18, 6:23 PM
ashoat accepted D13947: [keyserver] frog hello world example.
Mon, Nov 18, 6:22 PM
ashoat added a comment to D13951: [keyserver] Log on keyserver when INITIAL_NOTIFICATIONS_ENCRYPTED_MESSAGE is sent to the client.

Just wondering, what do you think of this style?

Mon, Nov 18, 6:13 PM
ashoat added a comment to D13939: [lib] Consider thread infos in useUsersSupportThickThreads().

I guess a way to reframe what you're saying about useUsersSupportThickThreads is that userHasDeviceList doesn't match findUserIdentities in the case of an empty device list. We end up returning the correct answer anyways, since we check findUserIdentities as a fallback. But it would be better if we were able to get the right answer without having to query the identity service.

Mon, Nov 18, 6:01 PM
angelika requested review of D13953: [lib] Add staff-only alert for when notifsSessionReassignmentPromise reassigns a notif session.
Mon, Nov 18, 12:10 PM
will updated the diff for D13947: [keyserver] frog hello world example.

use /* eslint-disable approach

Mon, Nov 18, 11:59 AM
will added inline comments to D13947: [keyserver] frog hello world example.
Mon, Nov 18, 11:57 AM
angelika requested review of D13961: [lib] Add staff-only alert when client attempts keyserver session recovery.
Mon, Nov 18, 7:59 AM
angelika requested review of D13952: [keyserver] Log on keyserver when session recovery is attempted.
Mon, Nov 18, 6:54 AM
angelika requested review of D13951: [keyserver] Log on keyserver when INITIAL_NOTIFICATIONS_ENCRYPTED_MESSAGE is sent to the client.
Mon, Nov 18, 5:50 AM
ashoat requested changes to D13940: [lib] Don't swallow errors in getUserIdentities() call.

Thanks @angelika. Some concerns:

Mon, Nov 18, 5:42 AM
will closed D13944: [terraform] create backup cloudwatch alarms.
Mon, Nov 18, 4:54 AM
will committed rCOMM9fe6ac4e8124: [terraform] create backup cloudwatch alarms (authored by will).
[terraform] create backup cloudwatch alarms
Mon, Nov 18, 4:54 AM
will closed D13945: [terraform] upgrade staging backup to 0.5.1.
Mon, Nov 18, 4:53 AM
will committed rCOMMb93d10333138: [terraform] upgrade staging backup to 0.5.1 (authored by will).
[terraform] upgrade staging backup to 0.5.1
Mon, Nov 18, 4:53 AM
angelika updated the diff for D13950: [native] Make sure all virtual classes in C++ code base have virtual destructor.

Review comments

Mon, Nov 18, 4:29 AM
angelika added a comment to D13940: [lib] Don't swallow errors in getUserIdentities() call.

I'm also a bit confused as to why this is necessary or what it accomplishes. I re-read through the Linear task but couldn't find anything. Could you explain why we want to stop swallowing errors here?

With swallowing errors in case findUserIdentities fails because for example there is no internet connection, a thin thread will be created.
Without swallowing errors an error message will be shown to the user and no thread is created.

Mon, Nov 18, 3:58 AM
kamil added a comment to D13939: [lib] Consider thread infos in useUsersSupportThickThreads().

Hmmm... I know I initially proposed doing both D13938 and this, but after reading D13938 I wonder if we need this additional mechanism.

@kamil, do you know if it's possible for the user to see a thick thread in the UI if one of the members doesn't pass the userHasDeviceList check? Specifically in this case, I'm wondering about a PERSONAL thread, like in @tomek's original report in ENG-9509. It seems to me that the thread creation message would have had to come in from an established Olm session, so I would expect that userHasDeviceList would always be true, and the check in D13938 would suffice.

Mon, Nov 18, 2:23 AM
kamil accepted D13938: [lib] Use useUsersSupportThickThreads() (with auxUserInfos) in useUpdateRelationships().
Mon, Nov 18, 1:57 AM
kamil accepted D13950: [native] Make sure all virtual classes in C++ code base have virtual destructor.
Mon, Nov 18, 1:20 AM

Sat, Nov 16

bartek accepted D13944: [terraform] create backup cloudwatch alarms.
Sat, Nov 16, 1:31 AM

Fri, Nov 15

varun accepted D13945: [terraform] upgrade staging backup to 0.5.1.
Fri, Nov 15, 4:17 PM
varun closed D13949: [keyserver][lib] change thread info validators -> thin raw thread info validators.
Fri, Nov 15, 4:16 PM
varun committed rCOMM5e90e9617847: [keyserver][lib] change thread info validators -> thin raw thread info… (authored by varun).
[keyserver][lib] change thread info validators -> thin raw thread info…
Fri, Nov 15, 4:16 PM
ashoat accepted D13949: [keyserver][lib] change thread info validators -> thin raw thread info validators.

I went through each of these on my own and I think it's safe

Fri, Nov 15, 2:05 PM
ashoat requested changes to D13947: [keyserver] frog hello world example.

Back to you with question

Fri, Nov 15, 2:03 PM
ashoat added inline comments to D13947: [keyserver] frog hello world example.
Fri, Nov 15, 2:02 PM
will requested review of D13947: [keyserver] frog hello world example.
Fri, Nov 15, 1:56 PM
angelika requested review of D13950: [native] Make sure all virtual classes in C++ code base have virtual destructor.
Fri, Nov 15, 1:52 PM
varun published D13949: [keyserver][lib] change thread info validators -> thin raw thread info validators for review.
Fri, Nov 15, 12:52 PM
angelika requested review of D13948: [native] Increase expansion button tap target in community side drawer.
Fri, Nov 15, 12:40 PM
Harbormaster failed remote builds in B32686: Diff 45849 for D13927: [keyserver] Have @babel/preset-react use automatic runtime!
Fri, Nov 15, 11:19 AM
will updated the diff for D13927: [keyserver] Have @babel/preset-react use automatic runtime.

move react.automatic line

Fri, Nov 15, 11:15 AM
tomek requested review of D13946: [native] Update the QR login screen to mention the primary device.
Fri, Nov 15, 10:55 AM
Harbormaster failed remote builds in B32685: Diff 45848 for D13927: [keyserver] Have @babel/preset-react use automatic runtime!
Fri, Nov 15, 10:52 AM
will updated the diff for D13927: [keyserver] Have @babel/preset-react use automatic runtime.

avoid flow errors with react.runtime option to automatic

Fri, Nov 15, 10:45 AM
Harbormaster failed remote builds in B32684: Diff 45847 for D13906: [native] Introduce a restore button!
Fri, Nov 15, 10:42 AM
ashoat accepted D13906: [native] Introduce a restore button.

On the web, we don't support the restoration flow, so I don't think it makes sense to introduce the link to the restore flow.

Fri, Nov 15, 10:40 AM
tomek updated the diff for D13906: [native] Introduce a restore button.

Update the copy

Fri, Nov 15, 10:36 AM
tomek updated the diff for D13906: [native] Introduce a restore button.

Squash

Fri, Nov 15, 10:35 AM
Harbormaster failed remote builds in B32680: Diff 45842 for D13945: [terraform] upgrade staging backup to 0.5.1!
Fri, Nov 15, 10:35 AM
tomek added inline comments to D13906: [native] Introduce a restore button.
Fri, Nov 15, 10:34 AM
ashoat requested changes to D13852: [keyserver] new fetchPrivilegedThreadInfos function.

Don't love that we're artifically inserting a permission that doesn't exist. Is it truly necessary?

Fri, Nov 15, 10:31 AM
tomek retitled D13906: [native] Introduce a restore button from [lib] Introduce a restore button to [native] Introduce a restore button.
Fri, Nov 15, 10:27 AM
tomek added a comment to D13906: [native] Introduce a restore button.
  1. If the QR code screen is opened on mobile, then we should say "logged-in phone" or "primary device" instead of just "phone" in the QR code prompt.

I'll create a separate diff for it

https://phab.comm.dev/D13946

Fri, Nov 15, 10:26 AM
ashoat closed D13925: [landing] Add Rahul to landing page.
Fri, Nov 15, 10:25 AM
ashoat committed rCOMM7960f46f08e0: [landing] Add Rahul to landing page (authored by ashoat).
[landing] Add Rahul to landing page
Fri, Nov 15, 10:25 AM
Harbormaster failed remote builds in B32681: Diff 45843 for D13852: [keyserver] new fetchPrivilegedThreadInfos function!
Fri, Nov 15, 10:25 AM
ashoat added a comment to D13906: [native] Introduce a restore button.

Looks great!

Fri, Nov 15, 10:23 AM
will published D13945: [terraform] upgrade staging backup to 0.5.1 for review.
Fri, Nov 15, 10:22 AM
varun updated the diff for D13852: [keyserver] new fetchPrivilegedThreadInfos function.

make param read only

Fri, Nov 15, 10:19 AM
varun updated the diff for D13852: [keyserver] new fetchPrivilegedThreadInfos function.

new approach without using script viewer

Fri, Nov 15, 10:17 AM
tomek updated the diff for D13907: [lib] Introduce a restore screen.

Rebase

Fri, Nov 15, 9:58 AM
will closed D13943: [terraform] break up alarms into separate terraform files.
Fri, Nov 15, 9:53 AM
will committed rCOMMefe9bf6b507d: [terraform] break up alarms into separate terraform files (authored by will).
[terraform] break up alarms into separate terraform files
Fri, Nov 15, 9:53 AM
will closed D13942: [backup] add errorType to error logs in backup.
Fri, Nov 15, 9:53 AM
will committed rCOMM3d2db7642854: [backup] add errorType to error logs in backup (authored by will).
[backup] add errorType to error logs in backup
Fri, Nov 15, 9:53 AM
will closed D13941: [backup/terraform] use json logs in backup if COMM_SERVICES_USE_JSON_LOGS variable set to true.
Fri, Nov 15, 9:53 AM
will committed rCOMM2425be101b79: [backup/terraform] use json logs in backup if COMM_SERVICES_USE_JSON_LOGS… (authored by will).
[backup/terraform] use json logs in backup if COMM_SERVICES_USE_JSON_LOGS…
Fri, Nov 15, 9:52 AM
varun abandoned D13853: [keyserver] add know_of permission if viewer.isScriptViewer.

changing approach

Fri, Nov 15, 9:51 AM
varun added a comment to D13851: [keyserver] fetchThreadInfos -> fetchAccessibleThreadInfos.

decided not to rename. will instead call my new function fetchPrivilegedThreadInfos

Fri, Nov 15, 9:50 AM
varun abandoned D13851: [keyserver] fetchThreadInfos -> fetchAccessibleThreadInfos.
Fri, Nov 15, 9:50 AM
tomek updated the summary of D13906: [native] Introduce a restore button.
Fri, Nov 15, 9:42 AM
tomek updated the diff for D13906: [native] Introduce a restore button.

Update the UI. Navigating from the QR screen to the restore flow will be added later in the stack.

Fri, Nov 15, 9:41 AM
tomek added a comment to D13906: [native] Introduce a restore button.

To be honest, I think it looks okay without the underline. What do you think?

Agree, it is clear enough that this is a link

Fri, Nov 15, 9:32 AM
will updated the test plan for D13944: [terraform] create backup cloudwatch alarms.
Fri, Nov 15, 8:52 AM
will added a comment to D13944: [terraform] create backup cloudwatch alarms.
Fri, Nov 15, 8:51 AM
varun accepted D13944: [terraform] create backup cloudwatch alarms.

can you please make sure that Linear creates issues when these alarms fire?

Fri, Nov 15, 8:43 AM
kamil published D13937: [native_rust_library] update creating backup to return `backupID` for review.
Fri, Nov 15, 2:27 AM
kamil published D13936: [CommCoreModule] cleanup methods for creating backup for review.
Fri, Nov 15, 2:26 AM
kamil published D13935: [native] implement creating User Keys backup for review.
Fri, Nov 15, 2:26 AM
kamil published D13934: [CommCoreModule] implement creating User Keys backup for review.
Fri, Nov 15, 2:25 AM
kamil published D13933: [CommCoreModule] remove capturing logs for review.
Fri, Nov 15, 2:25 AM
kamil published D13932: [backup-client][native_rust_library] refactor uploading files to not ignore User Keys for review.
Fri, Nov 15, 2:23 AM
kamil published D13931: [backup-client][native_rust_library] implement creating User Keys backup for review.
Fri, Nov 15, 2:22 AM
kamil published D13930: [backup-client][native_rust_library] update backup client to run cleanup on any failure for review.
Fri, Nov 15, 2:21 AM
kamil published D13929: [backup-client][native_rust_library] update file cleanup to ignore missing files for review.
Fri, Nov 15, 2:20 AM
kamil published D13928: [backup-client] avoid adding `attachments` when uploading User Keys for review.
Fri, Nov 15, 2:20 AM
bartek accepted D13942: [backup] add errorType to error logs in backup.
Fri, Nov 15, 2:18 AM
kamil accepted D13942: [backup] add errorType to error logs in backup.

LGTM but @bartek should review this too

Fri, Nov 15, 2:17 AM
bartek accepted D13942: [backup] add errorType to error logs in backup.
Fri, Nov 15, 2:16 AM
bartek accepted D13943: [terraform] break up alarms into separate terraform files.
Fri, Nov 15, 1:05 AM
bartek accepted D13941: [backup/terraform] use json logs in backup if COMM_SERVICES_USE_JSON_LOGS variable set to true.
Fri, Nov 15, 1:04 AM