Page MenuHomePhorge
Feed All Stories

Sep 26 2023

ashoat published D9297: [lib] Fix memoization of useSearchSidebars for review.
Sep 26 2023, 6:06 PM
atul added a comment to D9294: Introduce Brotli compression for keyserver -> client socket messages.
In D9294#273227, @atul wrote:
  1. Further, instead of "rolling our own" compressMessage, could we use the WebSocket per message-deflate extension? (https://datatracker.ietf.org/doc/html/rfc7692). Seems like it can seamlessly be integrated w/ ws: https://github.com/websockets/ws#websocket-compression. This leverages the Node/zlib library mentioned above out of the box.
Sep 26 2023, 5:17 PM
atul requested changes to D9293: Add brotli.js library.

Can we leverage Brotli compression/decompression functionality that's built into Node/Zlib instead of introducing a new dependency?

Sep 26 2023, 5:10 PM
atul added a comment to D9294: Introduce Brotli compression for keyserver -> client socket messages.

Example of using built-in Node functionality

Sep 26 2023, 5:06 PM
atul added inline comments to D9294: Introduce Brotli compression for keyserver -> client socket messages.
Sep 26 2023, 5:06 PM
atul accepted D9294: Introduce Brotli compression for keyserver -> client socket messages.

Accepting to unblock, however, would be good to get thoughts on the following:

Sep 26 2023, 4:55 PM
tomek accepted D9295: [keyserver] validate policies only for logged in users.

Is it valid to require policy acceptance only when a user is logged in? When a user isn't logged in, we don't allow them to do much, but I'm wondering, if from the legal perspective, we should require them to agree to something.

Sep 26 2023, 2:53 PM
tomek accepted D8910: [native] Show chats in mention typeahead tooltip.
Sep 26 2023, 2:50 PM
kamil published D9295: [keyserver] validate policies only for logged in users for review.
Sep 26 2023, 11:20 AM
tomek requested review of D9296: [lib] Move user infos update reducer into specs.
Sep 26 2023, 11:09 AM
michal requested changes to D9217: [lib] Add logic for handling faonut actions.

I just realized a problem with approach: we don't want to send all of the input to all of the keyservers. For example in D9240, in fetchSingleMostRecentMessagesFromThreads we want to send each keyserver only the ids that it "owns". Otherwise we could expose private date to other keyservers. We need some logic to split a single request into multiple request, one for each keyserver.

Sep 26 2023, 10:20 AM
michal requested changes to D9240: [lib][web][native] Refactor actions in message-actions.js.

Requesting changes because I have a few smaller comments

Sep 26 2023, 10:15 AM
kamil accepted D9290: [keyserver] Stop sending http cookies.
Sep 26 2023, 9:59 AM
kamil accepted D9288: [web] Use redux cookie for communication.
Sep 26 2023, 9:33 AM
kamil accepted D9287: [web] Migrate cookies to redux.
Sep 26 2023, 9:30 AM
michal added inline comments to D9282: [reports-service] Obtain service-to-service token for anonymous requests.
Sep 26 2023, 9:16 AM
kamil accepted D9266: [lib/keyserver] Make Info generic mandatory in state sync specs.
Sep 26 2023, 9:09 AM
kamil added a comment to D9294: Introduce Brotli compression for keyserver -> client socket messages.

I was testing compression while trying to reduce report sizes, but I used different packages ENG-3890 and failed to find something working well on reports, this one seems promising, especially on native we use only decompression which is less CPU consuming than compression, but you can you somehow test this with large payloads to make sure it will not kill the app performance for the time of decompressing?

Sep 26 2023, 9:06 AM
michal accepted D9281: [blob][reports] Provide identity service endpoint.
Sep 26 2023, 9:00 AM
michal accepted D9280: [services-lib] Introduce AuthService for token verification.
Sep 26 2023, 8:44 AM
michal accepted D9279: [services-lib] Add fn to verify services token.
Sep 26 2023, 8:41 AM
michal added a comment to D9291: [keyserver] Stop accepting http cookies.

Yeah, the electron clients are bit bigger problem... There is a task for the reload prompt: ENG-961 but it wasn't prioritized. For this task I guess we could just leave this diff on phab for some time to let clients migrate? For the desktop app we could even make a "dummy" release to force a reload but not sure if that's worth it.

Sep 26 2023, 8:25 AM

Sep 25 2023

ashoat added a reviewer for D9294: Introduce Brotli compression for keyserver -> client socket messages: bartek.
Sep 25 2023, 10:09 PM
ashoat closed D9284: Rename React Native patchfile to reflect upgrade.
Sep 25 2023, 9:03 PM
ashoat committed rCOMMa8e0ba4637ed: Rename React Native patchfile to reflect upgrade.
Sep 25 2023, 9:03 PM
ashoat planned changes to D9292: [lib] Only consider children of GENESIS when proposing existing chats.

This actually breaks threadInfoFromSourceMessageIDSelector... I'll need to make the change up the stack

Sep 25 2023, 8:56 PM
ashoat requested review of D9294: Introduce Brotli compression for keyserver -> client socket messages.
Sep 25 2023, 8:54 PM
ashoat requested review of D9293: Add brotli.js library.
Sep 25 2023, 8:54 PM
varun closed D8929: [keyserver] modify createPickledOlmSession.
Sep 25 2023, 8:44 PM
varun committed rCOMM14fd52f4f194: [keyserver] modify createPickledOlmSession.
Sep 25 2023, 8:44 PM
varun accepted D9276: [terraform] Add services token secret.

nice!

Sep 25 2023, 8:29 PM
atul closed D9262: [lib] Add `ThreadActivityStore` to Redux.
Sep 25 2023, 8:10 PM
atul committed rCOMM246557e54623: [lib] Add `ThreadActivityStore` to Redux.
Sep 25 2023, 8:10 PM
atul updated the diff for D9262: [lib] Add `ThreadActivityStore` to Redux.

rebase and land

Sep 25 2023, 7:55 PM
varun closed D9270: [native] update password client method and CommRustModule implementation.
Sep 25 2023, 7:41 PM
varun committed rCOMMd81b7f7ca955: [native] update password client method and CommRustModule implementation.
Sep 25 2023, 7:41 PM
varun closed D9269: [native] helper functions for resolving JS promises with void.
Sep 25 2023, 7:41 PM
varun committed rCOMM6a8c6944f897: [native] helper functions for resolving JS promises with void.
Sep 25 2023, 7:41 PM
varun accepted D9279: [services-lib] Add fn to verify services token.

how often are we rotating the token?

Sep 25 2023, 7:34 PM
varun updated the diff for D9269: [native] helper functions for resolving JS promises with void.

simplify logic

Sep 25 2023, 7:28 PM
atul accepted D9284: Rename React Native patchfile to reflect upgrade.

So I actually tried to include this in D9227: https://phab.comm.dev/D9227?vs=on&id=31269#toc, but there was some additional stuff that got included when I ran patch package (figured that was safer than just renaming file)

Sep 25 2023, 6:27 PM
bartek requested review of D9279: [services-lib] Add fn to verify services token.
Sep 25 2023, 6:26 PM
varun requested changes to D9279: [services-lib] Add fn to verify services token.
Sep 25 2023, 6:08 PM
ashoat requested review of D9292: [lib] Only consider children of GENESIS when proposing existing chats.
Sep 25 2023, 5:39 PM
rohan closed D9249: [lib] Extend RobotextParams to include parentThreadInfo.
Sep 25 2023, 4:22 PM
rohan committed rCOMMfea32d38e995: [lib] Extend RobotextParams to include parentThreadInfo.
Sep 25 2023, 4:22 PM
Harbormaster failed remote builds in B22836: Diff 31407 for D9249: [lib] Extend RobotextParams to include parentThreadInfo!
Sep 25 2023, 4:11 PM
ashoat accepted D9249: [lib] Extend RobotextParams to include parentThreadInfo.
Sep 25 2023, 4:04 PM
rohan updated the diff for D9249: [lib] Extend RobotextParams to include parentThreadInfo.

Update type imports

Sep 25 2023, 4:02 PM
rohan planned changes to D9249: [lib] Extend RobotextParams to include parentThreadInfo.
Sep 25 2023, 4:01 PM
rohan updated the diff for D9249: [lib] Extend RobotextParams to include parentThreadInfo.

Simplify logic in chat-selectors.js and add parentThreadInfo to NotificationTextsParam

Sep 25 2023, 3:59 PM
ashoat requested changes to D9249: [lib] Extend RobotextParams to include parentThreadInfo.

Thanks, this looks super close!!

Sep 25 2023, 3:33 PM
ashoat added a comment to D9291: [keyserver] Stop accepting http cookies.

Note: that means that web clients will need to reload to run the cookie migration.

Sep 25 2023, 3:24 PM
michal requested review of D9291: [keyserver] Stop accepting http cookies.
Sep 25 2023, 2:55 PM
michal requested review of D9290: [keyserver] Stop sending http cookies.
Sep 25 2023, 2:52 PM
ginsu requested review of D9289: [native] make user profile accessible from message author avatar.
Sep 25 2023, 2:38 PM
michal requested review of D9288: [web] Use redux cookie for communication.
Sep 25 2023, 2:37 PM
bartek accepted D9270: [native] update password client method and CommRustModule implementation.
Sep 25 2023, 2:29 PM
bartek accepted D9159: [web] Use blobServiceUpload upload action.
Sep 25 2023, 2:28 PM
rohan updated the diff for D9249: [lib] Extend RobotextParams to include parentThreadInfo.
  1. Renamed parseSourceMessageIDFromPendingThreadID to parseSourceMessageIDFromPendingSidebarID
  2. Update the check in change-role-message-spec.js (I’d rather not throw an invariant here since we cover the unexpected case of roleName just simply being undefined in constructChangeRoleEntityText
  3. Pass in parentThreadInfo to robotextForMessageInfo from getMessageTitle
  4. Pass in parentThreadInfo to robotextForMessageInfo from notifRobotextForMessageInfo. Drill it from sendPushNotif —> notifTextsForMessageInfo —> fullNotifTextsForMessageInfo —> messageSpec.notificationTexts —> notifRobotextForMessageInfo
Sep 25 2023, 2:24 PM
michal requested review of D9287: [web] Migrate cookies to redux.
Sep 25 2023, 2:22 PM
ginsu requested review of D9286: [native] make user profiles accessible from RelationshipListItem.
Sep 25 2023, 2:22 PM
ginsu requested review of D9285: [native] simplify RelationshipListItem jsx.
Sep 25 2023, 1:56 PM
bartek published D9282: [reports-service] Obtain service-to-service token for anonymous requests for review.
Sep 25 2023, 1:40 PM
bartek published D9281: [blob][reports] Provide identity service endpoint for review.
Sep 25 2023, 1:40 PM
bartek published D9280: [services-lib] Introduce AuthService for token verification for review.
Sep 25 2023, 1:40 PM
ashoat closed D9278: [lib] Get rid of innerNotificationTexts.
Sep 25 2023, 1:39 PM
ashoat committed rCOMM37bd416fcf05: [lib] Get rid of innerNotificationTexts.
Sep 25 2023, 1:39 PM
ashoat updated the test plan for D9284: Rename React Native patchfile to reflect upgrade.
Sep 25 2023, 1:38 PM
rohan accepted D9095: [native] Block editing messages on search and pinned messages screens, and of the first message in a thread.
Sep 25 2023, 1:35 PM
rohan accepted D9278: [lib] Get rid of innerNotificationTexts.
Sep 25 2023, 1:34 PM
ashoat requested review of D9284: Rename React Native patchfile to reflect upgrade.
Sep 25 2023, 1:25 PM
michal accepted D9277: [services-lib] Reorganize auth module.
Sep 25 2023, 1:23 PM
michal accepted D9275: [services-lib] Let blob client use services token.
Sep 25 2023, 1:22 PM
ashoat added a comment to D9219: [native] Bump `react-native` to `0.70.9`.

That one is trivial to fix... here you go: D9284

Sep 25 2023, 1:08 PM
michal added a comment to D9219: [native] Bump `react-native` to `0.70.9`.

Hey, I run yarn cleaninstall and got a warning:

Warning: patch-package detected a patch file version mismatch
Sep 25 2023, 1:04 PM
bartek published D9279: [services-lib] Add fn to verify services token for review.
Sep 25 2023, 12:58 PM
bartek published D9277: [services-lib] Reorganize auth module for review.
Sep 25 2023, 12:58 PM
ashoat requested review of D9278: [lib] Get rid of innerNotificationTexts.
Sep 25 2023, 12:58 PM
bartek added inline comments to D9275: [services-lib] Let blob client use services token.
Sep 25 2023, 12:58 PM
bartek published D9276: [terraform] Add services token secret for review.
Sep 25 2023, 12:57 PM
bartek published D9275: [services-lib] Let blob client use services token for review.
Sep 25 2023, 12:56 PM
ashoat added inline comments to D9249: [lib] Extend RobotextParams to include parentThreadInfo.
Sep 25 2023, 12:46 PM
ashoat added a comment to D9249: [lib] Extend RobotextParams to include parentThreadInfo.

One quick note: my original idea in ENG-4981 was to "extend RobotextParams to include a sidebar parent's ThreadInfo". In this case you appear to have extended it to include all threads' parents' ThreadInfo, which I think is probably better. I thought about whether we could save some work by reducing scope to my original proposal, but probably not. But if you think of something let me know.

Sep 25 2023, 12:45 PM
kamil accepted D9268: [lib] Move current user updates logic into a spec.
Sep 25 2023, 12:35 PM
ashoat requested changes to D9249: [lib] Extend RobotextParams to include parentThreadInfo.

It's generally an expectation that if you put a diff back on a reviewer's queue, you have addressed that reviewer's comments. If you haven't, you should at least attempt to explain why you're putting the diff back in that reviewer's queue (maybe you have a question?). Otherwise you should hit the "Plan Changes" button to keep it away from reviewers' queues until you've addressed all of the comments.

Sep 25 2023, 12:21 PM
ashoat added a comment to D9005: [lib] Introduce chat mention utilities for plain text.

Don't forget to add a comment to ENG-2199 before landing!

Sep 25 2023, 11:52 AM
kamil accepted D9257: [lib] Move entries updates logic into a spec.
Sep 25 2023, 9:31 AM
kamil added a comment to D9257: [lib] Move entries updates logic into a spec.

Not a fan of keeping the solution with mutating input, but accepting this since fixing this is not a part of this work. Maybe we can at least create a task to improve this?

Sep 25 2023, 9:31 AM
kamil accepted D9245: [lib] Create thread store ops from updates in a spec.
Sep 25 2023, 9:20 AM
kamil accepted D9244: [lib] Create empty specs for update types.
Sep 25 2023, 8:56 AM
kamil accepted D9269: [native] helper functions for resolving JS promises with void.
Sep 25 2023, 8:52 AM
ginsu requested review of D9274: [native] make bottomsheet snap point dynamic.
Sep 25 2023, 7:01 AM
ginsu attached a referenced file: F772625: Screenshot 2023-09-25 at 2.35.25 AM.png.
Sep 25 2023, 6:57 AM
ginsu updated the summary of D9272: [native] introduce BottomSheetProvider.
Sep 25 2023, 6:57 AM
ginsu requested review of D9273: [native] factor out UserProfileRelationshipButton condtionals.
Sep 25 2023, 6:57 AM
ginsu requested review of D9272: [native] introduce BottomSheetProvider.
Sep 25 2023, 6:47 AM

Sep 24 2023

bartek added inline comments to D9243: [services-lib] Support auth token in HTTP middleware.
Sep 24 2023, 8:54 AM
bartek added inline comments to D9241: [services-lib] Add enum for authorization tokens.
Sep 24 2023, 8:50 AM
bartek accepted D9152: [native] Use expo-file-system uploads.
Sep 24 2023, 8:42 AM