ENG-6648 : Refactor database worker
The database worker will now contains code not related to the database (e.g. cryptoStore and other crypto related operations) so I'm renaming it to a general shared-worker.
Depends on D11143
Differential D11236 Authored by michal on Mar 4 2024, 7:19 AM.
Tags None Referenced Files
Subscribers
Details
Summary ENG-6648 : Refactor database worker The database worker will now contains code not related to the database (e.g. cryptoStore and other crypto related operations) so I'm renaming it to a general shared-worker. Depends on D11143 Test Plan Check that the app works, click around, check that the database works.
Diff Detail
Event TimelineHerald added a subscriber: ashoat. · View Herald TranscriptMar 4 2024, 7:19 AM2024-03-04 07:19:31 (UTC-8) Harbormaster completed remote builds in B27300: Diff 37782.Mar 4 2024, 7:34 AM2024-03-04 07:34:49 (UTC-8) Comment Actions Are you sure this change is fully backward compatible? Looks like yes but want to confirm
This revision is now accepted and ready to land.Mar 4 2024, 8:45 AM2024-03-04 08:45:21 (UTC-8) michal added a child revision: D11272: [web] Add cryptoStore to shared worker.Mar 7 2024, 7:59 AM2024-03-07 07:59:02 (UTC-8) Harbormaster completed remote builds in B27386: Diff 37929.Mar 7 2024, 8:06 AM2024-03-07 08:06:24 (UTC-8) Comment Actions Fixed comment. Also renamed the worker name from comm-app-database-${codeVersion} to comm-app-shared-worker-${codeVersion}.
I don't think we expose the shared worker to e.g. keyserver. It should be fully an "implementation detail" for the webapp codebase (except for the moment when the app loads the worker code at the start). If there are multiple tabs open the mismatch will be handled like the version mismatch -> the workers have different names so they shouldn't collide. Harbormaster completed remote builds in B27479: Diff 38028.Mar 12 2024, 10:07 AM2024-03-12 10:07:58 (UTC-7) Harbormaster completed remote builds in B27556: Diff 38127.Mar 18 2024, 5:28 AM2024-03-18 05:28:32 (UTC-7) michal removed a parent revision: D11143: [backup service] Revoke log blob holders.Mar 18 2024, 6:31 AM2024-03-18 06:31:06 (UTC-7) Closed by commit rCOMM6d5574c4eb8f: [web] Rename database worker (authored by Michal Gniadek <michal.gniadek@swmansion.com>). · Explain WhyMar 18 2024, 6:41 AM2024-03-18 06:41:53 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 37782 |