Page MenuHomePhorge
Feed Search

Jul 17 2025

bartek committed rCOMMcd9996b72e8c: [native] Show alert when DB is corrupt on app startup.
Jul 17 2025, 10:01 AM
bartek accepted D14943: [native] update error message in `DatabaseManager::getQueryExecutor`.
Jul 17 2025, 9:50 AM
bartek added inline comments to D14941: [native] initialize restored query executor.
Jul 17 2025, 9:32 AM
bartek accepted D14941: [native] initialize restored query executor.
Jul 17 2025, 9:12 AM
bartek accepted D14940: [web] initialize restored query executor.
Jul 17 2025, 8:54 AM
bartek accepted D14942: [lib][web][native] implement handler to trigger restore.

As we discussed offline, this should work okay.
There was a risk that the handler could be triggered when restoration had started from outside the handler, when user_data_restore_step_completed was set for a short while. However, if that happened, invariants in the restoration reducer should have been triggered, but such a thing didn't happen when testing this.

Jul 17 2025, 8:51 AM

Jul 16 2025

bartek accepted D14939: [web] persist `restoreBackupState`.
Jul 16 2025, 2:59 PM
bartek accepted D14937: [lib] implement `BackupIsNewerError` class.

Nice! This is a very convenient pattern of providing additional error info

Jul 16 2025, 2:59 PM
bartek accepted D14938: [lib] fix handling `user_data_restore_failed` action.

Thanks

Jul 16 2025, 2:54 PM
bartek accepted D14936: [lib] extract getting store and database version to a separate function.
Jul 16 2025, 2:53 PM
bartek accepted D14935: [lib] extract `AddLogCallback` type.
Jul 16 2025, 2:51 PM
bartek published D14933: [lib][web][native] Add SQLiteAPI method to get aux user IDs for review.
Jul 16 2025, 2:25 PM
bartek published D14932: [web] Add x-large variant to LoadingIndicator for review.
Jul 16 2025, 1:15 PM
bartek updated the diff for D14924: [native] Add screen for restoration error.

Remove testing leftovers

Jul 16 2025, 11:45 AM
bartek added inline comments to D14920: [web] Add UI for tracking restoration progress.
Jul 16 2025, 11:36 AM
bartek attached a referenced file: F10976913: v4_secondary.mp4.
Jul 16 2025, 11:27 AM
bartek attached a referenced file: F10976910: v4_primary.mp4.
Jul 16 2025, 11:27 AM
bartek updated the summary of D14924: [native] Add screen for restoration error.
Jul 16 2025, 11:27 AM
bartek updated the diff for D14924: [native] Add screen for restoration error.

Updated screen contents the same way as in D14920 (applied this feedback). Added videos from https://phab.comm.dev/D14920#411648 to the description.

Jul 16 2025, 11:25 AM
bartek updated the diff for D14920: [web] Add UI for tracking restoration progress.
  • Updated the UI based on the feedback.
  • Extracted the new part into restoration.react.js, leaving log-in-form.react.js almost untouched - this will make deprecating usingRestoreFlow easier in the future. I'll describe some steps on Linear to make it easier.
  • Added the error UI in the same screen - I think it makes easier for reviewers to have all web UI in this one diff, and update logic in the next diffs
Jul 16 2025, 11:24 AM
bartek closed D14913: [lib] Let useInvalidCSATLogOut run once.
Jul 16 2025, 9:53 AM
bartek closed D14914: [lib] Add qrAuthInProgress prop to secondary auth context.
Jul 16 2025, 9:53 AM
bartek committed rCOMM338ecb167ade: [lib] Let useInvalidCSATLogOut run once.
Jul 16 2025, 9:53 AM
bartek committed rCOMMc6ae0b5688ef: [lib] Add qrAuthInProgress prop to secondary auth context.
Jul 16 2025, 9:53 AM
bartek closed D14912: [backup] Fix version info for RPC-uploaded UserKeys.
Jul 16 2025, 9:53 AM
bartek committed rCOMM812003ba9e41: [backup] Fix version info for RPC-uploaded UserKeys.
Jul 16 2025, 9:53 AM
bartek attached a referenced file: F11014602: spinner.mp4.
Jul 16 2025, 8:31 AM
bartek planned changes to D14920: [web] Add UI for tracking restoration progress.

First, I wonder if we should move the "Be careful with your primary device" message to the actual primary device. Something like "If you log out of this device now, you may lose some data."

Jul 16 2025, 8:31 AM
bartek added a comment to D14919: [web] Display PushNotif modal after restoration has finished.

I am afraid there might be more modals that pop-up, but not sure

Jul 16 2025, 8:03 AM
bartek added inline comments to D14916: [lib] Add hook to check if restoration finished.
Jul 16 2025, 8:02 AM
bartek added inline comments to D14915: [native] Show alert when DB is corrupt on app startup.
Jul 16 2025, 8:00 AM

Jul 15 2025

bartek accepted D14930: [lib] avoid setting cookie to anonymous before state is loaded.

Nice!

Jul 15 2025, 2:56 PM
bartek accepted D14929: [lib] avoid overriding existing messages on `setClientDBStoreActionType`.
Jul 15 2025, 1:21 PM
bartek added inline comments to D14927: [native][web] Expose linking the account through gRPC.
Jul 15 2025, 1:14 PM
bartek accepted D14928: [services] avoid useless log spam.
Jul 15 2025, 12:59 PM
bartek attached a referenced file: F10976913: v4_secondary.mp4.
Jul 15 2025, 10:21 AM
bartek attached a referenced file: F10976910: v4_primary.mp4.
Jul 15 2025, 10:21 AM
bartek attached a referenced file: F10976642: v4_web.mp4.
Jul 15 2025, 10:21 AM
bartek added a comment to D14920: [web] Add UI for tracking restoration progress.

Thank you for the feedback!

  • The issue with error screen height seems solved, The QR code screen now takes the same amount of space as the error screen.
  • On the other hand, the progress view now looks empty, compared to the initial video. To fill this empty space, I'd keep these progress steps at the top (in the same place as on the error screen) and fill the empty space with an SVG logo or something similiar? But that would require designing one
  • Also I hid the debug info (it shouldn't affect the prod design) and made the error text no-wrap (it's scrollable when too long).
Jul 15 2025, 10:21 AM

Jul 14 2025

bartek updated the summary of D14916: [lib] Add hook to check if restoration finished.
Jul 14 2025, 2:34 PM
bartek published D14916: [lib] Add hook to check if restoration finished for review.
Jul 14 2025, 2:33 PM
bartek accepted D14923: [native] Correctly handle Farcaster disconnection during the registration flow.
Jul 14 2025, 2:25 PM
bartek published D14925: [native] Navigate to error screen after restoration failure for review.
Jul 14 2025, 2:18 PM
bartek published D14924: [native] Add screen for restoration error for review.
Jul 14 2025, 2:17 PM
bartek added a comment to D14920: [web] Add UI for tracking restoration progress.

Separately, question: does the test_error line wrap?

Jul 14 2025, 2:02 PM
bartek attached a referenced file: F10946946: Screenshot 2025-07-14 at 15.54.15.png.
Jul 14 2025, 1:55 PM
bartek added a comment to D14920: [web] Add UI for tracking restoration progress.

I wonder if we can reduce the amount of text. Where is it sourced from? I'd like to provide suggestions, but I can't see the source here.

Jul 14 2025, 1:54 PM
bartek attached a referenced file: F10946184: v3.mp4.
Jul 14 2025, 1:35 PM
bartek added a comment to D14920: [web] Add UI for tracking restoration progress.

Aligning to the largerst screen (error) looks like this:

Jul 14 2025, 1:35 PM
bartek attached a referenced file: F10939777: v2.mp4.
Jul 14 2025, 10:20 AM
bartek added a comment to D14920: [web] Add UI for tracking restoration progress.

Posting an updated video. My impressions:

  1. The progress screen is now empty, but this might be okay.
  2. All three screens (QR, progress, error) now have different modal dimensions. Aligning them would make the progress screen feel emptier.
Jul 14 2025, 10:20 AM

Jul 11 2025

bartek published D14920: [web] Add UI for tracking restoration progress for review.
Jul 11 2025, 11:05 AM
bartek published D14921: [lib] Add actions to force set restoration state for review.
Jul 11 2025, 11:05 AM
bartek published D14919: [web] Display PushNotif modal after restoration has finished for review.
Jul 11 2025, 10:39 AM
bartek published D14917: [native] Keep LoggedOutModal until restoration finishes for review.
Jul 11 2025, 10:39 AM
bartek published D14918: [web] Gate logged out screen on restoration finish for review.
Jul 11 2025, 10:38 AM
bartek published D14915: [native] Show alert when DB is corrupt on app startup for review.
Jul 11 2025, 9:26 AM
bartek published D14913: [lib] Let useInvalidCSATLogOut run once for review.
Jul 11 2025, 8:45 AM
bartek published D14914: [lib] Add qrAuthInProgress prop to secondary auth context for review.
Jul 11 2025, 8:44 AM
bartek added inline comments to D14911: [native] Connect Farcaster DCs during registration.
Jul 11 2025, 7:35 AM
bartek accepted D14908: [lib] create holders after restoring.

D14885 and D14909 are now landed

Jul 11 2025, 7:01 AM
bartek accepted D14907: [lib][web][native] implement SQLiteAPI method to get holders.
Jul 11 2025, 6:58 AM

Jul 10 2025

bartek accepted D14910: [lib] remove threadActivityStore asserting.
Jul 10 2025, 2:55 PM
bartek published D14912: [backup] Fix version info for RPC-uploaded UserKeys for review.
Jul 10 2025, 2:55 PM
bartek closed D14909: [lib] Await user data restore steps outside dispatchActionPromise.
Jul 10 2025, 2:15 PM
bartek committed rCOMM2c91810b3f2e: [lib] Await user data restore steps outside dispatchActionPromise.
Jul 10 2025, 2:15 PM
bartek published D14909: [lib] Await user data restore steps outside dispatchActionPromise for review.
Jul 10 2025, 9:14 AM
bartek closed D14899: [native] Remove BackgroundIdentityLoginHandler.
Jul 10 2025, 8:17 AM
bartek committed rCOMM706a5d5ba0c4: [native] Remove BackgroundIdentityLoginHandler.
Jul 10 2025, 8:16 AM
bartek committed rCOMMf265768fcfb0: [identity] Add missing Debug fields for ServerConfig.
Jul 10 2025, 8:16 AM
bartek closed D14898: [identity] Add missing Debug fields for ServerConfig.
Jul 10 2025, 8:16 AM
bartek closed D14887: [native] Add callback on compaction creation.
Jul 10 2025, 8:16 AM
bartek closed D14886: [native] Gate compaction creation on UserData restore.
Jul 10 2025, 8:16 AM
bartek committed rCOMM4ac2bb9903ed: [native] Add callback on compaction creation.
Jul 10 2025, 8:16 AM
bartek closed D14885: [lib] Track UserData restore and make it resumable.
Jul 10 2025, 8:16 AM
bartek committed rCOMM80bd4dc92ac5: [native] Gate compaction creation on UserData restore.
Jul 10 2025, 8:16 AM
bartek committed rCOMM6a3200bd83f8: [lib] Track UserData restore and make it resumable.
Jul 10 2025, 8:16 AM
bartek closed D14884: [lib] Handle existing backup actions in restoreBackupState reducer.
Jul 10 2025, 8:16 AM
bartek committed rCOMM4eb0b20a1900: [lib] Handle existing backup actions in restoreBackupState reducer.
Jul 10 2025, 8:16 AM
bartek closed D14883: [native] Dispatch UserKeys creation success in useRestoreProtocol.
Jul 10 2025, 8:16 AM
bartek committed rCOMM70c118283a56: [native] Dispatch UserKeys creation success in useRestoreProtocol.
Jul 10 2025, 8:16 AM
bartek closed D14882: [native] Return backupID from restoreUser() Identity call.
Jul 10 2025, 8:16 AM
bartek committed rCOMMb08d7938528b: [native] Return backupID from restoreUser() Identity call.
Jul 10 2025, 8:16 AM
bartek accepted D14906: [native] get attachments during compaction and log upload based on holders table.
Jul 10 2025, 8:15 AM
bartek accepted D14905: [lib][web][native] remove holders asserting and blacklist holder store.
Jul 10 2025, 8:13 AM

Jul 9 2025

bartek accepted D14904: [tunnelbroker] Increase a heartbeat timeout.

I was thinking of even 10s (or 9 to be equal with the client value) but 6s should be enough too

Jul 9 2025, 2:34 PM
bartek updated the diff for D14885: [lib] Track UserData restore and make it resumable.

Use named constants for steps

Jul 9 2025, 10:24 AM
bartek accepted D14903: [lib] Modify thread specs so that they contain a protocol function.
Jul 9 2025, 10:18 AM

Jul 8 2025

bartek added inline comments to D14885: [lib] Track UserData restore and make it resumable.
Jul 8 2025, 2:36 PM
bartek updated the diff for D14884: [lib] Handle existing backup actions in restoreBackupState reducer.
  • Added fullBackupSupport guard
  • Separated invariant condition for restoreUserActionTypes
Jul 8 2025, 2:34 PM
bartek added inline comments to D14884: [lib] Handle existing backup actions in restoreBackupState reducer.
Jul 8 2025, 2:33 PM
bartek updated the diff for D14883: [native] Dispatch UserKeys creation success in useRestoreProtocol.
  • Renamed useRestoreProtocol return type to RestoreProtocolResult, to avoid naming ambiguity with the other RestoreUserResult which is returned by the Identity RPC call.
  • Added latestBackupInfo to the type
  • Used the extended type and the fact that it's returned in dispatchActionPromise to update BackupStore, instead of dispatching a separate action just to update this store.
Jul 8 2025, 2:25 PM
bartek added inline comments to D14883: [native] Dispatch UserKeys creation success in useRestoreProtocol.
Jul 8 2025, 2:24 PM
bartek accepted D14902: [lib] process holders ops.
Jul 8 2025, 1:44 PM
bartek accepted D14901: [web][native] migrate holders to SQLite.
Jul 8 2025, 1:43 PM

Jul 7 2025

bartek accepted D14896: [lib] read holders on app start and populate redux.
Jul 7 2025, 12:17 PM
bartek accepted D14895: [web] implement holders ops processing on shared worker.
Jul 7 2025, 12:15 PM
bartek accepted D14894: [native] implement C++ ops for holders.
Jul 7 2025, 12:14 PM
bartek added inline comments to D14893: [lib] refactor holders reducer to ops pattern.
Jul 7 2025, 11:27 AM
bartek accepted D14892: [lib] implement holders ops.
Jul 7 2025, 11:20 AM