Page MenuHomePhorge
Feed Search

Nov 6 2023

tomek accepted D9697: [Flow202][lib][skip-ci] [5/23] Fix Flow issues with missing annotations on parameters in function declarations.
Nov 6 2023, 12:39 PM
tomek requested review of D9657: [keyserver] Fetch user infos together with other data.
Nov 6 2023, 12:27 PM

Nov 3 2023

tomek added inline comments to D9636: [keyserver][lib][native] Refactor getVersion action.
Nov 3 2023, 2:58 PM
tomek added a comment to D9657: [keyserver] Fetch user infos together with other data.

Created a task describing the issue https://linear.app/comm/issue/ENG-5657/race-condition-when-sending-a-friend-request

Nov 3 2023, 2:47 PM

Nov 2 2023

tomek requested review of D9655: [keyserver] Modify raw data for updates types so that they can be moved to lib.
Nov 2 2023, 10:12 AM
tomek accepted D9674: [native] fix handling logout action.
Nov 2 2023, 10:10 AM
tomek added inline comments to D9668: [native] Support displaying encrypted avatars.
Nov 2 2023, 8:56 AM

Oct 31 2023

tomek requested review of D9660: [keyserver] Move merging of updates to a spec.
Oct 31 2023, 5:50 PM
tomek requested review of D9659: [keyserver] Simplify updates merging.
Oct 31 2023, 5:33 PM
tomek requested review of D9658: [keyserver] Move update delete condition to a spec.
Oct 31 2023, 5:02 PM
tomek requested review of D9657: [keyserver] Fetch user infos together with other data.
Oct 31 2023, 4:46 PM
tomek requested review of D9656: [keyserver] Convert raw update infos in a spec.
Oct 31 2023, 4:24 PM
tomek requested review of D9653: [keyserver] Move DB update content generation into specs.
Oct 31 2023, 3:59 PM
tomek requested review of D9654: [keyserver] Determine which entities to fetch in a spec.
Oct 31 2023, 3:56 PM
tomek accepted D9646: [lib] Get rid of SentencePrefixSearchIndex.entries.
Oct 31 2023, 1:49 PM
tomek added inline comments to D9628: [lib][web][native] Refactor setDeviceToken action.
Oct 31 2023, 1:39 PM
tomek added inline comments to D9627: [lib] Use RadixTree in SearchIndex.
Oct 31 2023, 8:34 AM

Oct 30 2023

tomek accepted D9606: [lib] introduce Tunnelbroker Context.

N/A

Can we find a way of testing this code?

Oct 30 2023, 11:25 AM
tomek accepted D9627: [lib] Use RadixTree in SearchIndex.
Oct 30 2023, 11:13 AM
tomek accepted D9626: [lib] Introduce RadixTree.

Measuring from before the parent diff, the incremental improvement is about 19%.

I guess there should be also a significant improvement in memory usage

Oct 30 2023, 11:04 AM

Oct 25 2023

tomek accepted D9589: [lib] Update `permissionsToBitmask` to `permissionsToBitmaskHex`.
Oct 25 2023, 8:09 AM

Oct 23 2023

tomek accepted D9487: [native] trigger sqlite deletion on wipe state.
Oct 23 2023, 10:00 AM

Oct 20 2023

tomek accepted D9548: [keyserver] Replace extendCookieLifespan with updateCookie.
Oct 20 2023, 8:56 AM
tomek accepted D9546: [keyserver] Stop using bcrypt for session validation in new cookies.
Oct 20 2023, 8:51 AM
tomek accepted D9547: [keyserver] Extend size of hash column for MariaDB cookies table.
Oct 20 2023, 8:41 AM
tomek added a comment to D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.

What is the plan for the source?

Oct 20 2023, 8:05 AM
tomek accepted D9549: [lib] Introduce basic `permissionsToBitmask` and `hasPermission`.
Oct 20 2023, 8:01 AM

Oct 19 2023

tomek added inline comments to D9501: [lib][web][native] Refactor actions in user-actions.js pt.1.
Oct 19 2023, 12:21 PM
tomek closed D9466: [lib] Introduce chat mention context.
Oct 19 2023, 12:09 PM
tomek committed rCOMM5011d6a78baf: [lib] Introduce chat mention context.
Oct 19 2023, 12:09 PM
tomek closed D9465: Revert "[lib] Disable chat mentioning".
Oct 19 2023, 12:09 PM
tomek added a reverting change for D9449: [lib] Disable chat mentioning: rCOMM0fe842367d0d: Revert "[lib] Disable chat mentioning".
Oct 19 2023, 12:09 PM
tomek added a reverting change for rCOMM2a40ae7bdba7: [lib] Disable chat mentioning: rCOMM0fe842367d0d: Revert "[lib] Disable chat mentioning".
Oct 19 2023, 12:09 PM
tomek committed rCOMM0fe842367d0d: Revert "[lib] Disable chat mentioning".
Oct 19 2023, 12:09 PM
tomek accepted D9525: [lib] Batch ENS queries using ReverseRecords smart contract.

I'm not an expert, but it seems reasonable and the test pan is thorough.

Oct 19 2023, 11:09 AM
tomek added inline comments to D9466: [lib] Introduce chat mention context.
Oct 19 2023, 10:29 AM
tomek updated the diff for D9466: [lib] Introduce chat mention context.

Simplify the code

Oct 19 2023, 10:28 AM

Oct 18 2023

tomek accepted D9515: [lib] Introduce allAtOnce param to useENSNames.
Oct 18 2023, 8:47 AM

Oct 16 2023

tomek accepted D9453: [lib] Update `reduceThreadActivity` to handle `processUpdatesActionType` and others.

Might be good for @tomek to meet with @atul to share more context about the update syncing specs. Or potentially could be a subject for a teamwide "office hours" this Wednesday (although not sure of the impact of blocking this diff until then... maybe could be a follow-up task?)

Oct 16 2023, 2:07 PM
tomek closed D9418: [lib] Migrate the reports and update store type.
Oct 16 2023, 12:38 PM
tomek committed rCOMMca3b9bf9df85: [lib] Migrate the reports and update store type.
Oct 16 2023, 12:38 PM
tomek closed D9417: [lib] Send new user inconsistencies to the reports service.
Oct 16 2023, 12:38 PM
tomek committed rCOMMf0db19722c1a: [lib] Send new user inconsistencies to the reports service.
Oct 16 2023, 12:38 PM
tomek updated the diff for D9418: [lib] Migrate the reports and update store type.

Handle an edge case when someone had a fresh store with the most recent code version and run a migration (userStore.inconsistencyReports wouldn't be present)

Oct 16 2023, 10:12 AM

Oct 13 2023

tomek added inline comments to D9466: [lib] Introduce chat mention context.
Oct 13 2023, 4:42 PM
tomek updated the summary of D9466: [lib] Introduce chat mention context.
Oct 13 2023, 4:34 PM
tomek updated the diff for D9466: [lib] Introduce chat mention context.

Clean up the code

Oct 13 2023, 4:34 PM

Oct 12 2023

tomek planned changes to D9466: [lib] Introduce chat mention context.

This diff needs more work before it can be reviewed, but seems to fix (at least a part of) the performance issue.

Oct 12 2023, 3:28 PM
tomek requested review of D9466: [lib] Introduce chat mention context.
Oct 12 2023, 2:48 PM
tomek requested review of D9465: Revert "[lib] Disable chat mentioning".
Oct 12 2023, 2:48 PM
tomek added a reverting change for D9449: [lib] Disable chat mentioning: D9465: Revert "[lib] Disable chat mentioning".
Oct 12 2023, 2:11 PM
tomek added a reverting change for rCOMM2a40ae7bdba7: [lib] Disable chat mentioning: D9465: Revert "[lib] Disable chat mentioning".
Oct 12 2023, 2:11 PM
tomek requested changes to D9453: [lib] Update `reduceThreadActivity` to handle `processUpdatesActionType` and others.

Agree it is safer to handle all the actions that include the updates. But, at the same time, it is possible to introduce a new action that contains updates and forget to add it here. We probably should figure out a different approach and use it in all the places - e.g. instead of checking action.type, check if it has updateRedult.newUpdates (not sure if Flow will like it). - It isn't blocking this diff, but is a separate follow-up.

Oct 12 2023, 8:21 AM

Oct 11 2023

tomek closed D9449: [lib] Disable chat mentioning.
Oct 11 2023, 3:48 PM
tomek committed rCOMM2a40ae7bdba7: [lib] Disable chat mentioning.
Oct 11 2023, 3:48 PM
tomek updated the diff for D9449: [lib] Disable chat mentioning.

Disable chat mentioning

Oct 11 2023, 2:22 PM
tomek requested review of D9449: [lib] Disable chat mentioning.
Oct 11 2023, 11:17 AM

Oct 10 2023

tomek requested review of D9442: [lib] Move transforming rows into updates to specs.
Oct 10 2023, 1:05 PM
tomek accepted D9351: [blob] Implement cleanup helper functions.
Oct 10 2023, 12:06 PM
tomek accepted D9350: [blob] Add struct for representing unchecked blobs.
Oct 10 2023, 11:46 AM
tomek accepted D9429: Send all notifications received by backgrounded app to JS at once.
Oct 10 2023, 11:23 AM
tomek added inline comments to D9401: Implement stateful and deferrable notification decryption and use it on iOS in NSE.
Oct 10 2023, 11:17 AM
tomek added a comment to D9402: [lib] Handle `[leave/delete]ThreadActionTypes.success` in `reduceThreadActivity`.

Shouldn't we also handle processUpdatesActionType action?

Oct 10 2023, 9:39 AM

Oct 9 2023

tomek accepted D9428: [lib] Remove message spec code for deprecated codeVersions.
Oct 9 2023, 3:26 PM
tomek requested review of D9418: [lib] Migrate the reports and update store type.
Oct 9 2023, 1:59 PM
tomek requested review of D9417: [lib] Send new user inconsistencies to the reports service.
Oct 9 2023, 1:18 PM
tomek closed D9354: [lib] Move inconsistencies finding into specs.
Oct 9 2023, 10:57 AM
tomek committed rCOMMcd01c1732bd6: [lib] Move inconsistencies finding into specs.
Oct 9 2023, 10:57 AM
tomek closed D9318: [lib] Move local id update reducer into specs.
Oct 9 2023, 10:57 AM
tomek closed D9319: [lib] Move message update reducer into specs.
Oct 9 2023, 10:57 AM
tomek committed rCOMMc9a66b403e9d: [lib] Move local id update reducer into specs.
Oct 9 2023, 10:57 AM
tomek closed D9315: [lib] Move calendar filters update reducer into specs.
Oct 9 2023, 10:57 AM
tomek committed rCOMM6b2c387d34e2: [lib] Move message update reducer into specs.
Oct 9 2023, 10:57 AM
tomek committed rCOMMdc850ca7e1ef: [lib] Move calendar filters update reducer into specs.
Oct 9 2023, 10:57 AM
tomek closed D9268: [lib] Move current user updates logic into a spec.
Oct 9 2023, 10:57 AM
tomek closed D9296: [lib] Move user infos update reducer into specs.
Oct 9 2023, 10:57 AM
tomek committed rCOMMc48e1e23f6aa: [lib] Move user infos update reducer into specs.
Oct 9 2023, 10:57 AM
tomek committed rCOMMcd7e9efe23ea: [lib] Move current user updates logic into a spec.
Oct 9 2023, 10:57 AM
tomek closed D9257: [lib] Move entries updates logic into a spec.
Oct 9 2023, 10:57 AM
tomek closed D9245: [lib] Create thread store ops from updates in a spec.
Oct 9 2023, 10:57 AM
tomek committed rCOMM0ebca826d916: [lib] Move entries updates logic into a spec.
Oct 9 2023, 10:57 AM
tomek committed rCOMMf165401467fe: [lib] Create thread store ops from updates in a spec.
Oct 9 2023, 10:57 AM
tomek closed D9244: [lib] Create empty specs for update types.
Oct 9 2023, 10:57 AM
tomek committed rCOMM2c1357f8557a: [lib] Create empty specs for update types.
Oct 9 2023, 10:57 AM
tomek updated the diff for D9354: [lib] Move inconsistencies finding into specs.

Use read only types in all the specs

Oct 9 2023, 10:22 AM
tomek added a comment to D9354: [lib] Move inconsistencies finding into specs.
In D9354#275224, @kamil wrote:
In D9354#275219, @kamil wrote:

LGTM, only one nit: you can probably replace Array<> with $ReadOnlyArray.

On the other hand, when you return the result we should allow the caller to do and modify the result, not sure what is better in this use case.

Oct 9 2023, 10:19 AM
tomek updated the diff for D9354: [lib] Move inconsistencies finding into specs.

Use read only

Oct 9 2023, 10:18 AM

Oct 6 2023

tomek accepted D9352: [blob] Add function to perform cleanup operation.

Do we also plan to uncheck items in some cases? It looks like we're handling a case where an item wasn't created properly. I think that we also sometimes should look for a case where an item was deleted only partially (e.g. only a holder was left).

Oct 6 2023, 1:38 PM

Oct 5 2023

tomek accepted D9267: [keyserver] Add new hashing to keyserver state check.
Oct 5 2023, 1:52 PM
tomek updated the test plan for D9354: [lib] Move inconsistencies finding into specs.
Oct 5 2023, 11:25 AM

Oct 4 2023

tomek accepted D9265: [lib/web/native] Add IntegrityStore.
Oct 4 2023, 2:30 PM
tomek requested changes to D9265: [lib/web/native] Add IntegrityStore.
Oct 4 2023, 1:11 PM
tomek requested review of D9354: [lib] Move inconsistencies finding into specs.
Oct 4 2023, 10:42 AM

Oct 3 2023

tomek updated the diff for D9318: [lib] Move local id update reducer into specs.

Use more functional approach

Oct 3 2023, 2:30 PM
tomek accepted D9095: [native] Block editing messages on search and pinned messages screens, and of the first message in a thread.
Oct 3 2023, 2:18 PM
tomek added inline comments to D9315: [lib] Move calendar filters update reducer into specs.
Oct 3 2023, 12:57 PM
tomek updated the diff for D9315: [lib] Move calendar filters update reducer into specs.

Make the approach more consistent

Oct 3 2023, 12:56 PM
tomek added inline comments to D9296: [lib] Move user infos update reducer into specs.
Oct 3 2023, 12:40 PM
tomek added inline comments to D9296: [lib] Move user infos update reducer into specs.
Oct 3 2023, 12:33 PM
tomek updated the diff for D9296: [lib] Move user infos update reducer into specs.

Fix reducer bug

Oct 3 2023, 12:33 PM