Skip to content

fix(app-shell,data-objectstack): concurrent identical Studio reads share one in-flight request (objectui#11797) - #11856

Merged
objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-11797-shared-inflight-reads
Oct 8, 2026
Merged

objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-11797-shared-inflight-reads

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #11797

Clause-②: no

What changes

Opening a Studio package mounts several readers that ask the same question at once, and each one sent its own request. A caller that arrives while an identical request is still pending now waits for that request instead of sending another:

  • fetchPackages (@object-ui/app-shell, studio-design/packages-io.ts): the package switcher, the writability courtesy gate and the DataPillar namespace lookup share one GET /api/v1/packages.
  • fetchPendingDrafts (@object-ui/app-shell, preview/usePendingDrafts.ts): the hook's mount read and the surface's own mount refresh() (Studio top bar, chat bar) share one GET /api/v1/meta/_drafts per scope.
  • MetadataClient (@object-ui/data-objectstack, metadata-client.ts): listTypes, list, listDrafts and get / getDraft share one GET per method, URL and headers. The sharing works across every client built on the same fetch, because the console creates one client per component, all on one authenticated fetch. Every caller, the first one included, gets an answer object no other caller holds: the last caller to be handed the answer takes the parsed original and every earlier one a structuredClone copy, so nothing is copied when nobody joined (patch round 1, bab3004).

No call site changed. The fetchPackages call sites in StudioDesignSurface.tsx and BuilderLanding.tsx are untouched: the read is shared below them.

Measured: the duplicates are concurrent mounts, and in-flight sharing alone removes them (H1)

Requests are counted on the wire, through transports that hold every request open until the test answers it. Before is the ablation run: the three production files checked out at the base 455c646, with the tests unchanged.

What Before After
The real StudioDesignSurface on the Data tab: GET /api/v1/packages 3 1
The same render: _drafts?packageId=… not reached (the packages assertion fails first) 1
Two count surfaces (the hook plus their own mount refresh) on one package: _drafts 4 1
Two MetadataClients on one fetch, each calling listDrafts, list and get 6 3
Three concurrent fetchPackages() calls 3 1

The before counts match the card's "packages ×3" and "_drafts ×4" readings.

Design: in-flight sharing only, with no reuse window (H2)

I cannot name every write that must clear a cached answer. An agent creates packages and stages drafts on the server, and the client never sees those writes. So, per H2, this keeps only the in-flight sharing, with no reuse window:

  • An entry is dropped the moment its request settles, so a call made after an answer always goes to the server.
  • A read already on the wire when a write lands was asked before that write, so a read asked after the write must not join it. The writes each reader can see drop the pending entry:
    • MetadataClient: every save, publishDraft, publishPackageDrafts, reset, publish and rollback through a client on the same fetch drops every pending read on that fetch. The drop happens when the write's response arrives, whether the write succeeded or failed.
    • packages: duplicatePackage (the same module) and the existing objectui:packages-changed announcement (create and edit, from PackageFormDialog).
    • drafts: the publish pulse (emitMetadataRefresh), which the module doc already names as the contract every publish path keeps. The drop runs before the hooks it wakes read again, so those hooks share one new request.
  • Residual: a write the reader cannot see (a package delete or disable through PackagesPage, a draft save while a raw _drafts read is pending, any server-side agent write) can still be answered by a read that was already on the wire. The window is one round trip, and the same residual applies to the adapter's existing find sharing. A read asked after that pending read settles always goes to the server.

Failures are shared, not remembered (H3). A failed request rejects every caller that was waiting on it, and the next call retries. Tests cover an HTTP failure and a transport failure (fetch rejecting) for the metadata client.

No exported signature changes (H4). There is no new export, method, option or type. shareRead, sendWrite, readPackagesPayload and readDraftsPayload are all module-private or private.

sys_user_preference: no duplicate to remove (the premise does not hold for this family)

The card reported three GET /api/v1/data/sys_user_preference reads "with the identical filter" on Home → Studio. I measured this through the real ObjectStackAdapter and client (userState.inflightShare-11797.test.ts). UserStateBridge attaches three adapters, one each for ui.favorites, ui.recent and ui.flow.palette.recents, and each one loads its own row. The result is three requests whose filters differ only in the key predicate, which sits at the tail of a long encoded query string. They are three different questions, so one read per key is already met. The real duplicate case is two loads of one (user, key) at once, and the adapter's existing find sharing already sends that as one request (pinned). userState.ts is not changed.

Files

  • packages/app-shell/src/views/studio-design/packages-io.ts
  • packages/app-shell/src/preview/usePendingDrafts.ts
  • packages/data-objectstack/src/metadata-client.ts
  • packages/data-objectstack/README.md: the Shared In-Flight Reads bullet now covers MetadataClient (patch round 1)
  • Tests: packages-io.inflightShare-11797.test.tsx, StudioDesignSurface.entryReadsOnce-11797.test.tsx (a new test file beside packages-io.ts; StudioDesignSurface.tsx itself is not edited), usePendingDrafts.inflightShare-11797.test.tsx, metadata-client.inflightShare-11797.test.ts, userState.inflightShare-11797.test.ts
  • .changeset/11797-shared-inflight-reads.md: patch for @object-ui/app-shell and @object-ui/data-objectstack

Verification

Round 0 ran at c3759d6. Patch round 1 re-ran at bab3004 (the final commit): new pins, 5 files / 32 tests passed; regression, the same 247-file set, 247 files / 2233 tests passed; app-shell and data-objectstack type-check exit 0. The figures below are round 0's.

  • New pins (5 files, run with pnpm exec vitest run from the repo root): Test Files 5 passed (5), Tests 27 passed (27).
  • Ablation:
    • Each production file was checked out at 455c646, and on-disk markers confirmed the swap: the hash equals the BASE blob for all 3 files.
    • Result: Test Files 4 failed | 1 passed (5), Tests 12 failed | 15 passed (27). The sys_user_preference file stays green because it pins existing behaviour.
    • Restored with git checkout HEAD --: the hash equals the HEAD blob for all 3 files, and git diff HEAD is empty. After the restore: Test Files 5 passed (5).
  • Regression:
    • Scope: every test file that imports a touched module or builds a MetadataClient, plus all of packages/data-objectstack/ and StudioRoute. That is 247 files across app-shell, data-objectstack, plugin-designer, plugin-form, plugin-kanban, plugin-calendar, react and console.
    • Result: Test Files 247 passed (247), Tests 2228 passed (2228).
    • This is a declared narrowing. The full 8-shard pnpm test is left to CI.
  • Builds and type-checks:
    • turbo run build --filter=@object-ui/app-shell^...: exit 0.
    • pnpm --filter @object-ui/data-objectstack type-check: exit 0.
    • pnpm --filter @object-ui/app-shell type-check, which runs both tsc --noEmit and tsc -p tsconfig.test.json (the second includes src/**/*.test.ts(x)): exit 0.
  • Lint: pnpm exec eslint on the 8 touched source and test files: exit 0, with 0 errors and 9 warnings. All 9 warnings are on lines that were already there (any casts in listTypes, setState in the effect).
  • Repo gates:
    • node scripts/check-changeset-presence.mjs: ✅ 8 source file(s) of 2 released package(s) changed, and this change declares 1 changeset(s).
    • pnpm check:new-line-citations: VERDICT new-cross-file-line-citations: 0 new citation(s).
    • pnpm check:control-bytes: ✅ check-control-bytes: OK.
    • Also exit 0: check:vi-mock-specifiers, check:vi-mock-inherit, check:vi-mock-override-shape, check:test-path-roots, check:metadata-write-doors, check:changeset-claims, check:pending-changeset-literals, check:side-effects-array, check:unreferenced-sources, check:esm-specifiers, check:handler-key-reads, check:phantom-deps, check:self-import, scripts/check-type-check-coverage.mjs, and check-governed-queue-guard --test (NOT GOVERNED).
  • NOT MEASURED:
    • check:published-dist: it builds every package including the console app, which is a repo-wide run that CI owns. A local attempt was stopped by a 300 s timeout before it printed a verdict.
    • check:dist-completeness --all for app-shell: app-shell itself was not built locally (only its dependency closure was). The gate reported only that unbuilt package, and no other.

Acceptance notes (not fixed here, not filed)

  • README gap, resolved in patch round 1 (bab3004, seat verdict 6050853625). The data-objectstack README bullet "Shared In-Flight Reads" describes only the adapter's find and findOne. A sentence about MetadataClient sharing is owed under AGENTS.md Add automated testing infrastructure and CI/CD workflows #2, but the README is outside this card's claimed file surface, so I left it for the seat.
  • find is not dropped by writes. ObjectStackAdapter.emitMutation drops the pending findOne reads of the resource it writes, but not the pending find reads. A list refetch asked after a write can therefore join a find that was sent before the write. This was found by reading the code, with no public-door reproduction.
  • A second packages reader. ContextSelectors (the app top bar) reads its options endpoint with its own fetch, separately from fetchPackages. It is not part of the Studio entry path.
  • Not measured: whether Home → Studio remounts ConnectedShell and so re-attaches the user-state bridge. That would explain why the three preference reads repeat on that navigation, but they are still one read per key.
  • Hung requests. A request that never settles keeps its joiners waiting. This is the same property as the adapter's existing find / findOne sharing.
  • Overlap with objectui#11799. That card is queued behind this one and touches the ?state=draft probe. This PR changes only the transport under readItemResponse (now wrapped in shareRead); the probe logic is unchanged.

The implementing session is https://claude.ai/code/session_01MgfduSkFrfM3eorB3UGfAU (seat domain:ui#2).


Generated by Claude Code

claude added 3 commits October 8, 2026 01:34
…are one in-flight request (objectui#11797)

fetchPackages, the _drafts ledger read and the MetadataClient list/get/
listDrafts/listTypes reads each sent their own request when several mounted
readers asked the same question at once. A caller that arrives while an
identical request is pending now waits for it. The entry is dropped when
the request settles (no reuse window), a failure is not remembered, and the
writes each module can see drop pending reads so a read asked after a
write never joins one sent before it.

Claude-Session: https://claude.ai/code/session_01MgfduSkFrfM3eorB3UGfAU
Co-authored-by: Claude <noreply@anthropic.com>
…dio entry (objectui#11797)

Counted on the wire through held transports: packages, the _drafts ledger,
MetadataClient list/get/listDrafts across two clients on one fetch, and the
sys_user_preference loads (three keys are three questions; one key asked
twice is one request). Pins no reuse window, unremembered failures, and the
write and announcement paths that drop a pending read.

Claude-Session: https://claude.ai/code/session_01MgfduSkFrfM3eorB3UGfAU
Co-authored-by: Claude <noreply@anthropic.com>
…rafts ledger once on entry (objectui#11797)

Renders StudioDesignSurface on its Data tab with the real fetchPackages and
usePendingDrafts over a held fetch, and counts requests on the wire. Adds
the patch changeset for app-shell and data-objectstack.

Claude-Session: https://claude.ai/code/session_01MgfduSkFrfM3eorB3UGfAU
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 336 chunks) 3530.8 KB 3551.8 KB
Main entry chunk (gzip) 160.1 KB 350 KB
Entry file index-CqAkJxZa.js —
Status PASS —

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 17.82KB 6.58KB
app-shell (runtime-config.js) 22.59KB 7.89KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.11KB 3.87KB
auth (ActiveOrganizationStorage.js) 27.95KB 10.04KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.22KB 10.61KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.40KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.70KB 3.93KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.70KB 10.94KB
auth (createAuthenticatedFetch.js) 8.54KB 3.46KB
auth (index.js) 3.63KB 1.64KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 11.08KB 4.58KB
collaboration (CommentThread.js) 27.11KB 7.97KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.28KB 2.60KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.50KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 582.41KB 140.21KB
core (index.js) 10.00KB 3.96KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 238.37KB 66.42KB
fields (index.js) 266.88KB 67.46KB
i18n (LocalizationContext.js) 2.92KB 1.42KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 2.59KB 1.22KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.52KB 2.39KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 39.35KB 12.88KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 38.37KB 10.31KB
i18n (useSafeTranslation.js) 7.14KB 2.92KB
layout (index.js) 41.50KB 11.82KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 6.62KB 2.45KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.86KB 5.00KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.52KB 2.26KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.33KB 3.07KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 16.04KB 3.92KB
plugin-calendar (index.js) 53.39KB 15.52KB
plugin-charts (index.js) 84.26KB 23.05KB
plugin-chatbot (index.js) 199.63KB 47.46KB
plugin-dashboard (index.js) 144.82KB 39.17KB
plugin-designer (index.js) 231.46KB 48.87KB
plugin-detail (index.js) 248.57KB 65.47KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 176.62KB 45.75KB
plugin-gantt (index.js) 179.17KB 45.07KB
plugin-grid (index.js) 239.75KB 65.92KB
plugin-kanban (index.js) 52.17KB 16.37KB
plugin-list (index.js) 117.42KB 29.32KB
plugin-map (index.js) 25.60KB 8.62KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.12KB 12.29KB
plugin-timeline (index.js) 39.10KB 11.81KB
plugin-tree (index.js) 15.07KB 5.33KB
plugin-view (index.js) 91.07KB 22.93KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.81KB 3.58KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 120.63KB 39.56KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.50KB 2.06KB
react (schema-input.js) 4.31KB 2.07KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.50KB 1.99KB
sdui-parser (codegen.js) 9.45KB 3.76KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 7.30KB 3.12KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 23.87KB 7.83KB
types (ai.js) 4.39KB 2.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 4.12KB 1.61KB
types (authoring-nodes.js) 0.20KB 0.19KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (cloud.js) 0.20KB 0.18KB
types (complex.js) 4.44KB 2.07KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (dashboard-widget-layout.js) 2.06KB 0.96KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 1.13KB 0.65KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 5.78KB 2.70KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 5.00KB 2.39KB
types (navigation.js) 0.20KB 0.18KB
types (node-slots.js) 7.18KB 2.34KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 2.52KB 1.31KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 4.99KB 1.96KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 19.93KB 7.25KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

…longer holds the object joiners copy from (objectui#11797)

shareRead returned the shared promise itself to the request's first caller,
so a caller that awaited it with no hop in between ran ahead of the joiners'
copies and could edit the object they were copied from. Every sharer is now
handed its answer in its own reaction; the last one takes the parsed
original and every earlier one a copy, so nothing is copied when nobody
joined. Pins: the helper-level case (red on c3759d6), the public-method
case in both join orders, and the app-shell parsers (fetchPackages,
fetchPendingDrafts) already handing out primitive-only entries. README:
the Shared In-Flight Reads bullet now covers MetadataClient.

Claude-Session: https://claude.ai/code/session_01MgfduSkFrfM3eorB3UGfAU
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 336 chunks) 3535.4 KB 3551.8 KB
Main entry chunk (gzip) 160.1 KB 350 KB
Entry file index-CQPAvWMR.js —
Status PASS —

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 17.82KB 6.58KB
app-shell (runtime-config.js) 22.59KB 7.89KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.11KB 3.87KB
auth (ActiveOrganizationStorage.js) 27.95KB 10.04KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.22KB 10.61KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.40KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.72KB 2.24KB
auth (SocialSignInButtons.js) 9.70KB 3.93KB
auth (UserMenu.js) 3.39KB 1.21KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.70KB 10.94KB
auth (createAuthenticatedFetch.js) 8.54KB 3.46KB
auth (index.js) 3.63KB 1.64KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 11.08KB 4.58KB
collaboration (CommentThread.js) 27.11KB 7.97KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.28KB 2.60KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.50KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 582.41KB 140.21KB
core (index.js) 10.00KB 3.96KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 238.60KB 66.51KB
fields (index.js) 266.88KB 67.46KB
i18n (LocalizationContext.js) 2.92KB 1.42KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 2.59KB 1.22KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.52KB 2.39KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 39.35KB 12.88KB
i18n (translateFn.js) 0.20KB 0.18KB
i18n (useDisplayLocale.js) 3.52KB 1.76KB
i18n (useObjectLabel.js) 38.37KB 10.31KB
i18n (useSafeTranslation.js) 7.14KB 2.92KB
layout (index.js) 41.50KB 11.82KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 6.62KB 2.45KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 5.52KB 2.10KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.86KB 5.00KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.52KB 2.26KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.33KB 3.07KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 16.04KB 3.92KB
plugin-calendar (index.js) 53.39KB 15.52KB
plugin-charts (index.js) 84.71KB 23.25KB
plugin-chatbot (index.js) 199.63KB 47.46KB
plugin-dashboard (index.js) 144.82KB 39.17KB
plugin-designer (index.js) 231.46KB 48.87KB
plugin-detail (index.js) 248.57KB 65.47KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 176.62KB 45.75KB
plugin-gantt (index.js) 179.17KB 45.07KB
plugin-grid (index.js) 239.75KB 65.92KB
plugin-kanban (index.js) 52.17KB 16.37KB
plugin-list (index.js) 117.42KB 29.32KB
plugin-map (index.js) 25.60KB 8.62KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 44.12KB 12.29KB
plugin-timeline (index.js) 39.10KB 11.81KB
plugin-tree (index.js) 15.07KB 5.33KB
plugin-view (index.js) 91.07KB 22.93KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.81KB 3.58KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 120.63KB 39.56KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.50KB 2.06KB
react (schema-input.js) 4.31KB 2.07KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (body-dialect.js) 4.50KB 1.99KB
sdui-parser (codegen.js) 9.45KB 3.76KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 7.30KB 3.12KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.84KB 1.90KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 23.87KB 7.83KB
types (ai.js) 4.39KB 2.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 4.12KB 1.61KB
types (authoring-nodes.js) 0.20KB 0.19KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (cloud.js) 0.20KB 0.18KB
types (complex.js) 4.44KB 2.07KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (dashboard-widget-layout.js) 2.06KB 0.96KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 1.13KB 0.65KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 5.78KB 2.70KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 5.00KB 2.39KB
types (navigation.js) 0.20KB 0.18KB
types (node-slots.js) 7.18KB 2.34KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 2.52KB 1.31KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 4.99KB 1.96KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 19.93KB 7.25KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review October 8, 2026 03:20
@objectstack-fleet
objectstack-fleet Bot enabled auto-merge October 8, 2026 03:20
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Oct 8, 2026
Merged via the queue into main with commit 6d8bf0c Oct 8, 2026
45 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-11797-shared-inflight-reads branch October 8, 2026 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data-adapter documentation Improvements or additions to documentation package: app-shell tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

studio: duplicate API reads on entry (packages ×3, _drafts ×4, sys_user_preference ×3) — no shared query cache

2 participants