Figure Out Which Crud Requests Need To Be Made Resilient That Currently Aren’T.
Map async
CRUD requests that use liveShardsHelper.mapAsync:
- Users get most recently viewed (?) — not application scoped
- Users add favorite (?) — not application scoped
- User enroll workspaces in block limits experiment — not application scoped
- Application read sync activity log for multiple views — ✅
- Workspace undestroy (?) — not application scoped
- Enterprise account get share infos for report — not application scoped
- Enterprise account get page bundles — not app scoped
- Enterprise account get applications — not app scoped
Also, we have getPublishedPageBundlesForDisplayAsync
, which is a “crud live shards util”. This is used in:
- User list applications and page bundles for display — not app scoped
Another “crud live shards util” is getPageBundleSharingIntentsAsync
. This is used in:
- User get page bundle ids shared via intent — not app scoped
Run on shard for application ID async
CRUD actions:
- Workspace move application — not app scoped
- Workspace add application as clone — not app scoped
- Crud user utils — _isWorkspaceOrApplicationOrPageBundleActiveAndCanShareWithUserAsync. This is used in several other methods in crud user utils, but ultimately circles up to user accept invite and user verify email. — not app scoped
runOnAllShardsInParallelAndExcludeShardTransferRemnantsAsync
- Block installation read helpers — https://github.com/Hyperbase/hyperbase/blob/33d91eabe2e2e2cefbecad956bb1d62b45b2e40e/worker_service/crud_managers/block_installation_read_helpers.tsx#L294
- app scoped crud requests here:
- Application add table as clone ✅
- Block installation read ✅
runReadonlyActionOnShardForApplicationIdAllowingMultipleShardsPerDomainAsync
- Application undestroy block installation - https://github.com/Hyperbase/hyperbase/blob/33d91eabe2e2e2cefbecad956bb1d62b45b2e40e/worker_service/crud_managers/crud_application_action_handlers/private_api/application_undestroy_block_installation.tsx#L204 ✅
- Create app as clone from db, which is called in
- Workspace add application as clone — not app scoped
- Workspace add application from share — not app scoped
- Workspace add application as template clone — not app scoped
Created from: Journal entry: 08-17-22 202208170801
Scratch
- Application add collaborators — requires a write to main, canonical record for app collaborators is on the main shard
uid: 202208171607 tags: #airtable