Page MenuHomePhabricator
Feed Advanced Search

Feb 22 2024

michal requested review of D11132: [web] Tab sync redux actions.
Feb 22 2024, 8:02 AM
michal requested review of D11143: [backup service] Revoke log blob holders.
Feb 22 2024, 6:46 AM
michal requested review of D11074: [native] Stop backup client in background.
Feb 22 2024, 6:44 AM
michal added inline comments to D11074: [native] Stop backup client in background.
Feb 22 2024, 6:44 AM
michal updated the diff for D11043: [web] Restore compaction.

Fix import

Feb 22 2024, 6:17 AM
michal added inline comments to D11042: [web] Import backup client.
Feb 22 2024, 6:16 AM
michal updated the diff for D11042: [web] Import backup client.

Simplify

Feb 22 2024, 6:16 AM
michal requested review of D11142: [web] Add backup testing screen.
Feb 22 2024, 4:49 AM

Feb 20 2024

michal requested review of D11123: [web] Proxy tunnelbroker messages to the active tab.
Feb 20 2024, 7:36 AM
michal accepted D11121: [web] update `.wasm` files.
Feb 20 2024, 6:56 AM
michal updated the diff for D11118: [web] Only open tunnelbroker on the active tab.

Fix a bug

Feb 20 2024, 6:17 AM
michal updated the test plan for D11118: [web] Only open tunnelbroker on the active tab.
Feb 20 2024, 6:10 AM
michal requested review of D11118: [web] Only open tunnelbroker on the active tab.
Feb 20 2024, 4:58 AM
michal added inline comments to D11111: [lib] introduce stateless `olm` API.
Feb 20 2024, 3:13 AM

Feb 19 2024

michal requested review of D11114: [web] Release lock on app hot reload.
Feb 19 2024, 10:20 AM
michal requested review of D11113: [web] Introduce useWebLock.
Feb 19 2024, 10:14 AM
michal updated the diff for D11044: [web] Restore logs.

Fix error handling.

Feb 19 2024, 9:47 AM
michal added inline comments to D11043: [web] Restore compaction.
Feb 19 2024, 9:46 AM
michal updated the diff for D11043: [web] Restore compaction.

Update error handling.

Feb 19 2024, 9:41 AM
michal updated the diff for D11042: [web] Import backup client.

Fix the webpack issue and the urls pointing to the wasm file. Renamed databaseModuleFilePath. Removed unnecessary code in the dockerfile.

Feb 19 2024, 9:40 AM
michal updated the diff for D11041: [backup-client] Compile to wasm.
  • Renamed _generated folder to wasm because it will also include the flow types
  • Made the clean-backup-client-wasm skip the flow type file, and the eslint skip only the generated file
  • Added a run_wasmpack.sh script (inspired by run_emscripten.sh) as there are two additional actions we need to take and I think this is enough complexity to warrant a script file:
    • remove the autogenerated .gitignore file
    • add "@generated" at the top of the generated JS file
  • Update the flow types
Feb 19 2024, 9:38 AM
michal updated the diff for D11038: [native] Download and apply logs.

Fix build issue

Feb 19 2024, 8:57 AM
michal updated the diff for D11038: [native] Download and apply logs.

Move the function call to the correct place.

Feb 19 2024, 8:04 AM
michal added inline comments to D10859: [native] Create and upload backup compaction.
Feb 19 2024, 7:56 AM
michal updated the diff for D10859: [native] Create and upload backup compaction.

Fix naming

Feb 19 2024, 7:56 AM
michal added inline comments to D10858: [native] Notify backup uploader after compaction creation.
Feb 19 2024, 7:51 AM

Feb 16 2024

michal abandoned D11077: [web/native] Clear device specific data after restoration.

In that case, I will abandon this diff as we will go with a different approach.

Feb 16 2024, 4:13 AM
michal added inline comments to D11041: [backup-client] Compile to wasm.
Feb 16 2024, 4:01 AM
michal updated the diff for D11041: [backup-client] Compile to wasm.

Reverted the changes to emscripten buildkite CI job for now, I will add a new buildkite job in a later revision. Add the target folder to the general yarn workspace web clean command.

Feb 16 2024, 3:39 AM
michal abandoned D4652: [draft] [services] Blob - Add Logs.

Old diff, that isn't applicable to the current blob service.

Feb 16 2024, 2:43 AM
michal commandeered D4652: [draft] [services] Blob - Add Logs.
Feb 16 2024, 2:43 AM
michal abandoned D4653: [draft] [services] Backup - Add Logs.

Old diff, that isn't applicable to the current backup service.

Feb 16 2024, 2:43 AM
michal commandeered D4653: [draft] [services] Backup - Add Logs.
Feb 16 2024, 2:42 AM
michal abandoned D4342: [DRAFT] [services] Backup/Blob - Use less oneof.

Old diff, that isn't applicable to the current backup service.

Feb 16 2024, 2:40 AM
michal commandeered D4342: [DRAFT] [services] Backup/Blob - Use less oneof.
Feb 16 2024, 2:39 AM

Feb 15 2024

michal added a comment to D11041: [backup-client] Compile to wasm.

Seems like the emscripten CI uses emscripten/emsdk:3.1.17 docker image which probably doesn't have yarn. In that case it would probably be easier to introduce a new buildkite job for backup-client-wasm.

Feb 15 2024, 7:53 AM
michal updated the diff for D11043: [web] Restore compaction.

Rebase

Feb 15 2024, 7:32 AM
michal added inline comments to D11042: [web] Import backup client.
Feb 15 2024, 7:32 AM
michal updated the diff for D11042: [web] Import backup client.

Rebase

Feb 15 2024, 7:30 AM
michal added a comment to D11041: [backup-client] Compile to wasm.

Confused why Phabricator isn't hiding the files in the _generated folder.

Me too, I'm not sure why. I wonder if it's broken? D10838 (a random diff which modified comm_query_executor) also doesn't have hidden files.

Feb 15 2024, 7:29 AM
michal updated the diff for D11041: [backup-client] Compile to wasm.

Updated the approach to be more similar to the comm_query_executor (so no additional yarn workspace, the rust crate is now part of web).

Feb 15 2024, 7:29 AM
michal accepted D11091: [native] update Cargo.lock.
Feb 15 2024, 6:18 AM

Feb 14 2024

michal requested review of D11077: [web/native] Clear device specific data after restoration.
Feb 14 2024, 7:46 AM
michal published D11074: [native] Stop backup client in background for review.
Feb 14 2024, 6:43 AM
michal published D11044: [web] Restore logs for review.
Feb 14 2024, 6:43 AM
michal requested review of D11043: [web] Restore compaction.
Feb 14 2024, 5:45 AM
michal requested review of D11042: [web] Import backup client.
Feb 14 2024, 5:44 AM
michal updated the diff for D11041: [backup-client] Compile to wasm.

Move actual WASM compilation to a separate crate -> web/backup-client-wasm.

Feb 14 2024, 5:06 AM

Feb 13 2024

michal planned changes to D11041: [backup-client] Compile to wasm.
Feb 13 2024, 8:12 AM
michal updated the diff for D11041: [backup-client] Compile to wasm.

The only remaining thing to test is removing the [lib] section of the backup_client crate.

Feb 13 2024, 8:12 AM
michal planned changes to D11041: [backup-client] Compile to wasm.
Feb 13 2024, 7:26 AM
michal updated the diff for D11041: [backup-client] Compile to wasm.

The minimal WASM changes triggered the CI error. Now I'm testing removing serde-wasm-bindgen which was the only new WASM crate in native_rust_library (the others already existed as dependencies of comm-opaque2 crate).

Feb 13 2024, 7:26 AM
michal planned changes to D11041: [backup-client] Compile to wasm.
Feb 13 2024, 6:44 AM
michal updated the diff for D11041: [backup-client] Compile to wasm.

Minimal changes for WASM to see if they trigger the CI failure.

Feb 13 2024, 6:44 AM
michal planned changes to D11041: [backup-client] Compile to wasm.
Feb 13 2024, 5:48 AM
michal updated the diff for D11041: [backup-client] Compile to wasm.

Add wasm-only dependencies, without any code changes

Feb 13 2024, 5:47 AM
michal planned changes to D11041: [backup-client] Compile to wasm.
Feb 13 2024, 4:55 AM
michal requested review of D11041: [backup-client] Compile to wasm.
Feb 13 2024, 4:46 AM
michal updated the diff for D11040: [comm lib] Add additional features.

Missed lock for the native library

Feb 13 2024, 3:55 AM

Feb 12 2024

michal abandoned D9925: [native] Rust futures in C++.

Abandoning as it is an old diff. Something similar to this has been implemented in D10858

Feb 12 2024, 7:38 AM
michal requested review of D11040: [comm lib] Add additional features.
Feb 12 2024, 7:30 AM
michal requested review of D11039: [backup] Move authentication inside of the websocket.
Feb 12 2024, 7:25 AM
michal requested review of D11038: [native] Download and apply logs.
Feb 12 2024, 7:22 AM
michal added a comment to D10987: [native] Download and restore compaction.

Updated the test plan to log out and in.

Feb 12 2024, 2:44 AM
michal updated the test plan for D10987: [native] Download and restore compaction.
Feb 12 2024, 2:43 AM

Feb 9 2024

michal accepted D11004: [dev env] add toolchain file.

Nice!

Feb 9 2024, 2:26 AM

Feb 7 2024

michal requested review of D10987: [native] Download and restore compaction.
Feb 7 2024, 10:04 AM
michal requested review of D10986: [backup client] Downloading logs.
Feb 7 2024, 10:01 AM
michal requested review of D10985: [backup client] Refactor ws creation.
Feb 7 2024, 9:53 AM
michal requested review of D10984: [backup client] Merge errors.
Feb 7 2024, 9:52 AM
michal updated the diff for D10859: [native] Create and upload backup compaction.

Simplified the codeflow a bit after changes to the previous diff.

Feb 7 2024, 9:32 AM
michal requested review of D10858: [native] Notify backup uploader after compaction creation.
Feb 7 2024, 9:30 AM
michal updated the test plan for D10858: [native] Notify backup uploader after compaction creation.
Feb 7 2024, 9:30 AM
michal updated the diff for D10858: [native] Notify backup uploader after compaction creation.

Decided to change the approach a bit:

Feb 7 2024, 9:27 AM
michal accepted D10965: [lib][web][native] Handle invalidSessionDowngrade for identity actions.
Feb 7 2024, 4:02 AM
michal accepted D10963: [web][native] Handle invalidSessionDowngrade for deleteKeyserverAccountActionTypes.success.
Feb 7 2024, 3:52 AM
michal accepted D10962: [lib] Add identityInvalidSessionDowngrade.
Feb 7 2024, 3:39 AM
michal accepted D10835: Implement unencrypted log capture without attachments.
Feb 7 2024, 3:15 AM

Feb 2 2024

michal accepted D10905: Implement restore from backup logs.
Feb 2 2024, 10:23 AM
michal requested changes to D10835: Implement unencrypted log capture without attachments.

Actually one question: logs won't be captured if backupID isn't set. It's set during compaction creation and only primary device will run this code. So the code is correct, but it will currently still create a session on all devices, including secondary devices. Additionally, on the secondary device, the session will never be cleared (detached). Do you think this could have a performance impact/ it's worth only enabling session if we have created a compaction?

Feb 2 2024, 10:12 AM
michal accepted D10838: Implement log encryption using native AES utilities.
Feb 2 2024, 10:01 AM
michal accepted D10835: Implement unencrypted log capture without attachments.
Feb 2 2024, 9:50 AM
michal accepted D10932: [reports] Always create AuthorizationCredential directly.
Feb 2 2024, 9:18 AM

Jan 31 2024

michal accepted D10860: [native][web] Clear user specific data on identity actions.
Jan 31 2024, 10:30 AM
michal accepted D10795: [lib] Stop reducing data loaded, CSAT, theme and user info on set new session.
Jan 31 2024, 8:16 AM
michal added inline comments to D10808: [web] hook to get device key upload data.
Jan 31 2024, 3:49 AM

Jan 30 2024

michal accepted D10860: [native][web] Clear user specific data on identity actions.

It might be better to for navInfo do the same thing we do for actualizedCalendarQuery - in specific reducer use defaultCalendarQuery(getConfig().platformDetails.platform).

Jan 30 2024, 9:01 AM
michal accepted D10796: [lib] Refactor set new session in entry, invite links, thread activity reducers.
Jan 30 2024, 8:26 AM
michal requested changes to D10795: [lib] Stop reducing data loaded, CSAT, theme and user info on set new session.
Jan 30 2024, 8:02 AM
michal accepted D10794: [lib] Refactor set new session in calendar query/filters reducers.
Jan 30 2024, 4:00 AM
michal added inline comments to D10857: [backup] Namespace log id in db.
Jan 30 2024, 3:49 AM
michal accepted D10778: [web] Handle invalid session downgrade for identity delete account.
Jan 30 2024, 3:43 AM
michal accepted D10783: [lib] Set data loaded to false on delete account.
Jan 30 2024, 3:38 AM

Jan 29 2024

michal accepted D10661: [lib] Refactor logout in thread activity reducer.
Jan 29 2024, 7:23 AM
michal accepted D10659: [lib] Refactor logout in invite links reducer.
Jan 29 2024, 6:25 AM
michal accepted D10658: [lib] Refactor logout in keyserver reducer.
Jan 29 2024, 6:23 AM
michal added inline comments to D10653: lib] Refactor message reducer.
Jan 29 2024, 5:43 AM
michal accepted D10653: lib] Refactor message reducer.
Jan 29 2024, 5:40 AM
michal accepted D10648: [lib][web][native] Stop removing some state on keyserver logout.
Jan 29 2024, 5:34 AM
michal requested review of D10859: [native] Create and upload backup compaction.
Jan 29 2024, 3:02 AM