Page MenuHomePhabricator
Feed Advanced Search

Aug 29 2022

max closed D4949: [services] Tunnelbroker - Add copying of the shared directory to the Dockerfile.
Aug 29 2022, 5:47 AM
max committed rCOMM8af45cc98819: [services] Tunnelbroker - Add copying of the shared directory to the Dockerfile (authored by max).
[services] Tunnelbroker - Add copying of the shared directory to the Dockerfile
Aug 29 2022, 5:47 AM
max closed D4952: [services] Tunnelbroker - Adding `anyhow` crate to the Cargo dependencies.
Aug 29 2022, 5:44 AM
max committed rCOMMae2fdb636cd8: [services] Tunnelbroker - Adding `anyhow` crate to the Cargo dependencies (authored by max).
[services] Tunnelbroker - Adding `anyhow` crate to the Cargo dependencies
Aug 29 2022, 5:44 AM

Aug 25 2022

max added a reviewer for D4952: [services] Tunnelbroker - Adding `anyhow` crate to the Cargo dependencies: ashoat.
Aug 25 2022, 8:57 AM
max removed a reviewer for D4952: [services] Tunnelbroker - Adding `anyhow` crate to the Cargo dependencies: varun.
Aug 25 2022, 7:51 AM
max updated the summary of D4952: [services] Tunnelbroker - Adding `anyhow` crate to the Cargo dependencies.
Aug 25 2022, 6:27 AM
max added a comment to D4749: [services] Tunnelbroker - Add timeout for a pop message waiting in AmqpManager tests.

This diff will wait for a decision for all the services in ENG-1703.

Aug 25 2022, 6:19 AM
max updated the summary of D4749: [services] Tunnelbroker - Add timeout for a pop message waiting in AmqpManager tests.
Aug 25 2022, 6:17 AM
max added a comment to D4952: [services] Tunnelbroker - Adding `anyhow` crate to the Cargo dependencies.

@ashoat will be added as a final reviewer after passing current blocking reviewers.

Aug 25 2022, 5:45 AM
max published D4952: [services] Tunnelbroker - Adding `anyhow` crate to the Cargo dependencies for review.
Aug 25 2022, 5:43 AM
max abandoned D4947: [services] Tunnelbroker - Add wait until amqp ready in a first initialization call.
In D4947#143312, @tomek wrote:

It doesn't make too much sense for me in context of the previous diffs. We wanted to have the initialization in another thread and we were afraid that a short lived thread shouldn't be the one that initializes, and now we're blocking until the initialization is done. I guess this whole approach needs some rethinking, because it doesn't feel consistent.
A quick guess is that maybe we should call waitUntilReady inside connect. But still, we need to find a design that is more consistent.

Aug 25 2022, 2:16 AM
max added a comment to D4861: [services] Backup - Add Rust.

Sorry @karol but I would prefer to wait until D4805 lands (hopefully tomorrow), then remove all of the CMake from here before landing. Given past experience I suspect we will end up forking things... there will be some Backlog task to merge the CMakes and it will keep getting punted...

Aug 25 2022, 1:36 AM
max closed D4805: [services] Add CMake file with functions for Corrosion and CXX integration.
Aug 25 2022, 1:33 AM
max committed rCOMMd488b5bc4f82: [services] Add CMake file with functions for Corrosion and CXX integration (authored by max).
[services] Add CMake file with functions for Corrosion and CXX integration
Aug 25 2022, 1:33 AM

Aug 24 2022

max published D4949: [services] Tunnelbroker - Add copying of the shared directory to the Dockerfile for review.
Aug 24 2022, 5:29 PM
max added a comment to D4807: [services] Tunnelbroker - Update CMakeLists and Cargo build with the CXX integration updates.

ESLint Failure is not related to these changes:

fetch-pack: unexpected disconnect while reading sideband packet
Aug 24 2022, 5:28 PM
max updated the diff for D4807: [services] Tunnelbroker - Update CMakeLists and Cargo build with the CXX integration updates.

Fixing Folly.

Aug 24 2022, 5:21 PM
max updated the diff for D4807: [services] Tunnelbroker - Update CMakeLists and Cargo build with the CXX integration updates.

Adding D4949 to the stack.

Aug 24 2022, 5:19 PM
max added a comment to D4805: [services] Add CMake file with functions for Corrosion and CXX integration.
In D4805#141578, @tomek wrote:

Going to resign for now because I'm not a good person to review this diff. Feel free to add me again when this diff is accepted by other reviewers to give a final review.

Aug 24 2022, 8:45 AM
max added 1 blocking reviewer(s) for D4805: [services] Add CMake file with functions for Corrosion and CXX integration: tomek.
Aug 24 2022, 8:45 AM
max added a comment to D4807: [services] Tunnelbroker - Update CMakeLists and Cargo build with the CXX integration updates.

Failure to build in a Docker will be fixed by copying the cxx-corrosion cmake file in a follow-up update of this diff.

Aug 24 2022, 7:44 AM
max updated the diff for D4807: [services] Tunnelbroker - Update CMakeLists and Cargo build with the CXX integration updates.

Rebase on parent changes and corrosion-cxx.cmake directory changes.

Aug 24 2022, 7:29 AM
max updated the diff for D4805: [services] Add CMake file with functions for Corrosion and CXX integration.

Moving cmake file to the /shared/cmake folder after we have a consensus in a chat thread about the shared directory structure.

Aug 24 2022, 7:20 AM
max published D4947: [services] Tunnelbroker - Add wait until amqp ready in a first initialization call for review.
Aug 24 2022, 6:38 AM
max closed D4768: [services] Tunnelbroker - Amqp Manager in parallel threads messages throughput test.
Aug 24 2022, 6:09 AM
max committed rCOMMceb853937917: [services] Tunnelbroker - Amqp Manager in parallel threads messages throughput… (authored by max).
[services] Tunnelbroker - Amqp Manager in parallel threads messages throughput…
Aug 24 2022, 6:09 AM
max added inline comments to D4768: [services] Tunnelbroker - Amqp Manager in parallel threads messages throughput test.
Aug 24 2022, 5:34 AM
max updated the diff for D4768: [services] Tunnelbroker - Amqp Manager in parallel threads messages throughput test.

Rebase on master changes, move threads joining before checks.

Aug 24 2022, 5:33 AM
max closed D4746: [services] Tunnelbroker - Changes in Amqp messages testing to send and listen in different threads.
Aug 24 2022, 4:55 AM
max committed rCOMM6b7ed9068114: [services] Tunnelbroker - Changes in Amqp messages testing to send and listen… (authored by max).
[services] Tunnelbroker - Changes in Amqp messages testing to send and listen…
Aug 24 2022, 4:55 AM
max added inline comments to D4746: [services] Tunnelbroker - Changes in Amqp messages testing to send and listen in different threads.
Aug 24 2022, 4:54 AM
max accepted D4861: [services] Backup - Add Rust.
In D4861#142965, @karol wrote:

@max you've been blocking this for almost a week now, could you please do a review?

Aug 24 2022, 4:53 AM
max updated the diff for D4746: [services] Tunnelbroker - Changes in Amqp messages testing to send and listen in different threads.

Minor fix with removing the ini file from the commit.

Aug 24 2022, 4:33 AM
max updated the diff for D4746: [services] Tunnelbroker - Changes in Amqp messages testing to send and listen in different threads.

Rebase and merge on a master changes.

Aug 24 2022, 4:30 AM
max closed D4744: [services] Tunnelbroker - Fix AMQP client reconnection algorithm.
Aug 24 2022, 4:11 AM
max committed rCOMM5dfe7615251c: [services] Tunnelbroker - Fix AMQP client reconnection algorithm (authored by max).
[services] Tunnelbroker - Fix AMQP client reconnection algorithm
Aug 24 2022, 4:11 AM

Aug 23 2022

max added inline comments to D4749: [services] Tunnelbroker - Add timeout for a pop message waiting in AmqpManager tests.
Aug 23 2022, 11:06 AM
max added a comment to D4805: [services] Add CMake file with functions for Corrosion and CXX integration.

Deferring this diff until consensus in a dev team chat thread for the new shared items directory structure and then move this file though.

Aug 23 2022, 8:49 AM
max closed D4841: [services] Tunnelbroker - Add the ability to change the default config files directory to run in Nix.
Aug 23 2022, 8:22 AM
max committed rCOMM22c5aac90661: [services] Tunnelbroker - Add the ability to change the default config files… (authored by max).
[services] Tunnelbroker - Add the ability to change the default config files…
Aug 23 2022, 8:22 AM
max updated the diff for D4841: [services] Tunnelbroker - Add the ability to change the default config files directory to run in Nix.

Rebase on master changes.

Aug 23 2022, 7:42 AM
max added a comment to D4805: [services] Add CMake file with functions for Corrosion and CXX integration.

I think we should have a separate top-level directory that contains Rust/C++/protos shared between native, services, and web

Aug 23 2022, 5:46 AM
max planned changes to D4540: [services] Tunnelbroker - Rust APNS push notifications A2 library wrapper.
Aug 23 2022, 4:13 AM
max closed D4897: [services] Tunnelbroker - Removing a duplicate condition from `waitUntilReady`.
Aug 23 2022, 3:49 AM
max committed rCOMM6e76f1c96ed5: [services] Tunnelbroker - Removing a duplicate condition from `waitUntilReady` (authored by max).
[services] Tunnelbroker - Removing a duplicate condition from `waitUntilReady`
Aug 23 2022, 3:49 AM

Aug 22 2022

max requested review of D4540: [services] Tunnelbroker - Rust APNS push notifications A2 library wrapper.
Aug 22 2022, 6:43 PM
max requested review of D4749: [services] Tunnelbroker - Add timeout for a pop message waiting in AmqpManager tests.
Aug 22 2022, 6:26 PM
max added inline comments to D4805: [services] Add CMake file with functions for Corrosion and CXX integration.
Aug 22 2022, 5:01 PM
max updated the diff for D4805: [services] Add CMake file with functions for Corrosion and CXX integration.

Removing target_sources in favor of add_library only.

Aug 22 2022, 4:58 PM
max added a comment to D4893: [services] Tunnelbroker - Add FCM crate to Cargo dependencies.

Did we make sure the library's license doesn't have a copyleft?

Aug 22 2022, 3:18 PM
max closed D4893: [services] Tunnelbroker - Add FCM crate to Cargo dependencies.
Aug 22 2022, 3:15 PM
max committed rCOMMadf0b2a90754: [services] Tunnelbroker - Add FCM crate to Cargo dependencies (authored by max).
[services] Tunnelbroker - Add FCM crate to Cargo dependencies
Aug 22 2022, 3:15 PM
max planned changes to D4749: [services] Tunnelbroker - Add timeout for a pop message waiting in AmqpManager tests.
Aug 22 2022, 3:12 PM
max planned changes to D4894: [services] Tunnelbroker - Rust FCM push notifications library wrapper.
Aug 22 2022, 12:02 PM
max added a comment to D4805: [services] Add CMake file with functions for Corrosion and CXX integration.
In D4805#142010, @jon wrote:
In D4805#141989, @max wrote:
In D4805#141985, @varun wrote:

Is it possible to move this to the project root directory so I can use it in native as well?

I think we can do this, but we don't have a folder for such things yet. We are sharing the protobuf files from native/cpp/CommonCpp.
We can use something like native/cpp/CommonCpp/CMake/corrosion-cxx.cmake. What do you think @varun? Also cc to @jon, @karol, @tomek.

Sounds good to me

Aug 22 2022, 11:59 AM
max updated the diff for D4805: [services] Add CMake file with functions for Corrosion and CXX integration.

Moving cmake file to the native/cpp/CMake folder.

Aug 22 2022, 11:55 AM
max added inline comments to D4741: [services] Tunnelbroker - Add `waitUntilReady` function in AmqpManager.
Aug 22 2022, 11:48 AM
max published D4897: [services] Tunnelbroker - Removing a duplicate condition from `waitUntilReady` for review.
Aug 22 2022, 11:47 AM
max added inline comments to D4744: [services] Tunnelbroker - Fix AMQP client reconnection algorithm.
Aug 22 2022, 11:37 AM
max updated the diff for D4744: [services] Tunnelbroker - Fix AMQP client reconnection algorithm.

Minor refactoring to the AmqpManager::connect() to connect after waiting and run first connect outside of the reconnection loop.

Aug 22 2022, 11:36 AM
max added inline comments to D4744: [services] Tunnelbroker - Fix AMQP client reconnection algorithm.
Aug 22 2022, 10:43 AM
max updated the diff for D4744: [services] Tunnelbroker - Fix AMQP client reconnection algorithm.

Rebase on parent changes.

Aug 22 2022, 10:03 AM
max updated the diff for D4744: [services] Tunnelbroker - Fix AMQP client reconnection algorithm.

Rebase/Merge on master changes.
Change constant name from AMQP_RECONNECT_ATTEMPT_INTERVAL to AMQP_RECONNECT_ATTEMPT_INTERVAL_MS.

Aug 22 2022, 8:42 AM
max added a comment to D4805: [services] Add CMake file with functions for Corrosion and CXX integration.
In D4805#141985, @varun wrote:

Is it possible to move this to the project root directory so I can use it in native as well?

Aug 22 2022, 8:07 AM
max closed D4743: [services] Tunnelbroker - Refactor handler names in Amqp `connectInternal()`.
Aug 22 2022, 7:12 AM
max committed rCOMM31bec4fa28ef: [services] Tunnelbroker - Refactor handler names in Amqp `connectInternal()` (authored by max).
[services] Tunnelbroker - Refactor handler names in Amqp `connectInternal()`
Aug 22 2022, 7:12 AM
max updated the diff for D4743: [services] Tunnelbroker - Refactor handler names in Amqp `connectInternal()`.

Rebase/merge on master changes.

Aug 22 2022, 7:05 AM
max closed D4767: [services] Tunnelbroker - Add AMQP shared channel locking.
Aug 22 2022, 7:04 AM
max committed rCOMMc3089d0e93e1: [services] Tunnelbroker - Add AMQP shared channel locking (authored by max).
[services] Tunnelbroker - Add AMQP shared channel locking
Aug 22 2022, 7:04 AM
max closed D4742: [services] Tunnelbroker - Fix `amqpReady` assignment.
Aug 22 2022, 6:59 AM
max committed rCOMM6b6d2067a16f: [services] Tunnelbroker - Fix `amqpReady` assignment (authored by max).
[services] Tunnelbroker - Fix `amqpReady` assignment
Aug 22 2022, 6:59 AM
max updated the diff for D4767: [services] Tunnelbroker - Add AMQP shared channel locking.

Merge on parent changes.

Aug 22 2022, 6:58 AM
max updated the diff for D4742: [services] Tunnelbroker - Fix `amqpReady` assignment.

Merge on a parent changes.

Aug 22 2022, 6:49 AM
max closed D4741: [services] Tunnelbroker - Add `waitUntilReady` function in AmqpManager.
Aug 22 2022, 6:37 AM
max committed rCOMMa767de4a3107: [services] Tunnelbroker - Add `waitUntilReady` function in AmqpManager (authored by max).
[services] Tunnelbroker - Add `waitUntilReady` function in AmqpManager
Aug 22 2022, 6:37 AM
max added inline comments to D4741: [services] Tunnelbroker - Add `waitUntilReady` function in AmqpManager.
Aug 22 2022, 6:31 AM
max updated the diff for D4741: [services] Tunnelbroker - Add `waitUntilReady` function in AmqpManager.

Rebase on master changes.
Simplify while loop.

Aug 22 2022, 6:30 AM
max closed D4740: [services] Tunnelbroker - Wrap `connect()` into `init()` in AmqpManager.
Aug 22 2022, 6:25 AM
max committed rCOMM3f673de2b9e4: [services] Tunnelbroker - Wrap `connect()` into `init()` in AmqpManager (authored by max).
[services] Tunnelbroker - Wrap `connect()` into `init()` in AmqpManager
Aug 22 2022, 6:25 AM
max accepted D4868: [web] Add device ID to redux.
Aug 22 2022, 6:23 AM
max added a comment to D4752: [services] Add reset of the local cloud before unit tests.
In D4752#139305, @tomek wrote:

It seems like the agreement is to keep this but with a different name, because these are not unit tests. That would mean that we should no longer run tests that require the cloud as a part of run_unit_tests.sh.

Aug 22 2022, 6:09 AM
max added a comment to D4752: [services] Add reset of the local cloud before unit tests.

Cool, so let's maybe make a task to rename it, or alternately we could rename in this diff

Aug 22 2022, 6:08 AM
max added a comment to D4752: [services] Add reset of the local cloud before unit tests.
In D4752#138779, @karol wrote:

Yes, I checked and these tests are not really unit.

We could just name them gtests or something. They, in fact, use s3 and dynamoDB.

Aug 22 2022, 6:07 AM
max requested review of D4841: [services] Tunnelbroker - Add the ability to change the default config files directory to run in Nix.
Aug 22 2022, 5:55 AM
max added a comment to D4841: [services] Tunnelbroker - Add the ability to change the default config files directory to run in Nix.

@jon suggested good ideas and I've put them into a possible follow-up for 0.5 as an ENG-1680 task because these changes a breaking and not really relevant to this diff.
The main purpose of this diff is to fix the running of the Tunnelbroker Nix dev environment without breaking changes in a 0.4 version (which is "frozen" for such breaking updates).
But we should consider making the following updates.

Aug 22 2022, 5:55 AM
max retitled D4893: [services] Tunnelbroker - Add FCM crate to Cargo dependencies from [services] Tunnelbroker - Add fcm crate to Cargo dependencies to [services] Tunnelbroker - Add FCM crate to Cargo dependencies.
Aug 22 2022, 5:13 AM
max updated the diff for D4807: [services] Tunnelbroker - Update CMakeLists and Cargo build with the CXX integration updates.

Rebase on the parent changes.

Aug 22 2022, 5:11 AM
max published D4894: [services] Tunnelbroker - Rust FCM push notifications library wrapper for review.
Aug 22 2022, 5:03 AM
max published D4893: [services] Tunnelbroker - Add FCM crate to Cargo dependencies for review.
Aug 22 2022, 5:02 AM
max updated the summary of D4540: [services] Tunnelbroker - Rust APNS push notifications A2 library wrapper.
Aug 22 2022, 4:59 AM
max requested review of D4540: [services] Tunnelbroker - Rust APNS push notifications A2 library wrapper.
Aug 22 2022, 4:02 AM
max added a comment to D4540: [services] Tunnelbroker - Rust APNS push notifications A2 library wrapper.
In D4540#139298, @tomek wrote:

The first line of crate documentation https://crates.io/crates/a2 says that

HTTP/2 Apple Push Notification Service for Rust using Tokio and async sending.

So this is only for APN, which is reflected in function name sendNotifToAPNS.
The Linear task is about handling all the notifs

Rust notification library integration into the C++ codebase including helper functions.

E.g. in a comment there

We should be able to communicate directly with APNs and FCM.

So what is the plan for FCM? I can't see any info about it.

Aug 22 2022, 3:57 AM
max retitled D4540: [services] Tunnelbroker - Rust APNS push notifications A2 library wrapper from [services] Tunnelbroker - Rust push notifications library wrapper to [services] Tunnelbroker - Rust APNS push notifications A2 library wrapper.
Aug 22 2022, 3:55 AM
max planned changes to D4540: [services] Tunnelbroker - Rust APNS push notifications A2 library wrapper.
Aug 22 2022, 3:52 AM
max updated the diff for D4540: [services] Tunnelbroker - Rust APNS push notifications A2 library wrapper.

Changes to use &str instead of String.
Remove sound and badge hardcoding.

Aug 22 2022, 3:51 AM
max requested review of D4749: [services] Tunnelbroker - Add timeout for a pop message waiting in AmqpManager tests.
Aug 22 2022, 3:39 AM
max added a comment to D4740: [services] Tunnelbroker - Wrap `connect()` into `init()` in AmqpManager.

As I've created a ENG-1679 for the discussion about the detach() vs join() problem and this current solution in this diff passed tests and solved the main problem we can go with it now and defer our discussion and decision to the ENG-1679 .
What do you think @tomek and @karol ?

Aug 22 2022, 2:16 AM
max added a comment to D4740: [services] Tunnelbroker - Wrap `connect()` into `init()` in AmqpManager.

There is way too much churn happening on this diff. Have the people involved scheduled a meeting yet?

Aug 22 2022, 2:13 AM

Aug 19 2022

max planned changes to D4752: [services] Add reset of the local cloud before unit tests.
Aug 19 2022, 11:33 AM