Page MenuHomePhorge
Feed All Stories

Sep 20 2023

tomek accepted D8900: [lib] Add chat mention SearchIndex selector.

Is the performance concern pointed out by @tomek going to lead to additional React render cycles? If yes, we should prioritize addressing it. cc @atul

Sep 20 2023, 10:34 AM
michal accepted D9226: [lib] Update KeyserverCall type.

Nice!

Sep 20 2023, 10:28 AM
bartek accepted D9224: [native] commCoreModule methods for getting, setting, and clearing the commServicesAccessToken.

@kamil for changes related to data clearance. I didn't add him as a blocking reviewer since he might be absent for a longer time. But if he is back quickly I would appreciate his review on the data clearance.

Sep 20 2023, 10:23 AM
michal added a comment to D9225: [lib] Create function for extracing keyserver id from object id.

This does not handle pending threads (more precisely sidebars created from a message). It's might be fine depending on the use case but I it feel like it should have a code comment in that case. Also agree with @tomek comments.

Sep 20 2023, 10:17 AM
bartek accepted D9157: [lib] Add blobServiceUpload upload action.
Sep 20 2023, 10:15 AM
michal added a comment to D9217: [lib] Add logic for handling faonut actions.

Overall looks good but I have a question. In the test plan you write:

const searchMessagesActionObj: KeyserverCall<
  [SearchMessagesRequest],
  SearchMessagesResponse,
> = {
  actionFunc: searchMessages,
  config: { keyserverSelection: 'fanout' },
};

but shouldn't the return type be [SearchMessagesResponse] as it's a fanout action?

Sep 20 2023, 10:10 AM
michal accepted D9143: [lib] Add memoization to useKeyserverCall.
Sep 20 2023, 10:03 AM
bartek published D9243: [services-lib] Support auth token in HTTP middleware for review.
Sep 20 2023, 10:02 AM
bartek published D9242: [services-lib] Use constant-time-eq for token verification for review.
Sep 20 2023, 10:02 AM
bartek published D9241: [services-lib] Add enum for authorization tokens for review.
Sep 20 2023, 10:01 AM
tomek accepted D8897: [native] Refactor TypeaheadTooltip component.
Sep 20 2023, 10:00 AM
inka requested review of D9240: [lib][web][native] Refactor actions in message-actions.js.
Sep 20 2023, 9:41 AM
Restricted Repository Identity closed D9148: [web/keyserver] Handle different thread ids in url.
Sep 20 2023, 9:28 AM
Restricted Repository Identity closed D9147: [lib/web/native] Improve conversion utils.
Sep 20 2023, 9:28 AM
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM343bd71fd30c: [web/keyserver] Handle different thread ids in url.
Sep 20 2023, 9:28 AM
Restricted Repository Identity closed D9146: [keyserver] Remove unused params in validation functions.
Sep 20 2023, 9:28 AM
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM375b9a2daeff: [lib/web/native] Improve conversion utils.
Sep 20 2023, 9:28 AM
Restricted Repository Identity closed D9145: [web] Remove intial redux state from website responders.
Sep 20 2023, 9:28 AM
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMMaa7f66c5cd0f: [keyserver] Remove unused params in validation functions.
Sep 20 2023, 9:28 AM
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMMa5f187026876: [web] Remove intial redux state from website responders.
Sep 20 2023, 9:28 AM
Restricted Repository Identity closed D9141: [web] Use new intial redux state.
Sep 20 2023, 9:28 AM
Restricted Repository Identity closed D9140: [web] Add setInitialReduxState action.
Sep 20 2023, 9:28 AM
Restricted Repository Identity closed D9124: [keyserver] Implement `getInitialReduxStateResponder`.
Sep 20 2023, 9:28 AM
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM99b1b9cd5ba1: [web] Add setInitialReduxState action.
Sep 20 2023, 9:28 AM
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM227c0f38d084: [web] Use new intial redux state.
Sep 20 2023, 9:28 AM
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMMe1f05c7d2e87: [keyserver] Implement `getInitialReduxStateResponder`.
Sep 20 2023, 9:28 AM
Restricted Repository Identity closed D9122: [keyserver] Introduce getInitialReduxStateResponder.
Sep 20 2023, 9:28 AM
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM11d3d25c2b1f: [keyserver] Introduce getInitialReduxStateResponder.
Sep 20 2023, 9:28 AM
Restricted Repository Identity closed D9111: [keyserver] Remove old current user info.
Sep 20 2023, 9:28 AM
Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM9cb13605580b: [keyserver] Remove old current user info.
Sep 20 2023, 9:28 AM
patryk added a comment to D9005: [lib] Introduce chat mention utilities for plain text.

I'm no longer using entityTextToRawString since I only need to extract alternative text. Please take a look at the latest diff, 31258. Throughout the entire stack, I use the useResolvedThreadInfo hook. Also, I'm not handling ENS names in this stack; user mentions are handled as they were before. The only change was made in the search index -> however this change does affect mentioning in the input bar only. I can add a comment that the new search index needs to be refactored to support ENS names.

Sep 20 2023, 8:34 AM
rohan requested review of D9239: [keyserver] Prevent non-composable message types from being pinned on the keyserver.
Sep 20 2023, 6:21 AM
rohan requested review of D9238: [lib] Extract the unsupported sidebar source message types to one single source of truth.
Sep 20 2023, 6:18 AM
rohan requested review of D9237: [lib] Update useCanCreateSidebarFromMessage to prevent sidebar creation for unsupported message types.
Sep 20 2023, 6:17 AM
varun requested review of D9236: [keyserver] Update keyserver delete account endpoint to not require password.
Sep 20 2023, 4:23 AM
rohan accepted D9234: [keyserver] Skip early exit in deleteThread if ignorePermissions.
Sep 20 2023, 4:15 AM
varun updated the test plan for D9224: [native] commCoreModule methods for getting, setting, and clearing the commServicesAccessToken.
Sep 20 2023, 3:03 AM
varun added a comment to D9224: [native] commCoreModule methods for getting, setting, and clearing the commServicesAccessToken.

I ended up adding a new setCommServicesAuthMetadata method because we will set user id, device id, and access token all at once initially, but subsequently may need to update just the access token.
also changed getCommServicesAccessToken to getCommServicesAuthMetadata since we will need to retrieve all three at once

Sep 20 2023, 2:59 AM
varun updated the diff for D9224: [native] commCoreModule methods for getting, setting, and clearing the commServicesAccessToken.

address feedback

Sep 20 2023, 2:56 AM

Sep 19 2023

ginsu updated the diff for D9235: [lib] introduce createPendingPersonalThread function.

simplify

Sep 19 2023, 10:37 PM
ginsu updated the summary of D9235: [lib] introduce createPendingPersonalThread function.
Sep 19 2023, 10:30 PM
ashoat added a comment to D9235: [lib] introduce createPendingPersonalThread function.

No reviewers on this

Sep 19 2023, 10:29 PM
ginsu requested review of D9235: [lib] introduce createPendingPersonalThread function.
Sep 19 2023, 10:27 PM
ashoat added a comment to D9005: [lib] Introduce chat mention utilities for plain text.

Thought about this some more... I suspect you haven't given much thought to ENS names, and to properly handle it will need updates across the whole stack, from the search index, to the display of results, to the representation of the "markdown", to the final rendering of the tag.

Sep 19 2023, 10:24 PM
ashoat added reviewers for D9234: [keyserver] Skip early exit in deleteThread if ignorePermissions: rohan, inka.
Sep 19 2023, 10:20 PM
atul committed rCOMMebb529b9ae7b: Revert "[native] Temporary changes for staff release".
Sep 19 2023, 10:05 PM
atul committed rCOMM1393b9e9c983: [native] `codeVersion` -> 262.
Sep 19 2023, 10:05 PM
atul committed rCOMMbc628b9e3b8d: [native] Temporary changes for staff release.
Sep 19 2023, 10:05 PM
atul committed rCOMM208984aaf533: [native] `codeVersion` -> 261.
Sep 19 2023, 10:05 PM
atul committed rCOMMbb73b304a2e6: Bump webpki from 0.22.0 to 0.22.1 in /services/feature-flags (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
Sep 19 2023, 9:58 PM
atul committed rCOMMeb3e37ff76d6: Bump webpki from 0.22.0 to 0.22.1 in /services/backup (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
Sep 19 2023, 9:58 PM
atul committed rCOMM5b994dbc623d: Bump webpki from 0.22.0 to 0.22.1 in /services/comm-services-lib (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
Sep 19 2023, 9:58 PM
atul committed rCOMM88f1887d900f: Bump webpki from 0.22.0 to 0.22.1 in /services/blob (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
Sep 19 2023, 9:58 PM
atul committed rCOMM92f52ec682b5: Bump webpki from 0.22.0 to 0.22.1 in /services/tunnelbroker (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
Sep 19 2023, 9:57 PM
atul committed rCOMM50c9eb9535d9: Bump webpki from 0.22.0 to 0.22.1 in /services/reports (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
Sep 19 2023, 9:57 PM
atul committed rCOMMe52697f28480: Bump webpki from 0.22.0 to 0.22.1 in /services/commtest (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
Sep 19 2023, 9:56 PM
atul committed rCOMMd2f9770dca2b: Bump electron from 25.3.0 to 25.8.1 (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
Sep 19 2023, 9:56 PM
atul committed rCOMM55f60fee8c1a: Bump webpki from 0.22.0 to 0.22.1 in /services/identity (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
Sep 19 2023, 9:56 PM
atul committed rCOMMb2deff08ea76: Bump apollo-server-core from 3.11.1 to 3.12.1 (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
Sep 19 2023, 9:55 PM
atul committed rCOMMcbe88c3eecd2: Bump rustls-webpki from 0.101.3 to 0.101.4 in /services/identity (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
Sep 19 2023, 9:55 PM
atul committed rCOMM2d17a1619894: Bump activesupport from 6.1.7.3 to 6.1.7.6 in /native (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
Sep 19 2023, 9:54 PM
atul committed rCOMM3796da87658b: Bump rustls-webpki in /keyserver/addons/rust-node-addon (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
Sep 19 2023, 9:54 PM
atul committed rCOMMe3acc63103fd: Bump rustls-webpki from 0.101.3 to 0.101.4 in /shared/grpc_clients (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
Sep 19 2023, 9:54 PM
atul committed rCOMMacd5e89c8ec8: Bump rustls-webpki from 0.100.1 to 0.100.2 in /services/tunnelbroker (authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>).
Sep 19 2023, 9:53 PM
ashoat requested review of D9234: [keyserver] Skip early exit in deleteThread if ignorePermissions.
Sep 19 2023, 9:49 PM
atul closed D9228: [iOS] Set `_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION` flag to unblock iOS build.
Sep 19 2023, 9:43 PM
atul committed rCOMMf30690b547dd: [iOS] Set `_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION` flag to unblock….
Sep 19 2023, 9:43 PM
atul updated the diff for D9228: [iOS] Set `_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION` flag to unblock iOS build.

rebase and land

Sep 19 2023, 9:35 PM
ashoat accepted D9233: [iOS] Add `withEnableSampleProfiling(true)` to `makeRuntimeConfig`.

Okay, please make sure that upstream React Native does this on all builds too before landing!

Sep 19 2023, 8:50 PM
atul added a comment to D9233: [iOS] Add `withEnableSampleProfiling(true)` to `makeRuntimeConfig`.

(I think the profiler gets disabled on prod builds, I'll do a little more research)

Sep 19 2023, 8:48 PM
atul added a comment to D9233: [iOS] Add `withEnableSampleProfiling(true)` to `makeRuntimeConfig`.

It seems sketchy to do this in production, especially given it's undocumented. I'm worried about the potential impact on performance. Can we restrict this change to dev builds?

Sep 19 2023, 8:47 PM
ashoat committed rCOMM79192f53a0a4: [web][keyserver] codeVersion -> 28.
Sep 19 2023, 8:44 PM
ashoat added a comment to D9233: [iOS] Add `withEnableSampleProfiling(true)` to `makeRuntimeConfig`.

It seems sketchy to do this in production, especially given it's undocumented. I'm worried about the potential impact on performance. Can we restrict this change to dev builds?

Sep 19 2023, 8:43 PM
ashoat closed D9232: [keyserver] Prevent creation of sidebars from pinned message robotext.
Sep 19 2023, 8:42 PM
ashoat committed rCOMM01bf7ede77a3: [keyserver] Prevent creation of sidebars from pinned message robotext.
Sep 19 2023, 8:42 PM
ashoat closed D9230: [keyserver] Delete sidebars created from pinned message robotexts.
Sep 19 2023, 8:42 PM
ashoat closed D9231: [keyserver] Move sidebar-of-sidebar check earlier in createThread.
Sep 19 2023, 8:42 PM
ashoat committed rCOMM47a6b495b17c: [keyserver] Move sidebar-of-sidebar check earlier in createThread.
Sep 19 2023, 8:42 PM
ashoat committed rCOMM44a1bbf93561: [keyserver] Delete sidebars created from pinned message robotexts.
Sep 19 2023, 8:42 PM
ashoat closed D9229: [keyserver] Add ignorePermissions option to deleteThread.
Sep 19 2023, 8:42 PM
ashoat committed rCOMMc4344888e795: [keyserver] Add ignorePermissions option to deleteThread.
Sep 19 2023, 8:42 PM
ashoat updated the diff for D9232: [keyserver] Prevent creation of sidebars from pinned message robotext.

Also prevent sidebar creation from a CHANGE_ROLE robotext. Context is in ENG-4981... this change won't solve the issue (since the client app crashes in the pending sidebar, before the sidebar creation can even go through) but it's probably a good idea

Sep 19 2023, 8:40 PM
atul accepted D9232: [keyserver] Prevent creation of sidebars from pinned message robotext.
Sep 19 2023, 8:40 PM
atul accepted D9231: [keyserver] Move sidebar-of-sidebar check earlier in createThread.
Sep 19 2023, 8:39 PM
atul accepted D9230: [keyserver] Delete sidebars created from pinned message robotexts.
Sep 19 2023, 8:38 PM
atul accepted D9229: [keyserver] Add ignorePermissions option to deleteThread.
Sep 19 2023, 8:35 PM
ashoat published D9232: [keyserver] Prevent creation of sidebars from pinned message robotext for review.
Sep 19 2023, 8:32 PM
ashoat published D9231: [keyserver] Move sidebar-of-sidebar check earlier in createThread for review.
Sep 19 2023, 8:32 PM
ashoat published D9230: [keyserver] Delete sidebars created from pinned message robotexts for review.
Sep 19 2023, 8:31 PM
ashoat published D9229: [keyserver] Add ignorePermissions option to deleteThread for review.
Sep 19 2023, 8:31 PM
atul published D9233: [iOS] Add `withEnableSampleProfiling(true)` to `makeRuntimeConfig` for review.
Sep 19 2023, 8:31 PM
ashoat committed rCOMMf8707d9b6d0d: [web][keyserver] codeVersion -> 27.
Sep 19 2023, 6:42 PM
ashoat accepted D9228: [iOS] Set `_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION` flag to unblock iOS build.
Sep 19 2023, 5:44 PM
ashoat added a comment to D9227: [patch] Patch `expo-modules-core` to unblock iOS build on macOS Sonoma.

Is there a GitHub issue in Expo's GitHub repo for this?

Sep 19 2023, 5:43 PM
atul published D9228: [iOS] Set `_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION` flag to unblock iOS build for review.
Sep 19 2023, 5:15 PM
atul published D9227: [patch] Patch `expo-modules-core` to unblock iOS build on macOS Sonoma for review.
Sep 19 2023, 5:00 PM
rohan accepted D9203: [web] introduce AppearanceChangeModal.
Sep 19 2023, 4:47 PM
bartek added inline comments to D9224: [native] commCoreModule methods for getting, setting, and clearing the commServicesAccessToken.
Sep 19 2023, 4:09 PM
marcin updated the diff for D9199: Encrypt all notifications on the keyserver for Android devices.

Rebase before landing

Sep 19 2023, 4:05 PM
tomek accepted D8896: [web][native] Rename usernamePrefix to textPrefix in TypeaheadMatchedStrings type.
Sep 19 2023, 4:04 PM