Page MenuHomePhabricator

atul (Atul)
UserAdministrator

Projects

User does not belong to any projects.

User Details

User Since
Dec 29 2020, 8:08 PM (186 w, 2 d)
Roles
Administrator

FS_JGHeXwAEZWmZ.jpg (700×500 px, 54 KB)

FS_JGHgXwAAsCf2.jpg (700×500 px, 46 KB)

FS_JGHdWYAEPW_t.jpg (700×500 px, 54 KB)

FS_JGHdXwAMHbdF.jpg (700×500 px, 53 KB)

Recent Activity

Sat, Jul 20

atul closed D12811: [native] Flip the switch to strip member permissions from `native`.
Sat, Jul 20, 11:52 AM
atul committed rCOMMb7d5e9a1db09: [native] Flip the switch to strip member permissions from `native` (authored by atul).
[native] Flip the switch to strip member permissions from `native`
Sat, Jul 20, 11:52 AM

Fri, Jul 19

atul requested review of D12811: [native] Flip the switch to strip member permissions from `native`.
Fri, Jul 19, 5:29 PM
atul closed D12789: [native] Introduce `native` migration to strip member permissions.
Fri, Jul 19, 5:07 PM
atul committed rCOMM0748bce33c6f: [native] Introduce `native` migration to strip member permissions (authored by atul).
[native] Introduce `native` migration to strip member permissions
Fri, Jul 19, 5:06 PM
atul updated the diff for D12789: [native] Introduce `native` migration to strip member permissions.

address feedback (any-cast stripMemberPermissionsFromRawThreadInfos instead of $FlowIgnore)

Fri, Jul 19, 4:53 PM
atul closed D12799: [lib] Rename `deprecatedMinimallyEncodeRawThreadInfo` -> `minimallyEncodeRawThreadInfoWithMemberPermissions`.
Fri, Jul 19, 4:37 PM
atul committed rCOMMd25e29a0be1e: [lib] Rename `deprecatedMinimallyEncodeRawThreadInfo` ->… (authored by atul).
[lib] Rename `deprecatedMinimallyEncodeRawThreadInfo` ->…
Fri, Jul 19, 4:36 PM
atul updated the diff for D12799: [lib] Rename `deprecatedMinimallyEncodeRawThreadInfo` -> `minimallyEncodeRawThreadInfoWithMemberPermissions`.

rebase and land

Fri, Jul 19, 4:28 PM

Thu, Jul 18

atul requested review of D12799: [lib] Rename `deprecatedMinimallyEncodeRawThreadInfo` -> `minimallyEncodeRawThreadInfoWithMemberPermissions`.
Thu, Jul 18, 3:04 PM
atul added a comment to D12779: [keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients.

Here's the followup diff I promised: D12799

Thu, Jul 18, 2:48 PM
atul closed D12779: [keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients.
Thu, Jul 18, 2:45 PM
atul committed rCOMM3cd205451a32: [keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients (authored by atul).
[keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients
Thu, Jul 18, 2:45 PM
atul updated the diff for D12779: [keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients.

land

Thu, Jul 18, 2:42 PM
atul added inline comments to D12779: [keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients.
Thu, Jul 18, 2:41 PM
atul closed D12788: [lib] Introduce `stripMemberPermissionsFromRawThreadInfos`.
Thu, Jul 18, 2:28 PM
atul committed rCOMMb84a90848053: [lib] Introduce `stripMemberPermissionsFromRawThreadInfos` (authored by atul).
[lib] Introduce `stripMemberPermissionsFromRawThreadInfos`
Thu, Jul 18, 2:28 PM
atul updated the diff for D12788: [lib] Introduce `stripMemberPermissionsFromRawThreadInfos`.

rebase before landing

Thu, Jul 18, 2:20 PM
atul updated the diff for D12788: [lib] Introduce `stripMemberPermissionsFromRawThreadInfos`.

rebase BEFORE re-removing any-cast

Thu, Jul 18, 2:18 PM
atul closed D12763: [lib] Introduce `stripMemberPermissionsFromRawThreadInfo`.
Thu, Jul 18, 2:17 PM
atul committed rCOMMc4089cbcf0e1: [lib] Introduce `stripMemberPermissionsFromRawThreadInfo` (authored by atul).
[lib] Introduce `stripMemberPermissionsFromRawThreadInfo`
Thu, Jul 18, 2:17 PM
atul updated the diff for D12763: [lib] Introduce `stripMemberPermissionsFromRawThreadInfo`.

cherry-pick and land

Thu, Jul 18, 2:10 PM
atul closed D12597: [lib] Fix construction of `ThinRawThreadInfo` in `createPendingThread`.
Thu, Jul 18, 1:37 PM
atul committed rCOMM9fa6dd9ff9b7: [lib] Fix construction of `ThinRawThreadInfo` in `createPendingThread` (authored by atul).
[lib] Fix construction of `ThinRawThreadInfo` in `createPendingThread`
Thu, Jul 18, 1:37 PM
atul closed D12594: [lib] Change type of `ThinRawThreadInfo.members` from `MemberInfoWithPermissions` to `MemberInfoSansPermissions`.
Thu, Jul 18, 1:37 PM
atul committed rCOMM0561cfa7544f: [lib] Change type of `ThinRawThreadInfo.members` from… (authored by atul).
[lib] Change type of `ThinRawThreadInfo.members` from…
Thu, Jul 18, 1:37 PM
atul updated the diff for D12597: [lib] Fix construction of `ThinRawThreadInfo` in `createPendingThread`.

cherry-pick and land

Thu, Jul 18, 1:24 PM
atul added a comment to D12597: [lib] Fix construction of `ThinRawThreadInfo` in `createPendingThread`.

It's actually fine to land this as-is. If migration runs on RawThreadInfo that's already missing permissions, nothing will happen since stripPermissionsFromMemberInfo just won't really do anything:

14695f.png (550×1 px, 105 KB)

Thu, Jul 18, 1:11 PM
atul added inline comments to D12779: [keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients.
Thu, Jul 18, 12:50 PM
atul added inline comments to D12779: [keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients.
Thu, Jul 18, 12:50 PM
atul updated the diff for D12790: [web] Introduce `web` migration to strip member permissions.

rebase

Thu, Jul 18, 12:42 PM
atul updated the diff for D12789: [native] Introduce `native` migration to strip member permissions.

rebase

Thu, Jul 18, 12:42 PM
atul updated the diff for D12788: [lib] Introduce `stripMemberPermissionsFromRawThreadInfos`.

rebase

Thu, Jul 18, 12:41 PM
atul updated the diff for D12779: [keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients.

rebase

Thu, Jul 18, 12:41 PM
atul updated the diff for D12763: [lib] Introduce `stripMemberPermissionsFromRawThreadInfo`.

rebase

Thu, Jul 18, 12:41 PM
atul updated the diff for D12597: [lib] Fix construction of `ThinRawThreadInfo` in `createPendingThread`.

rebase

Thu, Jul 18, 12:40 PM
atul updated the diff for D12594: [lib] Change type of `ThinRawThreadInfo.members` from `MemberInfoWithPermissions` to `MemberInfoSansPermissions`.

rebase

Thu, Jul 18, 12:40 PM
atul abandoned D12722: [lib] Add `invariant` to suppress `flow` issue in `getPushUserInfo`.

Can drop this now, thanks @marcin !

Thu, Jul 18, 12:39 PM
atul updated the diff for D12763: [lib] Introduce `stripMemberPermissionsFromRawThreadInfo`.

cherry-pick and land

Thu, Jul 18, 12:36 PM
atul closed D12755: [lib] Add `flow` suppression to `deprecatedMinimallyEncodeRawThreadInfo`.
Thu, Jul 18, 12:34 PM
atul committed rCOMM1dc8f0fe5186: [lib] Add `flow` suppression to `deprecatedMinimallyEncodeRawThreadInfo` (authored by atul).
[lib] Add `flow` suppression to `deprecatedMinimallyEncodeRawThreadInfo`
Thu, Jul 18, 12:34 PM
atul updated the diff for D12755: [lib] Add `flow` suppression to `deprecatedMinimallyEncodeRawThreadInfo`.

cherry-pick and land

Thu, Jul 18, 12:25 PM
atul closed D12733: [lib] Deprecate `minimallyEncodeRawThreadInfo`.
Thu, Jul 18, 12:21 PM
atul committed rCOMM2ab735a4abc7: [lib] Deprecate `minimallyEncodeRawThreadInfo` (authored by atul).
[lib] Deprecate `minimallyEncodeRawThreadInfo`
Thu, Jul 18, 12:21 PM
atul updated the diff for D12733: [lib] Deprecate `minimallyEncodeRawThreadInfo`.

cherry-pick and land

Thu, Jul 18, 12:12 PM
atul added a comment to D12733: [lib] Deprecate `minimallyEncodeRawThreadInfo`.

This is purely rename diff, so safe to cherry-pick and land out of order.

Thu, Jul 18, 12:12 PM
atul added a comment to D12788: [lib] Introduce `stripMemberPermissionsFromRawThreadInfos`.

Did you perhaps forget to remove the any-cast before diffing this up?

Thu, Jul 18, 12:09 PM
atul updated the diff for D12788: [lib] Introduce `stripMemberPermissionsFromRawThreadInfos`.

remove extraneous any-cast

Thu, Jul 18, 12:08 PM

Wed, Jul 17

atul requested review of D12790: [web] Introduce `web` migration to strip member permissions.
Wed, Jul 17, 4:25 PM
atul requested review of D12789: [native] Introduce `native` migration to strip member permissions.
Wed, Jul 17, 4:19 PM
atul requested review of D12788: [lib] Introduce `stripMemberPermissionsFromRawThreadInfos`.
Wed, Jul 17, 3:51 PM
atul added a comment to D12779: [keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients.

Updated test plan after some more testing.

Wed, Jul 17, 3:02 PM
atul updated the test plan for D12779: [keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients.
Wed, Jul 17, 3:02 PM
atul updated the diff for D12779: [keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients.

fix logic, still need to do more testing

Wed, Jul 17, 2:49 PM
atul added inline comments to D12779: [keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients.
Wed, Jul 17, 2:29 PM
atul planned changes to D12779: [keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients.

Lot of things that need to be fixed up here.

Wed, Jul 17, 2:25 PM
atul updated the diff for D12779: [keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients.

rebase after addressing feedback in previous diffs in stack, still need to fix this diff up

Wed, Jul 17, 2:25 PM
atul updated the diff for D12763: [lib] Introduce `stripMemberPermissionsFromRawThreadInfo`.

move changes to stripMemberPermissionsFromRawThreadInfo into this diff

Wed, Jul 17, 2:24 PM
atul updated the diff for D12755: [lib] Add `flow` suppression to `deprecatedMinimallyEncodeRawThreadInfo`.

update diff with ESLint and validator unit test resolved.

Wed, Jul 17, 2:19 PM
atul updated the diff for D12733: [lib] Deprecate `minimallyEncodeRawThreadInfo`.

update to address ESLint and failing validator test. flow issue(s) still expected.

Wed, Jul 17, 2:18 PM
atul updated the diff for D12722: [lib] Add `invariant` to suppress `flow` issue in `getPushUserInfo`.

rebase

Wed, Jul 17, 2:17 PM
atul requested review of D12722: [lib] Add `invariant` to suppress `flow` issue in `getPushUserInfo`.

still would like to see the ESLint fix moved to the diff where the issue is introduced.

Wed, Jul 17, 2:14 PM
atul updated the diff for D12597: [lib] Fix construction of `ThinRawThreadInfo` in `createPendingThread`.

fix ESLint issue

Wed, Jul 17, 2:12 PM
atul updated the diff for D12597: [lib] Fix construction of `ThinRawThreadInfo` in `createPendingThread`.

rebase after landing validator fix

Wed, Jul 17, 2:09 PM
atul updated the diff for D12594: [lib] Change type of `ThinRawThreadInfo.members` from `MemberInfoWithPermissions` to `MemberInfoSansPermissions`.

rebase before addressing feedback

Wed, Jul 17, 2:08 PM
atul closed D12756: [lib] Move `stripPermissionsFromMemberInfo` out of `...-types.js` file.
Wed, Jul 17, 2:05 PM
atul committed rCOMMdc0975f965cb: [lib] Move `stripPermissionsFromMemberInfo` out of `...-types.js` file (authored by atul).
[lib] Move `stripPermissionsFromMemberInfo` out of `...-types.js` file
Wed, Jul 17, 2:05 PM
atul added a comment to D12756: [lib] Move `stripPermissionsFromMemberInfo` out of `...-types.js` file.

Ran yarn eslint:all, yarn flow:all, and yarn jest:all locally and confirmed that they all passed without issue. Will wait for ESLint & Flow & Jest workflow to pass before landing.

Wed, Jul 17, 1:56 PM
atul updated the diff for D12756: [lib] Move `stripPermissionsFromMemberInfo` out of `...-types.js` file.

cherry-pick and land, validator test should pass now

Wed, Jul 17, 1:53 PM
atul closed D12787: [lib] Add `memberInfoSansPermissionsValidator` to `convertClientDBThreadInfoToRawThreadInfo`.
Wed, Jul 17, 1:52 PM
atul committed rCOMM1a4d31715739: [lib] Add `memberInfoSansPermissionsValidator` to… (authored by atul).
[lib] Add `memberInfoSansPermissionsValidator` to…
Wed, Jul 17, 1:52 PM
atul updated the diff for D12787: [lib] Add `memberInfoSansPermissionsValidator` to `convertClientDBThreadInfoToRawThreadInfo`.

cherry-pick and land

Wed, Jul 17, 1:48 PM
atul added a comment to D12787: [lib] Add `memberInfoSansPermissionsValidator` to `convertClientDBThreadInfoToRawThreadInfo`.

Can also cherry-pick and land this to simplify stack before rebasing and addressing all feedback.

Wed, Jul 17, 1:47 PM
atul closed D12758: [lib] Introduce `memberInfoSansPermissionsValidator` and consume in `rawThreadInfoValidator`.
Wed, Jul 17, 1:37 PM
atul committed rCOMM5029a29dfb30: [lib] Introduce `memberInfoSansPermissionsValidator` and consume in… (authored by atul).
[lib] Introduce `memberInfoSansPermissionsValidator` and consume in…
Wed, Jul 17, 1:37 PM
atul requested review of D12594: [lib] Change type of `ThinRawThreadInfo.members` from `MemberInfoWithPermissions` to `MemberInfoSansPermissions`.

Hmm looks like a bunch of Flow errors

Wed, Jul 17, 1:03 PM
atul requested review of D12787: [lib] Add `memberInfoSansPermissionsValidator` to `convertClientDBThreadInfoToRawThreadInfo`.
Wed, Jul 17, 12:53 PM
atul updated the diff for D12758: [lib] Introduce `memberInfoSansPermissionsValidator` and consume in `rawThreadInfoValidator`.

cherry-pick off master

Wed, Jul 17, 12:50 PM
atul added a comment to D12758: [lib] Introduce `memberInfoSansPermissionsValidator` and consume in `rawThreadInfoValidator`.

Going to go ahead and try cherry-picking this onto master to fix the failing validator unit test and get rest of stack "more green."

Wed, Jul 17, 12:43 PM
atul updated the diff for D12594: [lib] Change type of `ThinRawThreadInfo.members` from `MemberInfoWithPermissions` to `MemberInfoSansPermissions`.

rebase, look like there are no ESLint issues. There's failing validator that gets fixed in later diff... though maybe it makes sense to cherry-pick D12758 and land it to resolve failing validator test for rest of stack.

Wed, Jul 17, 12:41 PM
atul added inline comments to D12763: [lib] Introduce `stripMemberPermissionsFromRawThreadInfo`.
Wed, Jul 17, 12:33 PM
atul added a comment to D12758: [lib] Introduce `memberInfoSansPermissionsValidator` and consume in `rawThreadInfoValidator`.

But it's inappropriate for use on the client, where we don't expect the keyserver to ever respond with the legacy format.

Wed, Jul 17, 12:30 PM

Tue, Jul 16

atul published D12779: [keyserver] Strip `member.permissions` for `FUTURE_CODE_VERSION` clients for review.
Tue, Jul 16, 2:49 PM

Mon, Jul 15

atul requested review of D12763: [lib] Introduce `stripMemberPermissionsFromRawThreadInfo`.
Mon, Jul 15, 6:52 PM
atul published D12758: [lib] Introduce `memberInfoSansPermissionsValidator` and consume in `rawThreadInfoValidator` for review.
Mon, Jul 15, 1:04 PM
atul requested review of D12756: [lib] Move `stripPermissionsFromMemberInfo` out of `...-types.js` file.
Mon, Jul 15, 12:24 PM
atul requested review of D12733: [lib] Deprecate `minimallyEncodeRawThreadInfo`.

Second: it looks like there's a Flow error here that doesn't show up in the parent diff. Any context?

Mon, Jul 15, 11:50 AM
atul added a comment to D12733: [lib] Deprecate `minimallyEncodeRawThreadInfo`.

First: is rawThreadInfoFromServerThreadInfo just for the shimming logic that handles old clients?

Mon, Jul 15, 11:48 AM
atul updated the diff for D12722: [lib] Add `invariant` to suppress `flow` issue in `getPushUserInfo`.

address ESLint issues

Mon, Jul 15, 11:45 AM
atul published D12755: [lib] Add `flow` suppression to `deprecatedMinimallyEncodeRawThreadInfo` for review.
Mon, Jul 15, 11:39 AM

Thu, Jul 11

atul requested review of D12733: [lib] Deprecate `minimallyEncodeRawThreadInfo`.
Thu, Jul 11, 2:16 PM

Wed, Jul 10

atul published D12722: [lib] Add `invariant` to suppress `flow` issue in `getPushUserInfo` for review.
Wed, Jul 10, 2:44 PM

Tue, Jul 9

atul updated the diff for D12597: [lib] Fix construction of `ThinRawThreadInfo` in `createPendingThread`.

rebase after resequence

Tue, Jul 9, 2:07 PM
atul updated the diff for D12594: [lib] Change type of `ThinRawThreadInfo.members` from `MemberInfoWithPermissions` to `MemberInfoSansPermissions`.

rebase after resequence

Tue, Jul 9, 2:02 PM
atul closed D12601: [lib] Add `flow` suppression to `deprecatedDecodeMinimallyEncodedRawThreadInfo`.
Tue, Jul 9, 1:54 PM
atul committed rCOMMeae3437bda18: [lib] Add `flow` suppression to `deprecatedDecodeMinimallyEncodedRawThreadInfo` (authored by atul).
[lib] Add `flow` suppression to `deprecatedDecodeMinimallyEncodedRawThreadInfo`
Tue, Jul 9, 1:54 PM
atul updated the diff for D12601: [lib] Add `flow` suppression to `deprecatedDecodeMinimallyEncodedRawThreadInfo`.

resequence

Tue, Jul 9, 1:47 PM
atul added a comment to D12601: [lib] Add `flow` suppression to `deprecatedDecodeMinimallyEncodedRawThreadInfo`.

I think it's better to have type suppressions than to have to maintain the old set of types indefinitely. This makes sense to me

Tue, Jul 9, 1:29 PM
atul closed D12599: [lib] Deprecate `updateRolesAndPermissions`.
Tue, Jul 9, 1:27 PM
atul committed rCOMMfc1e4abe9c83: [lib] Deprecate `updateRolesAndPermissions` (authored by atul).
[lib] Deprecate `updateRolesAndPermissions`
Tue, Jul 9, 1:27 PM