Figure Out Which Crud Requests Need To Be Made Resilient That Currently Aren’T.

Map async

CRUD requests that use liveShardsHelper.mapAsync:

  1. Users get most recently viewed (?) — not application scoped
  2. Users add favorite (?) — not application scoped
  3. User enroll workspaces in block limits experiment — not application scoped
  4. Application read sync activity log for multiple views — ✅
  5. Workspace undestroy (?) — not application scoped
  6. Enterprise account get share infos for report — not application scoped
  7. Enterprise account get page bundles — not app scoped
  8. Enterprise account get applications — not app scoped

Also, we have getPublishedPageBundlesForDisplayAsync, which is a crud live shards util”. This is used in:

  1. User list applications and page bundles for display — not app scoped

Another crud live shards util” is getPageBundleSharingIntentsAsync. This is used in:

  1. User get page bundle ids shared via intent — not app scoped

Run on shard for application ID async

CRUD actions:

  1. Workspace move application — not app scoped
  2. Workspace add application as clone — not app scoped
  3. 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

  1. 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:
    1. Application add table as clone ✅
    2. Block installation read ✅

runReadonlyActionOnShardForApplicationIdAllowingMultipleShardsPerDomainAsync

  1. 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
  2. Create app as clone from db, which is called in
    1. Workspace add application as clone — not app scoped
    2. Workspace add application from share — not app scoped
    3. Workspace add application as template clone — not app scoped

Created from: Journal entry: 08-17-22 202208170801

Scratch

  1. Application add collaborators — requires a write to main, canonical record for app collaborators is on the main shard

uid: 202208171607 tags: #airtable


Date
February 22, 2023