Skip to content

fix(fields,plugin-grid): percent surfaces take their width from scale, not precision - #9566

Merged
os-justin merged 2 commits into
mainfrom
claude/issue-9295-percent-precision-reads-scale
Sep 15, 2026
Merged

os-justin merged 2 commits into
mainfrom
claude/issue-9295-percent-precision-reads-scale

Conversation

@os-justin

Copy link
Copy Markdown
Collaborator

Fixes #9295

Both percent surfaces take their fraction width from scale, not precision.

What was wrong

PercentCellRenderer (@object-ui/fields) and the colType === 'percent' arm of
formatSummaryLabel (@object-ui/plugin-grid's useColumnSummary) each read
precision and handed it to Intl as BOTH minimumFractionDigits and
maximumFractionDigits. @objectstack/spec declares the pair in its own words on
the field face and again on the column face: precision is "Total digits
(non-negative integer)", scale is "Decimal places (non-negative integer)". So a
decimal(10, 2) percent field was padded out to the column's TOTAL width — it
rendered 25.0000000000% in the cell, with Sum: 25.0000000000% in the footer
directly beneath it.

This is the identical repair objectui#2131 made on the currency arm and
objectui#2134 on the number arm, arriving one type later. In useColumnSummary
the corrected percent arm now sits four lines below a currency arm it finally
agrees with, and the ⚠️ comment that fenced the member as an open question is
replaced by the resolution rather than left standing beside it.

Both surfaces move in one change, or the cell and the footer beneath it
diverge on screen.

The absent-scale case is a DECISION, and it was measured

The two already-repaired arms disagree with each other about an absent scale,
so mirroring each file's local convention would have reproduced that
disagreement one type over — which is the class of defect this card exists to
remove. The number cell renderer spells the absence undefined (minimum 0,
maximum 20); the footer's currency arm spells it 0.

Measured, not argued. The percent path multiplies by 100 first
(percentDisplayValue), and Intl renders from the shortest decimal
representation of the resulting double:

stored 0.07  ->  7.000000000000001   ->  min 0 / max 20 renders "7.000000000000001%"
stored 0.29  ->  28.999999999999996  ->  min 0 / max 20 renders "28.999999999999996%"

So the number arm's convention is not transferable here — it can afford an
unbounded maximum only because it performs no arithmetic on the value. Both
percent surfaces therefore spell the absence 0, which is also byte-identical
to today's behaviour and matches the currency arm beside them. Two pinned cases
hold that line.

Behaviour change

Deliberately breaking, filed as minor because this repo's fixed release group
forbids major; the break is spelled out in the changeset.

  • A percent field or column declaring scale now honours it: scale: 2 moves
    from 25% to 25.00%.
  • A percent field or column declaring precision no longer pads to it:
    precision: 10 moves from 25.0000000000% to 25%.
  • A percent field or column declaring NEITHER is unchanged.

CurrencyConfigSchema.precision is untouched. It is a different surface with the
opposite convention and its own scale alias, and the spec warns against
conflating them at the field-face declaration itself.

Tests — fail before, pass after

Two new pins assert RENDERED output, not a helper's return value: formatPercent
was never wrong, it formats to the width it is handed, so pinning it would have
stayed green on the defect.

  • PercentCellRenderer.scale-9295 (@object-ui/fields)
  • useColumnSummary.percentScale-9295 (@object-ui/plugin-grid), which also
    pins footer-vs-cell AGREEMENT by comparing the hook's own label against
    formatPercent computed in the same run, plus an absolute-byte control
    refusing Sum: 25.0000000000% — a two-surface comparison alone is blind to a
    joint move.

Ablation — the implementation was committed first, then reverted to the
branch base with every test left in place. Mutation proven on disk by anchored
counts in both directions before the run (pre-fix text present, fix text absent;
column?.scale ?? 0 back down to 1, the currency arm alone), and both file blob
hashes confirmed different from HEAD:

vitest exit=1     Test Files  5 failed | 1 passed (6)
                       Tests  15 failed | 53 passed (68)

The one file that stayed green is useColumnSummary.test.tsx, whose pins cover
the currency arm this change does not touch. The must-not-change controls
(absent-scale, the residue rows, the label prefix) stayed green in the red run,
which is what makes the red meaningful. Restore proven byte-identical: both
restored blob hashes reproduce the HEAD blobs and git diff HEAD is empty.

Three existing fixtures declared their width with precision and were triaged
individually rather than swept: two only ever needed "a percent field showing two
decimals" and are restated as scale; objectui#9269's convergence case, which
pinned the retired member and fenced the question as NOT MEASURED, keeps its
claim and records the resolution. That file's header quotes the pre-9269 code as
history and is left verbatim, with a footnote that its first line has moved
again.

Gates

Derived from the actual diff and run from the repo root, each exit code captured
to a file before any pipe.

pnpm exec vitest run packages/fields/ packages/plugin-grid/   EXIT=0
pnpm exec turbo run type-check --filter fields --filter plugin-grid   EXIT=0
pnpm exec turbo run lint --filter fields --filter plugin-grid         EXIT=0
pnpm exec eslint --no-inline-config --format json (7 changed files)   EXIT=0
pnpm run lint:coverage                    EXIT=0
pnpm run check:lint-rule-coverage         EXIT=0
pnpm run check:control-bytes              EXIT=0
pnpm run check:new-line-citations         EXIT=0
pnpm run check:changeset-claims           EXIT=0
pnpm run check:installed-pin-claims       EXIT=0
pnpm run check:test-path-roots            EXIT=0
pnpm run changeset:check                  EXIT=0
node scripts/check-changeset-presence.mjs EXIT=0
node scripts/check-governed-queue-guard.mjs --test (8 paths)  EXIT=0

The lint narrowing is a measurement, not an omission: eslint here is NOT
type-aware (no project, no projectService, no typed-rule preset in
eslint.config.js), so this diff cannot move the verdict of any file it did not
touch. The 7-file count is read from eslint's own --format json output; 0
errors, and the warnings are pre-existing no-explicit-any noise that the
package lint scripts do not enforce (lint coverage reports every package
linted with no outstanding errors).

check:changeset-claims is report-only and named three pending changesets that
mention these two files. Each was read: the .decimals retirement claim, the
RELATIONAL_META_KEYS claims, the objectui#9269 percent-convergence claim and
the objectui#9294 tenant-locale claim describe members and call sites this diff
does not touch. None is falsified; the .scale positive control in the
.decimals claim is if anything more true.

Acceptance notes

  • Not filed, noted here. formatPercent's second positional parameter is
    still named precision while every caller now resolves it from scale. That
    name is the funnel the defect came through, but renaming an exported symbol's
    parameter is a naming change rather than a defect, and a rename that stopped at
    the module-private helper would be worse than none. The next seat editing
    PercentCellRenderer or formatPercent in that file will be standing on it.
  • To file, separately. The PercentField edit widget reads
    percentField?.precision ?? 2 for its readonly display width and its slider /
    spinner step, so a decimal(10, 2) percent field still shows
    25.0000000000% there and steps by 1e-10. Same defect class, but NOT a
    mechanical substitution and deliberately out of this diff: the widget family
    has its own adjudicated convention — objectui#4361 ruled that CurrencyField's
    authored precision IS a display width and wins — while NumberField already
    moved its step to scale. Which precedent governs PercentField is a design
    call, not this card. Note that the cell and that widget already disagree today
    in the absent case (12% against 12.35%), so widget-vs-cell agreement is not
    an invariant this change breaks.

Verified against the contract at source in the objectstack checkout rather than
from the card.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KSd9P5u2Mf4p8g4n4SD4Fx


Generated by Claude Code

`PercentCellRenderer` and the percent arm of `useColumnSummary`'s
`formatSummaryLabel` both read `precision` and handed it to `Intl` as the
minimum AND maximum fraction digits. `@objectstack/spec` declares `precision`
as the "Total digits" of a decimal(p, s) column and `scale` as its "Decimal
places", so a decimal(10, 2) percent field rendered `25.0000000000%` in the
cell with `Sum: 25.0000000000%` in the footer beneath it — the same defect
objectui#2131 removed from the currency arm and objectui#2134 from the number
arm, one type over. Card: objectui#9295.

Both percent surfaces move together, or the cell and the footer diverge on
screen. An ABSENT `scale` stays 0 — matching the currency arm's spelling and
today's behaviour — and deliberately not the number arm's `undefined`
(min 0 / max 20), which would print binary residue here because this path
multiplies by 100 first: measured, `0.07` scales to `7.000000000000001` and
`0.29` to `28.999999999999996`.

Three existing fixtures declared the width with `precision`; each is restated
as `scale`. The objectui#9269 convergence case that pinned the old member
keeps its claim and changes only the member it declares.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KSd9P5u2Mf4p8g4n4SD4Fx
@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 329 chunks) 3063.0 KB 3104.5 KB
Main entry chunk (gzip) 145.7 KB 350 KB
Entry file index-CTk7GdMn.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) 16.69KB 6.21KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 25.05KB 9.16KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.41KB 1.23KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.46KB 3.43KB
auth (index.js) 3.19KB 1.44KB
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) 26.08KB 7.56KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 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) 544.93KB 130.50KB
core (index.js) 8.52KB 3.41KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 215.98KB 59.97KB
fields (index.js) 249.19KB 62.88KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.22KB 2.26KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 32.15KB 10.49KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.83KB 10.95KB
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) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 4.39KB 1.66KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.52KB 4.88KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.39KB 3.10KB
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) 14.81KB 3.63KB
plugin-calendar (index.js) 49.99KB 14.24KB
plugin-charts (index.js) 71.33KB 19.90KB
plugin-chatbot (index.js) 195.34KB 46.51KB
plugin-dashboard (index.js) 131.44KB 34.65KB
plugin-designer (index.js) 215.94KB 44.33KB
plugin-detail (index.js) 252.65KB 65.65KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 136.71KB 34.16KB
plugin-gantt (index.js) 167.62KB 41.26KB
plugin-grid (index.js) 212.83KB 57.96KB
plugin-kanban (index.js) 46.63KB 14.53KB
plugin-list (index.js) 112.67KB 27.68KB
plugin-map (index.js) 21.48KB 6.99KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.41KB 11.93KB
plugin-timeline (index.js) 30.07KB 8.74KB
plugin-tree (index.js) 10.58KB 3.72KB
plugin-view (index.js) 84.89KB 20.96KB
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.66KB 3.50KB
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) 99.04KB 32.62KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 4.25KB 2.04KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.66KB 2.50KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (kanban-quick-add.js) 3.89KB 1.87KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 14.82KB 4.99KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 1.00KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.93KB 1.49KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
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) 0.20KB 0.18KB
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) 4.74KB 2.25KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 4.73KB 2.28KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
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) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 14.04KB 5.36KB
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

The record summary chip's percent branch read `precision ?? 0` explicitly to
mirror `PercentCellRenderer`, which its own comment named. When the cell moved
to `scale`, the chip stayed behind and objectui#9167's pin went red on the
assertion that exists for exactly that: chip and cell must be byte-equal.

objectui#9167 routed this chip onto the LIST CELL as its authority, and its
ACCEPT ruling turns on the two agreeing on every measured row. So the member
was always incidental there — following the cell onto `scale` is what KEEPS
that ruling, and staying on `precision` is what would have broken it. Card:
objectui#9295.

The pin's fixtures are restated from `precision: 2` to `scale: 2`, and two
rows are added for the decimal(10, 2) case the card is named after: a declared
`precision` beside a declared `scale` must not widen the chip, and a bare
`precision` is not a width. Both of objectui#9167's assertions still hold.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KSd9P5u2Mf4p8g4n4SD4Fx
@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 329 chunks) 3063.0 KB 3104.5 KB
Main entry chunk (gzip) 145.7 KB 350 KB
Entry file index-_Ycu8UgL.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) 16.69KB 6.21KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 25.05KB 9.16KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.41KB 1.23KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.46KB 3.43KB
auth (index.js) 3.19KB 1.44KB
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) 26.08KB 7.56KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 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) 544.93KB 130.50KB
core (index.js) 8.52KB 3.41KB
create-plugin (index.js) 27.94KB 9.51KB
data-objectstack (index.js) 215.98KB 59.97KB
fields (index.js) 249.19KB 62.88KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 8.87KB 3.64KB
i18n (index.js) 5.22KB 2.26KB
i18n (pickLocalized.js) 9.86KB 3.95KB
i18n (provider.js) 32.15KB 10.49KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.83KB 10.95KB
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) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 4.39KB 1.66KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.52KB 4.88KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.39KB 3.10KB
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) 14.81KB 3.63KB
plugin-calendar (index.js) 49.99KB 14.24KB
plugin-charts (index.js) 71.33KB 19.90KB
plugin-chatbot (index.js) 195.34KB 46.51KB
plugin-dashboard (index.js) 131.44KB 34.65KB
plugin-designer (index.js) 215.94KB 44.33KB
plugin-detail (index.js) 252.65KB 65.65KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 136.71KB 34.16KB
plugin-gantt (index.js) 167.62KB 41.26KB
plugin-grid (index.js) 212.83KB 57.96KB
plugin-kanban (index.js) 46.63KB 14.53KB
plugin-list (index.js) 112.67KB 27.68KB
plugin-map (index.js) 21.48KB 6.99KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.41KB 11.93KB
plugin-timeline (index.js) 30.07KB 8.74KB
plugin-tree (index.js) 10.58KB 3.72KB
plugin-view (index.js) 84.89KB 20.96KB
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.66KB 3.50KB
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) 99.04KB 32.62KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 4.25KB 2.04KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.66KB 2.50KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (kanban-quick-add.js) 3.89KB 1.87KB
sdui-parser (parse.js) 25.28KB 7.80KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 14.82KB 4.99KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 1.00KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.93KB 1.49KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
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) 0.20KB 0.18KB
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) 4.74KB 2.25KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 4.73KB 2.28KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
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) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 14.04KB 5.36KB
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

@os-justin
os-justin marked this pull request as ready for review September 15, 2026 16:00
@os-justin
os-justin added this pull request to the merge queue Sep 15, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 15, 2026
@os-justin
os-justin added this pull request to the merge queue Sep 15, 2026

Copy link
Copy Markdown
Collaborator Author

Merge-queue EVICTION — known signature, re-submitted as is, ⛔ not a test failure

domain:ui seat, session_01KSd9P5u2Mf4p8g4n4SD4Fx (os-justin), R1. Audit comment for the disposition, per 「每次处置留审计评论,重投写签名与台账依据」.

The reading — the ref vanished while main did NOT advance

That combination is an eviction, ⛔ not a landing. main stayed at f1cd29032 (this PR's own queue base) throughout.

event time
added_to_merge_queue 2026-09-15T16:00:31Z
removed_from_merge_queue by github-merge-queue[bot] 2026-09-15T16:21:37Z — 21 min 06 s in the queue

The signature — measured on the queue branch, ⛔ not inferred

19 merge_group workflow runs on gh-readonly-queue/main/pr-9566-f1cd2903…:

  • 18 of 19 → success.
  • The 19th → cancelled, jobs 7 success · 2 skipped · 1 cancelled.
  • The cancelled job is Test (shard 1/4), which ran 20.2 minutes and completed at 2026-09-15T16:21:05Z — 32 seconds before the queue removed the PR.

⇒ ⛔ Nothing failed. No job reports failure; the shard was cancelled by the removal, not red.

Ledger basis — this lane has measured this exact shape before

The domain:ui seat post records it on objectui#7696, in its own words:

attempt 1 — added_to_merge_queue 2026-09-14T11:48:29Z, removed_from_merge_queue 2026-09-14T12:09:06Z = 20 min 37 s. Every completed merge-queue job was green; the single exception was Test (shard 1/4), cancelled one second before the removal after running 20 min 14 s.
… the margin between this repo's shard duration and whatever the queue's wait window is measures about one minute.
attempt 2 — re-armed auto_merge, enqueued 2026-09-14T12:25:27Z, merged in 17 min 10 s.

Same job name, same ~20-minute shard duration, same cancel-then-remove ordering, same all-green remainder. ⇒ known signature ⇒ re-submit as is (「已知 flaky ⇒ 原样重投」).

⚠️ The queue's wait window itself is ⛔ NOT a reading and I am not claiming one: GET /branches/main/protection answers 403 Resource not accessible by integration for this seat, so the ~20-minute figure is inferred from two timestamps, exactly as the earlier record states.

Disposition

auto_merge re-armed exactly ONCE, and this comment says so. ⛔ No re-run of any job, ⛔ no empty commit, ⛔ no close-and-reopen, ⛔ no test skipped, disabled or quarantined, and ⛔ no change to the PR's content — the head is unchanged at 9ef3b967f, where CI reads 34 success / 3 skipped / 0 failed / 0 pending.

⚠️ If this evicts a second time, it is ⛔ not a flake and the next seat must treat it as real — re-diagnose rather than re-arm again.

domain:ui execution seat · session_01KSd9P5u2Mf4p8g4n4SD4Fx (os-justin) · measured at 2026-09-15T16:28Z


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants