Page MenuHomePhabricator
Feed Advanced Search

Mar 9 2023

atul requested changes to D7005: [native][AES] Implement encrypt function on iOS.

Some questions inline. Definitely feel free to re-request review if there's something I'm missing.

Mar 9 2023, 12:40 PM
atul added a comment to D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.

JK, I shouldn't have just searched yarn build... should've considered that yarn scripts can be invoked via yarn workspace blah command.

Mar 9 2023, 12:16 PM
atul reopened D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.
Mar 9 2023, 12:07 PM
atul added a reverting change for D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`: rCOMM1d4b3fbc6fa0: Revert "[keyserver] Use `build:debug` instead of `build` in `postinstall`".
Mar 9 2023, 12:07 PM
atul committed rCOMM1d4b3fbc6fa0: Revert "[keyserver] Use `build:debug` instead of `build` in `postinstall`" (authored by atul).
Revert "[keyserver] Use `build:debug` instead of `build` in `postinstall`"
Mar 9 2023, 12:07 PM
atul added a reverting change for rCOMM234fa98e436f: [keyserver] Use `build:debug` instead of `build` in `postinstall`: rCOMM1d4b3fbc6fa0: Revert "[keyserver] Use `build:debug` instead of `build` in `postinstall`".
Mar 9 2023, 12:07 PM
atul added a comment to D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.

Ah, but we probably DO want yarn build on prod. As @varun said:

Mar 9 2023, 12:05 PM
atul added a comment to D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.

Did we make sure this passed keyserver Docker build before landing?

Mar 9 2023, 12:04 PM
atul requested changes to D7004: [native][AES] Implement generateKey function.

Left a note about the error-handling on the Swift side, definitely let me know if there's something I'm missing. I think we should just be able to match what we're doing on the Android/Kotlin side?

Mar 9 2023, 12:02 PM
atul accepted D6558: Added web tests to .lintstagedrc and CI.
Mar 9 2023, 11:42 AM
atul closed D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.
Mar 9 2023, 11:40 AM
atul committed rCOMM234fa98e436f: [keyserver] Use `build:debug` instead of `build` in `postinstall` (authored by atul).
[keyserver] Use `build:debug` instead of `build` in `postinstall`
Mar 9 2023, 11:39 AM
atul updated the diff for D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.

don't install ci-deps for non-debug

Mar 9 2023, 11:38 AM
atul added inline comments to D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.
Mar 9 2023, 11:38 AM
atul updated the diff for D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.

fix yarn build:debug to include install-ci-deps step

Mar 9 2023, 10:24 AM
atul added a comment to D7019: [web] Fix missing WebCrypto mock in tests.

This is more related to this task: https://linear.app/comm/issue/ENG-2712/we-dont-run-tests-in-web-and-native-in-precommit-hook
So I'd rather do that when adding the hook

Mar 9 2023, 10:19 AM
atul accepted D6922: Permanently enable rescind and visible notifications processing via NotificationService.
Mar 9 2023, 10:16 AM
atul accepted D6921: Persist rescinds payloads in NSE so that AppDelegate can update thread statuses on app start..
Mar 9 2023, 10:14 AM
atul published D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall` for review.
Mar 9 2023, 10:10 AM
atul added a comment to D7019: [web] Fix missing WebCrypto mock in tests.

Thanks for fixing these tests. Now that they're working, can we update this diff to include them in CI?

Mar 9 2023, 9:59 AM
atul updated subscribers of D7009: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd`.

For additional context, fd3 is used by direnv dump to "export the inner bash state at the end of execution." Here's the source from the direnv repo:

Mar 9 2023, 9:23 AM
atul added a comment to D7009: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd`.
In D7009#208076, @tomek wrote:

Have you checked if Redis and MariaDB work correctly after this change? Are we sure that closing this descriptor doesn't cause any issue for a process that opened it?

Mar 9 2023, 9:01 AM

Mar 8 2023

atul closed D7016: [nix] Launch `redis-server` from `REDIS_CACHE_DIR`.
Mar 8 2023, 8:39 PM
atul committed rCOMM8587565aae95: [nix] Launch `redis-server` from `REDIS_CACHE_DIR` (authored by atul).
[nix] Launch `redis-server` from `REDIS_CACHE_DIR`
Mar 8 2023, 8:39 PM
atul published D7016: [nix] Launch `redis-server` from `REDIS_CACHE_DIR` for review.
Mar 8 2023, 1:28 PM
atul closed D7009: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd`.
Mar 8 2023, 12:23 PM
atul committed rCOMMa245d2e2f38f: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd` (authored by atul).
[nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd`
Mar 8 2023, 12:23 PM
atul updated the summary of D7009: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd`.
Mar 8 2023, 11:27 AM
atul updated the diff for D7009: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd`.

reposition comment in mariadb-up-mac for symmetry

Mar 8 2023, 11:27 AM
atul added inline comments to D7009: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd`.
Mar 8 2023, 11:26 AM
atul updated the diff for D7009: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd`.

address feedback

Mar 8 2023, 11:25 AM
atul added a comment to D7009: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd`.

Thanks for the explanation, make sense. I'll add a comment (and restart macOS build).

Mar 8 2023, 11:22 AM
atul published D7009: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd` for review.
Mar 8 2023, 11:07 AM

Mar 6 2023

atul committed rCOMM4b0ac9f0ebc4: Revert "[native] Temporary changes for staff release" (authored by atul).
Revert "[native] Temporary changes for staff release"
Mar 6 2023, 4:27 PM
atul added a reverting change for rCOMM1af4da1bfa68: [native] Temporary changes for staff release: rCOMM4b0ac9f0ebc4: Revert "[native] Temporary changes for staff release".
Mar 6 2023, 4:27 PM
atul committed rCOMMf9612e9ce4f7: [native] `codeVersion` -> 196 (authored by atul).
[native] `codeVersion` -> 196
Mar 6 2023, 4:27 PM
atul committed rCOMM1af4da1bfa68: [native] Temporary changes for staff release (authored by atul).
[native] Temporary changes for staff release
Mar 6 2023, 4:26 PM
atul committed rCOMM446f62170431: [native] `codeVersion` -> 195 (authored by atul).
[native] `codeVersion` -> 195
Mar 6 2023, 4:26 PM
atul accepted D6958: [native] Move CommSecureStore::get to main thread to avoid JNI crash.
Mar 6 2023, 12:37 PM
atul resigned from D6919: Remove relevant notification from notifications center when receiving rescind in NSE.

Don't have a ton of context here.

Mar 6 2023, 11:48 AM
atul accepted D6918: Silence rescinds in NSE.

Looks reasonable to me. Might be good to add someone with more context on notifications as blocking?

Mar 6 2023, 11:41 AM
atul accepted D6957: [native] Fix broken error handling in getUserPublicKey.
Mar 6 2023, 11:21 AM
atul attached a referenced file: F415152: cca333.png.
Mar 6 2023, 11:08 AM
atul added inline comments to D6822: Sign concatenation of public and notif keypairs using private key of public identity.
Mar 6 2023, 11:08 AM
atul closed D6956: [lib] Add `getSignedIdentityKeysBlob` to `getClientResponsesSelector`.
Mar 6 2023, 10:18 AM
atul committed rCOMM797ae5e79070: [lib] Add `getSignedIdentityKeysBlob` to `getClientResponsesSelector` (authored by atul).
[lib] Add `getSignedIdentityKeysBlob` to `getClientResponsesSelector`
Mar 6 2023, 10:18 AM
atul updated the diff for D6956: [lib] Add `getSignedIdentityKeysBlob` to `getClientResponsesSelector`.

rebase + land

Mar 6 2023, 10:00 AM

Mar 5 2023

atul published D6956: [lib] Add `getSignedIdentityKeysBlob` to `getClientResponsesSelector` for review.
Mar 5 2023, 4:05 PM
atul added a reverting change for rCOMM98d1078057d2: [native] Temporary changes for staff release: rCOMMff4a8b802aaf: Revert "[native] Temporary changes for staff release".
Mar 5 2023, 3:01 PM
atul committed rCOMMff4a8b802aaf: Revert "[native] Temporary changes for staff release" (authored by atul).
Revert "[native] Temporary changes for staff release"
Mar 5 2023, 3:01 PM
atul committed rCOMM7550ef9881ab: [native] `codeVersion` -> 194 (authored by atul).
[native] `codeVersion` -> 194
Mar 5 2023, 3:01 PM
atul committed rCOMM98d1078057d2: [native] Temporary changes for staff release (authored by atul).
[native] Temporary changes for staff release
Mar 5 2023, 3:01 PM
atul committed rCOMMf41568f99614: [native] `codeVersion` -> 193 (authored by atul).
[native] `codeVersion` -> 193
Mar 5 2023, 2:48 PM
atul accepted D6917: Prepare to conditionally process rescinds in NSE..
Mar 5 2023, 12:05 PM
atul closed D6952: [keyserver] Add `SIGNED_IDENTITY_KEYS_BLOB` to `clientResponseInputValidator`.
Mar 5 2023, 12:01 PM
atul committed rCOMM8d224ecc5edc: [keyserver] Add `SIGNED_IDENTITY_KEYS_BLOB` to `clientResponseInputValidator` (authored by atul).
[keyserver] Add `SIGNED_IDENTITY_KEYS_BLOB` to `clientResponseInputValidator`
Mar 5 2023, 12:01 PM
atul updated the diff for D6952: [keyserver] Add `SIGNED_IDENTITY_KEYS_BLOB` to `clientResponseInputValidator`.

rebase + land

Mar 5 2023, 11:06 AM
atul added a comment to D6952: [keyserver] Add `SIGNED_IDENTITY_KEYS_BLOB` to `clientResponseInputValidator`.

I'd probably include this with another diff tbh... I think it's easier to see stuff like this combined with the usage, and it's easier to put a concrete test plan too

Mar 5 2023, 11:02 AM

Mar 3 2023

atul closed D6951: [lib] Introduce `SignedIdentityKeysBlob[ServerRequest/ClientResponse]` types.
Mar 3 2023, 4:20 PM
atul committed rCOMMa6e1a2cc7b84: [lib] Introduce `SignedIdentityKeysBlob[ServerRequest/ClientResponse]` types (authored by atul).
[lib] Introduce `SignedIdentityKeysBlob[ServerRequest/ClientResponse]` types
Mar 3 2023, 4:20 PM
atul updated the diff for D6951: [lib] Introduce `SignedIdentityKeysBlob[ServerRequest/ClientResponse]` types.

fix typo

Mar 3 2023, 4:18 PM
atul updated the diff for D6951: [lib] Introduce `SignedIdentityKeysBlob[ServerRequest/ClientResponse]` types.

rebase

Mar 3 2023, 4:17 PM
atul abandoned D6954: [nit] Fix comment in `siweAuthResponder`.

I'll sneak this in D6951

Mar 3 2023, 4:15 PM
atul added a comment to D6954: [nit] Fix comment in `siweAuthResponder`.
In D6954#206917, @varun wrote:

stat-padding smh

Mar 3 2023, 4:13 PM
atul updated the summary of D6954: [nit] Fix comment in `siweAuthResponder`.
Mar 3 2023, 4:13 PM
atul published D6954: [nit] Fix comment in `siweAuthResponder` for review.
Mar 3 2023, 4:12 PM
atul closed D6950: [lib] Introduce `identityKeysBlobValidator` and use in `login`/`register`/`siwe_auth` responders.
Mar 3 2023, 2:51 PM
atul committed rCOMMa1d55785a1c3: [lib] Introduce `identityKeysBlobValidator` and use in… (authored by atul).
[lib] Introduce `identityKeysBlobValidator` and use in…
Mar 3 2023, 2:51 PM
atul updated the diff for D6950: [lib] Introduce `identityKeysBlobValidator` and use in `login`/`register`/`siwe_auth` responders.

land

Mar 3 2023, 2:49 PM
atul updated the diff for D6950: [lib] Introduce `identityKeysBlobValidator` and use in `login`/`register`/`siwe_auth` responders.

rebase after addressing merge conflict

Mar 3 2023, 2:44 PM
atul published D6952: [keyserver] Add `SIGNED_IDENTITY_KEYS_BLOB` to `clientResponseInputValidator` for review.
Mar 3 2023, 1:07 PM
atul added a comment to D6944: [Keyserver/identity] Call identity service update_user.
In D6944#206752, @atul wrote:

but identity build seems to have failed CI

Looks like this was because of issues with Buildkite Agent API, restarted the workflows.

Mar 3 2023, 12:50 PM
atul added a comment to D6944: [Keyserver/identity] Call identity service update_user.

but identity build seems to have failed CI

Mar 3 2023, 12:43 PM
atul published D6951: [lib] Introduce `SignedIdentityKeysBlob[ServerRequest/ClientResponse]` types for review.
Mar 3 2023, 12:14 PM
atul added inline comments to D6950: [lib] Introduce `identityKeysBlobValidator` and use in `login`/`register`/`siwe_auth` responders.
Mar 3 2023, 12:13 PM
atul accepted D6938: [lib] Include fact that you were tagged in sidebar creation message.
Mar 3 2023, 11:26 AM
atul accepted D6937: [lib] Extract notifTextsForSidebarCreation.
Mar 3 2023, 11:25 AM
atul accepted D6935: [keyserver] Dedup notifTextsForMessageInfo calls in sendPushNotifs.
Mar 3 2023, 11:02 AM
atul accepted D6936: [keyserver][lib] Allow notificationTexts to return null.
Mar 3 2023, 11:01 AM
atul accepted D6934: [keyserver] Drill MessageDatas into notificationCollapseKey.
Mar 3 2023, 11:01 AM
atul accepted D6933: [keyserver] Drill MessageDatas into sendPushNotifs.
Mar 3 2023, 10:57 AM
atul accepted D6932: [keyserver] Only set sidebarCreation flag for the first message in the sidebar.
Mar 3 2023, 10:52 AM
atul published D6950: [lib] Introduce `identityKeysBlobValidator` and use in `login`/`register`/`siwe_auth` responders for review.
Mar 3 2023, 10:40 AM

Mar 2 2023

atul accepted D6865: [web] Allow media gallery items to click through to a full screen view on web.
Mar 2 2023, 8:48 PM
atul closed D6931: [lib] Sanitize Redux `CryptoStore`.
Mar 2 2023, 2:17 PM
atul committed rCOMM807b989e5ef9: [lib] Sanitize Redux `CryptoStore` (authored by atul).
[lib] Sanitize Redux `CryptoStore`
Mar 2 2023, 2:17 PM
atul updated the test plan for D6931: [lib] Sanitize Redux `CryptoStore`.
Mar 2 2023, 1:42 PM
atul requested review of D6931: [lib] Sanitize Redux `CryptoStore`.
Mar 2 2023, 1:32 PM
atul accepted D6927: [desktop CI] Inherit secrets in github release workflow.

good catch finding this in the docs

Mar 2 2023, 11:51 AM

Mar 1 2023

atul removed a reviewer for D6634: [web] implement emoji keyboard position into message tooltip: atul.
Mar 1 2023, 2:55 PM
atul closed D6916: [native][keyserver] Persist `signedIdentityKeysBlob` on `register` from `native`.
Mar 1 2023, 2:51 PM
atul committed rCOMM2790a1eae3ab: [native][keyserver] Persist `signedIdentityKeysBlob` on `register` from `native` (authored by atul).
[native][keyserver] Persist `signedIdentityKeysBlob` on `register` from `native`
Mar 1 2023, 2:51 PM
atul updated the diff for D6916: [native][keyserver] Persist `signedIdentityKeysBlob` on `register` from `native`.

rebase + land

Mar 1 2023, 2:40 PM
atul closed D6915: [native] Include `signedIdentityKeysBlob` in `login`/`register`/`siwe_auth` requests.
Mar 1 2023, 2:35 PM
atul committed rCOMMf1886b95babb: [native] Include `signedIdentityKeysBlob` in `login`/`register`/`siwe_auth`… (authored by atul).
[native] Include `signedIdentityKeysBlob` in `login`/`register`/`siwe_auth`…
Mar 1 2023, 2:35 PM
atul updated the diff for D6915: [native] Include `signedIdentityKeysBlob` in `login`/`register`/`siwe_auth` requests.

rebase before landing

Mar 1 2023, 2:18 PM
atul added a reviewer for D6915: [native] Include `signedIdentityKeysBlob` in `login`/`register`/`siwe_auth` requests: jon.
Mar 1 2023, 1:40 PM
atul added a reviewer for D6916: [native][keyserver] Persist `signedIdentityKeysBlob` on `register` from `native`: jon.
Mar 1 2023, 1:40 PM
atul added a reviewer for D6915: [native] Include `signedIdentityKeysBlob` in `login`/`register`/`siwe_auth` requests: varun.
Mar 1 2023, 10:33 AM
atul added a reviewer for D6916: [native][keyserver] Persist `signedIdentityKeysBlob` on `register` from `native`: varun.
Mar 1 2023, 10:33 AM