Page MenuHomePhorge
Feed All Stories

Mar 9 2023

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, 8:07 PM
atul committed rCOMM1d4b3fbc6fa0: Revert "[keyserver] Use `build:debug` instead of `build` in `postinstall`".
Mar 9 2023, 8: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, 8: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, 8: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, 8: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, 8:02 PM
jon added inline comments to D7022: [comm-opaque] Create opaque 2.0 facade for usage in Comm.
Mar 9 2023, 7:53 PM
ashoat 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? Just want to make that sure that running build:debug before we run build doesn't break build (doubt it)

Mar 9 2023, 7:47 PM
ashoat requested changes to D7023: [web] Add Flow types for WebCrypto / SubtleCrypto.

(To your queue and off my mine while you figure things out with @kamil)

Mar 9 2023, 7:46 PM
ashoat accepted D6558: Added web tests to .lintstagedrc and CI.
Mar 9 2023, 7:44 PM
ashoat accepted D6964: [native] Added new editing messages type to MessageSpecs in C++.
Mar 9 2023, 7:43 PM
atul accepted D6558: Added web tests to .lintstagedrc and CI.
Mar 9 2023, 7:42 PM
atul closed D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.
Mar 9 2023, 7:40 PM
atul committed rCOMM234fa98e436f: [keyserver] Use `build:debug` instead of `build` in `postinstall`.
Mar 9 2023, 7:39 PM
bartek added a comment to D7023: [web] Add Flow types for WebCrypto / SubtleCrypto.

Oops, This is a duplicate of D6994 - I'll sync with @kamil and we'll decide what to do

Mar 9 2023, 7:39 PM
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, 7:38 PM
atul added inline comments to D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.
Mar 9 2023, 7:38 PM
jon added inline comments to D7020: [comm-opaque] Add dependencies for client and server logic.
Mar 9 2023, 7:32 PM
bartek published D7024: [web] Implement AES encryption functions for review.
Mar 9 2023, 7:26 PM
bartek updated the diff for D6558: Added web tests to .lintstagedrc and CI.
  • Updated diff description
  • Added CI
  • Removed lint-staged for desktop and native > On native we have only one dummy test which is failing
Mar 9 2023, 6:51 PM
jon requested review of D7020: [comm-opaque] Add dependencies for client and server logic.
Mar 9 2023, 6:40 PM
jon requested review of D7022: [comm-opaque] Create opaque 2.0 facade for usage in Comm.
Mar 9 2023, 6:40 PM
bartek retitled D6558: Added web tests to .lintstagedrc and CI from Added web, native and desktop tests to .lintstagedrc
Mar 9 2023, 6:38 PM
varun added inline comments to D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.
Mar 9 2023, 6:30 PM
bartek planned changes to D6558: Added web tests to .lintstagedrc and CI.
Mar 9 2023, 6:29 PM
bartek commandeered D6558: Added web tests to .lintstagedrc and CI.
Mar 9 2023, 6:29 PM
bartek requested review of D7023: [web] Add Flow types for WebCrypto / SubtleCrypto.
Mar 9 2023, 6:27 PM
ginsu accepted D6964: [native] Added new editing messages type to MessageSpecs in C++.

Not an expert in C++ but your code follows the pattern I used when writing the C++ message spec for reactions. Would be helpful to get a second pair of eyes here

Mar 9 2023, 6:25 PM
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, 6:24 PM
ginsu requested changes to D6963: [lib] Added new MessageSpec for editing messages.

I think we should consider if we also need shimUnsupportedMessageInfo and unshimMessageInfo. These functions will help us support older native clients that haven't been updated yet.

Mar 9 2023, 6:21 PM
Harbormaster failed remote builds in B17213: Diff 23577 for D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`!
Mar 9 2023, 6:20 PM
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, 6:19 PM
varun accepted D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.
Mar 9 2023, 6:18 PM
bartek added a comment to D7019: [web] Fix missing WebCrypto mock in tests.

Now that they're working, can we update this diff to include them in CI?

Mar 9 2023, 6:17 PM
atul accepted D6922: Permanently enable rescind and visible notifications processing via NotificationService.
Mar 9 2023, 6:16 PM
atul accepted D6921: Persist rescinds payloads in NSE so that AppDelegate can update thread statuses on app start..
Mar 9 2023, 6:14 PM
atul published D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall` for review.
Mar 9 2023, 6:10 PM
ginsu accepted D6962: [lib][keyserver] Add editing message type to messageTypes.

Accepting, but if what I suggested doesn't take too long might be worthwhile to update

Mar 9 2023, 6:04 PM
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, 5:59 PM
ginsu accepted D6961: [lib] Create types for message editing.
Mar 9 2023, 5:56 PM
ashoat added inline comments to D7019: [web] Fix missing WebCrypto mock in tests.
Mar 9 2023, 5:56 PM
ashoat accepted D7019: [web] Fix missing WebCrypto mock in tests.

Seems reasonable

Mar 9 2023, 5:55 PM
ashoat accepted D6966: [lib] Add 'hasBeenEdited' status to messages.
Mar 9 2023, 5:52 PM
bartek requested review of D7019: [web] Fix missing WebCrypto mock in tests.
Mar 9 2023, 5:31 PM
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, 5:23 PM
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, 5:01 PM
bartek added inline comments to D7002: [native] Create AESCrypto Expo module.
Mar 9 2023, 1:15 PM
kuba requested review of D7018: [web] Displaying 'Edit' label next to edited messages.
Mar 9 2023, 11:57 AM
michal added inline comments to D6973: [web] Extract from drawer item code that can be reused in community items.
Mar 9 2023, 11:57 AM
kuba requested review of D7017: [web] Added displaying 'Labels' to InlineEngagment.
Mar 9 2023, 11:50 AM
kamil closed D6986: [web-db] add `localForage` types.
Mar 9 2023, 11:19 AM
kamil committed rCOMM97124d198d47: [web-db] add `localForage` types.
Mar 9 2023, 11:19 AM
kamil closed D6985: [web-db] add `localForage` dependency.
Mar 9 2023, 11:19 AM
kamil committed rCOMM69d3fd3666aa: [web-db] add `localForage` dependency.
Mar 9 2023, 11:19 AM
bartek added a reviewer for D7007: [native][AES] Implement encrypt function on Android: varun.
Mar 9 2023, 10:42 AM
bartek added a reviewer for D7004: [native][AES] Implement generateKey function: varun.
Mar 9 2023, 10:42 AM
kamil closed D6989: [web-db] copy `sql-wasm.wasm` from node modules to `dist`.
Mar 9 2023, 10:41 AM
kamil committed rCOMM814966ac416b: [web-db] copy `sql-wasm.wasm` from node modules to `dist`.
Mar 9 2023, 10:41 AM
kamil closed D6981: [web-db] add `sql.js` dependency.
Mar 9 2023, 10:41 AM
kamil committed rCOMM9d60536f0d8d: [web-db] add `sql.js` dependency.
Mar 9 2023, 10:41 AM
kamil accepted D6972: [web] Make pressing Inbox button reset selected community.
Mar 9 2023, 10:02 AM
kamil accepted D6970: [web] Add a selector for fetching picked community in Chat tab.

I still prefer selecting by hand, but this approach is also correct

Mar 9 2023, 9:53 AM
kuba updated the diff for D6966: [lib] Add 'hasBeenEdited' status to messages.

Removed 'hasBeenEdited' variable from 'RobotextChatMessageInfoItem'

Mar 9 2023, 9:50 AM
kuba updated the diff for D6966: [lib] Add 'hasBeenEdited' status to messages.

Add 'hasBeenEdited' to code for native to be able to access the variable

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

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:08 AM
ashoat closed D7015: [native] Replace LayoutAnimation for driving fixed Tooltip animation.
Mar 9 2023, 4:47 AM
ashoat committed rCOMM5da7d4f027af: [native] Replace LayoutAnimation for driving fixed Tooltip animation.
Mar 9 2023, 4:47 AM
ashoat closed D7014: [native] Add transformX animation to ReactionSelectionPopover.
Mar 9 2023, 4:46 AM
ashoat committed rCOMM500d0970aa70: [native] Add transformX animation to ReactionSelectionPopover.
Mar 9 2023, 4:46 AM
ashoat closed D7013: [native] Add transformY animation to ReactionSelectionPopover.
Mar 9 2023, 4:46 AM
ashoat committed rCOMM6d897bc853d8: [native] Add transformY animation to ReactionSelectionPopover.
Mar 9 2023, 4:46 AM
ashoat closed D7012: [native] Animate opacity and scale of ReactionSelectionPopover.
Mar 9 2023, 4:46 AM
ashoat closed D7011: [native] Return popoverLocation from useReactionSelectionPopoverPosition.
Mar 9 2023, 4:46 AM
ashoat committed rCOMM0e9a5b52ebef: [native] Animate opacity and scale of ReactionSelectionPopover.
Mar 9 2023, 4:46 AM
ashoat committed rCOMM7c524bbbe6d6: [native] Return popoverLocation from useReactionSelectionPopoverPosition.
Mar 9 2023, 4:46 AM
ashoat closed D7010: [native] Dedup useReactionSelectionPopoverPosition calls.
Mar 9 2023, 4:46 AM
ashoat committed rCOMMa2c24bcb8589: [native] Dedup useReactionSelectionPopoverPosition calls.
Mar 9 2023, 4:46 AM
ginsu accepted D7015: [native] Replace LayoutAnimation for driving fixed Tooltip animation.
Mar 9 2023, 4:44 AM
ginsu accepted D7014: [native] Add transformX animation to ReactionSelectionPopover.
Mar 9 2023, 4:41 AM
atul closed D7016: [nix] Launch `redis-server` from `REDIS_CACHE_DIR`.
Mar 9 2023, 4:39 AM
atul committed rCOMM8587565aae95: [nix] Launch `redis-server` from `REDIS_CACHE_DIR`.
Mar 9 2023, 4:39 AM
ginsu accepted D7013: [native] Add transformY animation to ReactionSelectionPopover.
Mar 9 2023, 4:37 AM
ginsu accepted D7012: [native] Animate opacity and scale of ReactionSelectionPopover.
Mar 9 2023, 4:34 AM
ginsu accepted D7011: [native] Return popoverLocation from useReactionSelectionPopoverPosition.
Mar 9 2023, 4:31 AM
ginsu accepted D7010: [native] Dedup useReactionSelectionPopoverPosition calls.
Mar 9 2023, 4:28 AM
ashoat accepted D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.

One thing not mentioned by @varun is that the current AUTH_TOKEN hack we use for keyserver is implemented on a per-service basis. So we can roll out a new service without "authorization headers", while maintaining the current keyserver paradigm.

Mar 9 2023, 4:04 AM
ashoat added a comment to D7003: [Identity] Add client <-> identity protobuf defintions.

Ahh sorry that was a bad misreading on my part, I get what you mean about user IDs now.

Mar 9 2023, 4:03 AM
jon requested review of D7003: [Identity] Add client <-> identity protobuf defintions.
Mar 9 2023, 2:54 AM
jon added a comment to D7003: [Identity] Add client <-> identity protobuf defintions.

Huh wait a user should know their userID, did you guys discard of the concept of a userID entirely because you didn't see it in the whitepaper?

Mar 9 2023, 2:54 AM
jon added a comment to D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.

we can deprecate the original service (the one being renamed here)

Mar 9 2023, 2:39 AM

Mar 8 2023

varun added a comment to D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.

the set of RPCs that devices will call is different than the set that ashoat's keyserver can call today. also, the actual messages are slightly different, as the linear issue i linked explains. we think it makes more sense to just have a separate service for devices, rather than introduce a bunch of conditional logic in the current service. of course, both services will be served by the Identity Service (this is pretty simple). eventually, when we switch to the identity service being the source of truth for user info, we can deprecate the original service (the one being renamed here)

Mar 8 2023, 11:40 PM
varun added a comment to D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.

I'm more confused as to why are we're separating the protos / services out at all

Mar 8 2023, 11:32 PM
ashoat added a comment to D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.

I'm more confused as to why are we're separating the protos / services out at all

Mar 8 2023, 11:25 PM
ashoat requested changes to D7003: [Identity] Add client <-> identity protobuf defintions.
  1. Huh wait a user should know their userID, did you guys discard of the concept of a userID entirely because you didn't see it in the whitepaper?
  2. I don't understand why we're separating into two services, can you explain that?
Mar 8 2023, 11:25 PM
jon added a comment to D7003: [Identity] Add client <-> identity protobuf defintions.

how about identity.general? identity.client feels weird

Mar 8 2023, 10:07 PM
varun added a comment to D7003: [Identity] Add client <-> identity protobuf defintions.

how about identity.general? identity.client feels weird

Mar 8 2023, 10:00 PM
ashoat requested review of D7011: [native] Return popoverLocation from useReactionSelectionPopoverPosition.
Mar 8 2023, 10:00 PM
jon added a comment to D7003: [Identity] Add client <-> identity protobuf defintions.

Hmm are we using usernames as an identifier? Ideally we use user IDs for that

Mar 8 2023, 9:54 PM
jon added a comment to D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.

This honestly feels like bike-shedding… I’d love if we could start out the work on this project with a focus on derisking the big risks, rather than renaming things

Mar 8 2023, 9:52 PM
ashoat requested review of D7015: [native] Replace LayoutAnimation for driving fixed Tooltip animation.
Mar 8 2023, 9:47 PM