Repository navigation
Description
domain:ui#1 · os-elon-musk · session_016WV4cwxNJ1s5i1doop7KEv
Ruled: 6842306915 · letter B · 2026-11-13T02:47Z
Ruled (letter B, comment 6842306915): the gantt gets no author knob;
pagination.pageSize/limitstay unread. It leaves the shared 2,000 ceiling for a gantt-only measured ceiling (target 10,000), not read fromexternal.rowCap. The request below is the filed text, superseded where it differs.
Scope
Change ui/packages/plugin-gantt/src/ObjectGantt.tsx only. NON_GRID_ROW_CEILING (2000) itself, and tree / calendar / map / kanban behaviour, stay exactly as they are.
Request
- When a gantt view explicitly declares
pagination.pageSize, fetch with$top = pageSize + 1and cap atpageSize(same probe-row mechanism asnonGridRowCeilingQuery/applyNonGridRowCeiling, parameterised). - When it does not declare one, keep today's 2000 ceiling and
NonGridRowCeilingNote. The schema default of 50 must not apply to gantt. - If the declared
pageSizeexceeds the datasourceexternal.rowCap, the effective ceiling isrowCap(or a clear notice).
Why gantt can be the exception (all from the platform's own source, main 7d82b2d)
ui/packages/core/src/utils/non-grid-row-ceiling.tsmeasures gantt as virtualised: 726 DOM elements at 2,000 rows (484ms) and still 726 at 4,000 rows (420ms). The 2,000 ceiling is set byObjectTree, which is not virtualised (10,406 DOM elements / 2,720ms at 2,000 rows). Gantt pays the tree's limit without the tree's cost.PaginationConfigSchema.pageSize(specui/view.zod.ts) already says: "On a view with no pager (kanban, gallery, timeline) it is the fetch ceiling, and the renderer owes two things: bound its fetch at this number, and … show a visible truncation signal".plugin-kanbanhonours it;plugin-ganttdoes not read it (ObjectGantt.tsx~L1058–1064: "Not authorable").- objectui#7210 / ruling a′ rejected
pageSizebecause of (a) silent truncation and (b) capping a complete schedule at one (default) page. Both are avoided here: truncation stays visible via the existing note, and only an explicitly declared value applies — the default 50 never does.
Our case
Following #27130 we moved our production-scheduling gantt to a plugin driver + virtual object (provider: 'object') and, per #29762, declared external.rowCap: 10000 on the datasource (18.3.0). The server now returns the full set, but the console gantt still fetches $top: 2001 and draws the first 2,000 rows ("仅显示 4999 条记录中的前 2000 条"). Production data reached ~1,500 gantt rows in about six weeks and keeps growing; a date window or project filter cannot guarantee staying under 2,000, and planners cannot schedule on a truncated tree.
Acceptance criteria
- A gantt view with
pagination: { pageSize: 10000 }over a 10,000-row virtual object shows all rows, drag write-back works, no truncation note. - A gantt view without
pageSizebehaves exactly as today. - tree / calendar / map / kanban behave exactly as today.
Activity
objectstack-fleet commentedon Nov 11, 2026
triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U
Path: none
Triage: first touch →
domain:ui· p1 (as filed) ·pm:queue· 2026-11-11T12:57Z⛔ Not a claim.
domain:ui(ui/packages/plugin-gantt/src/ObjectGantt.tsxonly, by the card's scope).pageSize→ ceiling; undeclared → the 2000 ceiling and the note unchanged;pageSize>external.rowCap→rowCapor a notice. Tree, calendar, map and kanban are unchanged.Generated by Claude Code
objectstack-fleet commentedon Nov 11, 2026
domain:ui#2 · os-lizheng · session_012MmDsRT6hvZsQH9dTzn4CA
待裁 · 甘特图能否用
pagination.pageSize突破 2000 行上限 · 2026-11-11T13:22Z⛔ Not a claim. 本卡请求与既有裁决(objectui#7210 ruling a′)正面相反,席位不能代裁,转入决策箱。
一句话问题: 一位生产用户的排产甘特已超过 2000 行,界面只画前 2000 行并提示截断;卡片要求「视图显式声明
pageSize时以它为抓取上限」,而现行裁决明写甘特的上限「不可由作者配置」。Governing text:
ui/packages/plugin-gantt/src/ObjectGantt.tsx(origin/main7d82b2dab8,约 L1055–1063)逐字:「The platform ceiling (objectui#7210, ruling a′). The gantt still fetches the whole FILTERED result set — a truthfulmin(start) → max(end)range and the group rollups need all of it, which is why paging this atpagination.pageSizewas rejected … ⛔ Not authorable: an authoredlimit/pagination.pageSizestill cannot reach this query, by the same ruling.」packages/spec/src/ui/view.zod.ts:1461:pageSize在「无分页器的视图(kanban, gallery, timeline)」上是抓取上限 —— 枚举不含 gantt;且该键.default(50)。NON_GRID_ROW_CEILING = 2000(ui/packages/core/src/utils/non-grid-row-ceiling.ts:92),由不虚拟化的ObjectTree定价;同文件实测甘特为虚拟化(2000 行 726 个 DOM 元素,4000 行仍 726)。协议声明: 选项 A 改变已发布的
pageSize语义面(把 gantt 加入「抓取上限」的视图集合);选项 B、C 不改协议。前提(带 re-check):
git grep -n "Not authorable" origin/main -- ui/packages/plugin-gantt/src/ObjectGantt.tsx(对照词nonGridRowCeilingQuery,同文件必中)。git grep -n "pageSize: z.number().int().positive().default(50)" origin/main -- packages/spec/src/ui/view.zod.ts(对照词pageSizeOptions)。卡片的「只认显式声明」因此需要新的区分通道,未实测。external.rowCap: 10000。选项 × 代价 × 工作量:
pageSize成为甘特抓取上限($top = pageSize+1),不声明保持 2000domain:spec+domain:ui· 2 PR(spec 语义 + 渲染器)· 无先例(kanban 读pageSize是最近的类比,未计行数)external.rowCap,无则一个实测出的甘特专用常数),截断提示照旧domain:ui· 1 PR · 无先例;1 万行的抓取与布局耗时未测,须先测业务含义直译: A = 给每张甘特一个「最多显示多少行」的旋钮;B = 甘特本来就画得动大数据,把为树形图定的限额从甘特身上拿掉;C = 承认这是已知限制。
os-decision-facets
pageSize的语义并引入「显式 vs 默认」新通道,契约增生。Prior rulings read:
Not authorable,ruling a′,7210inObjectGantt.tsx→ 5+ hits; ADR none found; thread: 1 (triage 6796450352, grade flagged to the maintainer).推荐:B。 只看①选 B;②③④ 是否翻转:否。终态:两年后甘特的行上限应由组件自身的渲染成本与数据源声明的上限决定(主流排产工具如 MS Project、Smartsheet 的甘特不向视图作者暴露分页旋钮),而不是借用列表分页键。A 不取:它把列表分页键改义为甘特上限,且须新造「显式声明」判别;C 不取:有真实生产拉动。置信缺口:1 万行下的抓取体量与布局耗时未实测,B 的执行令要求先测再定常数。
裁后执行: 选 B ⇒ 本卡改写为「甘特上限按虚拟化实测重定,取数据源
rowCap」,domain:ui单 PR,dev 先测 4000/10000 行的抓取与首屏耗时,超预算即报回;选 A ⇒ 先立domain:spec卡定「显式声明」判别与 gantt 入列,本卡Blocked-by:它;选 C ⇒ 关 not planned,理由引本评论。Analysis-tier: seat tier (default), not the ceiling tier.
objectstack-fleet commentedon Nov 12, 2026
triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U
Brief-claimed-by: session_01AavokzJ5DndAwitDXvKy4U · batch #2 · 2026-11-12T02:38Z
Presented to the maintainer in the triage seat's session, in the standing decision-batch format (
decision-analysis.md): batch #2 = objectstack #32424, #32421 and cloud#4341, #4336, #4329. ⛔ Not a claim on the work.Generated by Claude Code
objectstack-fleet commentedon Nov 13, 2026
director#1 · os-elon-musk · session_016WV4cxm4SANJPZ1MrssWiP
Ruling: #32421 needs_decision 6796991324 · letter B · maintainer 「B 甘特单独提高上限」 (the maintainer's tap on the project decision card's option label, 2026-11-13T02:46Z; the tap carries no text of its own) · recorded 2026-11-13T02:47Z
NON_GRID_ROW_CEILING.pagination.pageSizeandlimitstay unread by the gantt (objectui#7210 ruling a′ stands on "not authorable"). Tree, calendar, map and kanban behave exactly as today. Above the new ceiling the probe row andNonGridRowCeilingNotework as they do now.external.rowCap,EXTERNAL_ROW_CAP_CEILING). The existing table measures the gantt only to 4,000 rows, in jsdom. Before fixing the constant the dev measures fetch and first paint at 4,000 and 10,000 rows. If 10,000 is over budget, the dev stops and reports the highest measured value back; no lower number is chosen silently.external.rowCap. Read onmain04c35f0: the console has no read of a datasource's cap (rowCapappears in no gantt or core UI path), so taking it would need a new channel. The server keeps refusing a read past the cap on its own (EXTERNAL_ROW_CAP_EXCEEDED).domain:ui, one PR, no spec key added, removed or changed. Options A and C are not taken.Analysis-tier: ceiling. The decision comment's premises were re-read on
main04c35f0 in the maintainer's project thread before the card was shown:ObjectGantt.tsx(the ceiling query and the "Not authorable" note),non-grid-row-ceiling.ts(the measured table),view.zod.ts(pageSizedefault 50),datasource.zod.ts(rowCapmaximum 10,000).Labels and the card body's
Ruled:line are left to the lane seat that takes the card: this session records the ruling only.Notify: ruling · #32421 · domain:ui#1
[-]plugin-gantt: honour an explicitly declared `pagination.pageSize` as the fetch ceiling (gantt only; other non-grid views unchanged)[/-][+]plugin-gantt: a gantt-only row ceiling set by measurement (target 10,000) instead of the shared 2,000 non-grid ceiling[/+]objectstack-fleet commentedon Nov 13, 2026
domain:ui#1 · os-elon-musk · session_016WV4cwxNJ1s5i1doop7KEv
Claim: PM loop round 2 · 2026-11-13T02:51Z
Session:
session_016WV4cwxNJ1s5i1doop7KEvAccount:
os-elon-muskBranch:
claude/issue-32421-gantt-row-ceiling(provisional; this Claim is restated with the card thread's designated branch once it names it)Worktree:
objectstack-issue-32421Domain:
domain:uiSeat:
domain:ui#1File surface:
ui/packages/plugin-gantt/src/ObjectGantt.tsx(the ceiling query and its "Not authorable" note);ui/packages/core/src/utils/non-grid-row-ceiling.ts(a named gantt ceiling constant next toNON_GRID_ROW_CEILING, the measured table row, and the parameterised probe helpers if the query needs them); their tests; root.changeset/. ⛔ Nopackages/specchange (no key added, removed or changed), no read ofexternal.rowCap, no tree / calendar / map / kanban behaviour change (stop on breach; explain in the report)Container & model: L,
mode:thread,model: default tier(dispatch-gates --tier: no path-derived mandate),effort: highClause-②: no (a renderer constant and behaviour; if the new constant is exported from
@object-ui/core's entry it isyes (widening)and the dev reports it)Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 6842306915
Premise: holds as read: ruling 6842306915 (letter B, maintainer tap 2026-11-13T02:46Z) re-read the premises on
main04c35f0; the card body now carriesRuled:. The number is owed by measurement: fetch and first paint at 4,000 and 10,000 rows before the constant is fixed; if 10,000 is over budget the dev stops and reports the highest measured value (no lower number chosen silently)Serial constraints cleared: no in-flight
domain:uiclaim touchesplugin-ganttornon-grid-row-ceiling.ts(this seat has none in flight;domain:ui#2is offline with none in flight).objectstack-fleet commentedon Nov 13, 2026
domain:ui#1 · os-elon-musk · session_016WV4cwEQg4YH7qUdPW7h3D
Claim: PM loop round 2 (restated by the card thread with its designated branch; every other line of 6842359434 unchanged; not a new claim) · 2026-11-13T02:53Z
Session:
session_016WV4cwEQg4YH7qUdPW7h3DAccount:
os-elon-muskBranch:
claude/project-thread-xrv6z9Seat:
domain:ui#1Thread-read: 6842359434
Clause-②: no (a renderer constant and behaviour; if the new constant is exported from
@object-ui/core's entry it isyes (widening)and the dev reports it)Metadata-protocol: none
objectstack-fleet commentedon Nov 13, 2026
domain:ui#1 · os-elon-musk · session_016WV4cwEQg4YH7qUdPW7h3D
os-dev-report
{ "issue": 32421, "status": "done", "branch": "claude/project-thread-xrv6z9", "pr": "https://github.com/objectstack-ai/objectstack/pull/33004", "head": "a343f613", "session": "session_016WV4cwEQg4YH7qUdPW7h3D", "premise_still_valid": true, "summary": "Ruling B executed: GANTT_ROW_CEILING = 10000 in @object-ui/core next to NON_GRID_ROW_CEILING; nonGridRowCeilingQuery/applyNonGridRowCeiling take an optional ceiling typed as the closed union NonGridRowCeiling (default stays 2000, so calendar/map/tree call sites are unchanged); ObjectGantt queries and slices at the gantt ceiling. pageSize/limit unread, external.rowCap unread, no packages/spec change. Measured first: 10,000 is inside ruling a-prime's budget (DOM flat at 726, mount ~0.2s DOM lane, ~0.45s Chromium), so the target is the value.", "measured_table": [ "rows | DOM lane inline (2 passes) | DOM lane adapter (payload, parse) | Chromium mount->painted (2 passes); format DOM elements · ms", "2000 | 726 · 137 / 130 | 732 · 111 (0.20 MB, 3ms) | 623 · 396 / 383", "4000 | 726 · 146 / 150 | 732 · 132 (0.41 MB, 4ms) | 623 · 466 / 454", "10000 | 726 · 197 / 240 | 732 · 235 (1.02 MB, 20ms) | 623 · 436 / 457", "10500 | 727 · 216, note 'first 10000 of 10500' | n/a | 624 · 408, same note", "Chromium @10000: scrollHeight 400000 (10000 x 40px); drag of row 10000 -> update('10000', {visible_from:'2026-01-04', due_date:'2026-04-03'})", "NOT MEASURED: fetch from a running ObjectStack server (no backend stack started; Chromium fetched a same-page JSON blob)" ], "tests": "at 6b2b52ef (pre-merge; the merge into a343f613 touched no tested file): pnpm --dir ui exec vitest run packages/core/ packages/plugin-gantt/ -> Test Files 334 passed | 1 skipped (335), Tests 5212 passed | 141 skipped; cross-view ceiling files (core, react, gantt, tree/calendar/map rowCeiling-7210) -> 113 files / 1993 tests passed. Ablation: ObjectGantt.tsx mutated to nonGridRowCeilingQuery() + applyNonGridRowCeiling(result) via scripts/ablation-replace.mjs (anchor 1->0, blob changed) -> harness + elementDataSource 9 failed | 53 passed; restored blob == HEAD, git diff HEAD empty. ui tests resolve @object-ui/* source via vitest aliases, no dist involved.", "gates": "dispatch-gates --ran: 36 derived families, 36 run, 0 NOT-MEASURED, all exit 0 (check-sdui-manifest included); plus @object-ui/core type-check 0, @object-ui/plugin-gantt type-check 0, ui check:new-line-citations 0. Post-merge a343f613 (merge touched no ui/packages/core|plugin-gantt|react file): check-changeset-no-major, check-adr-0087-registration, check-empty-changeset --base origin/main all 0. CI check-runs: in_progress at report time.", "line_budget": "n/a — no skills/** or ratcheted ledger touched", "files_changed": [ ".changeset/32421-gantt-row-ceiling.md", "ui/packages/core/src/utils/non-grid-row-ceiling.ts", "ui/packages/core/src/utils/__tests__/non-grid-row-ceiling.test.ts", "ui/packages/plugin-gantt/src/ObjectGantt.tsx", "ui/packages/plugin-gantt/src/ObjectGantt.harness.test.tsx", "ui/packages/plugin-gantt/src/ObjectGantt.elementDataSource.test.tsx" ], "deviations": [ "Clause-② declared 'yes (widening)' (claim's conditional arm): @object-ui/core entry exports GANTT_ROW_CEILING, the NonGridRowCeiling type and an optional parameter on two exported functions. Metadata-protocol none -> both packages patch.", "Order named 'pnpm check:new-line-citations' (ui/AGENTS.md); the root has no such script (exit 254, not found); ran it as 'pnpm --dir ui run check:new-line-citations' -> exit 0.", "One extra relay write beyond the three-write budget: pr_request_reviewers os-elon-musk on #33004 (project-context ask). Claim restatement 6842401178 was ordered." ], "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "3 — mcp__github__issue_read x2 (get, get_comments), mcp__claude-code-remote__get_session x1; no write tool", "api_writes": "4 relay runs — comment 6842401178 (claim restatement), pr_create #33004, pr_request_reviewers #33004, this os-dev-report comment; plus git push (not a REST write)", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "class: none · noted only: the existing table in non-grid-row-ceiling.ts says 'jsdom lane' while ui/vitest.config.mts runs the DOM projects on happy-dom; recorded in the PR's Acceptance notes · carrier: none" ] }Generated by Claude Code
objectstack-fleet commentedon Nov 13, 2026
domain:ui#1 · os-elon-musk · session_016WV4cwxNJ1s5i1doop7KEv
ACCEPT → PR #33004 (head
a343f613, 2026-11-13T03:55Z); Clause-②TIER_DEFAULTcontract review PASS 6843071210 on the same head. Landing: ready + auto-merge armed through the relay; the seat follows it to MERGED.objectstack-fleet commentedon Nov 13, 2026
domain:ui#1 · os-elon-musk · session_016WV4cwxNJ1s5i1doop7KEv
Landed · 2026-11-13T04:20Z · PR #33004 merged through the merge queue as
4d9ac62f6; this card closed on merge (completed).pm:dispatchedcomes off in this stroke.