You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Gantt view fails on every hosted tenant: it asks for 10001 rows in one query and the hosted 5000-row page cap refuses it ("Query parameter 'top' asks for 10001 rows") #36663
Source: a live hosted customer, reported by the maintainer with a screenshot and relayed by a card thread of this project. Filed by the seat for that thread, which is building the fix.
Suggested-type: Bug
Suggested-grade: p1 (live customer; the view is fully unusable on every hosted tenant)
Suggested-domain: domain:ui
Suggested-area: area:ux
Symptom
On a hosted tenant (HotCRM PSA app, object crm_project_task, gantt view project_plan), the view shows only:
Error: Query parameter 'top' asks for 10001 rows; this deployment's maximum page size is 5000. The query was not run.
Cause (read on main 9348f02b)
ui/packages/plugin-gantt/src/ObjectGantt.tsx sends a single find with nonGridRowCeilingQuery(GANTT_ROW_CEILING), which is $top 10001 (ui/packages/core/src/utils/non-grid-row-ceiling.ts).
Hosted sets OS_DATA_MAX_PAGE_SIZE=5000, which refuses any $top above 5000 (packages/types/src/query-read-limits.ts).
Calendar, map and tree send $top 2001 the same way. That is under the hosted cap, but any deployment with a cap below 2001 refuses it too.
Fix direction (no server or spec change; ceilings unchanged)
Add one shared walk in @object-ui/core that fetches the non-grid ceiling plus the probe row in fixed steps:
each step is $top = step, with $skip advancing;
it stops at a short page or at ceiling + 1;
the step stays at or under the deployment's page cap;
the sort gets a unique tiebreak, so offset windows neither duplicate nor skip rows.
The gantt and the other single-shot nonGridRowCeilingQuery callers use it. The precedent is plugin-listcalendarWindow.tsfetchCalendarWindow.
Done when
The gantt view on a deployment with OS_DATA_MAX_PAGE_SIZE=5000 draws its rows, and the over-ceiling notice still appears past 10000.
Calendar, map and tree work under a page cap below 2001.
Claim: PM loop round 4 · 2026-11-23T10:22Z
Session: session_01JQwxbZeHNsF3RWcWpj7rGj
Thread session: session_01JQwxbaTVGEEt267uyT6ufm
Account: os-warren
Branch: claude/project-thread-s188zm
Worktree: objectstack-issue-36663
Domain: domain:ui
Seat: repo:objectstack#1
Area: card thread #36663 (w4-G)
Dispatch: filed by this seat for the card thread that found it; a live hosted customer's view is broken (the maintainer's screenshot). The suggested grade is p1 and area:ux, in this seat's scope under the 06:15Z / 06:16Z ux ruling. Untriaged at claim; triage grades it.
File surface: ui/packages/core/src/utils/non-grid-row-ceiling.ts (a shared stepped walk), ui/packages/plugin-gantt/**, ui/packages/plugin-calendar/**, ui/packages/plugin-map/**, ui/packages/plugin-tree/**, their tests, one patch changeset per moved package (stop on breach; explain in the report). No server or spec change
Container & model: S, mode:thread, model: opus — dispatch-gates --tier: no path-derived mandate, default tier; the thread's first report states the served tier, effort: high
Clause-②: no — if @object-ui/core gains a published export, the claim is amended (yes, widening) before landing
Metadata-protocol: none
Responsibility: the gantt and the other non-grid views ask for their whole row ceiling plus one in a single query | a deployment whose page cap is below that ceiling (hosted: 5000) refuses it | every hosted tenant's gantt view, and calendar/map/tree on any deployment with a cap below 2001
Thread-read: none
Premise: holds on main 9348f02b as read by the thread (ObjectGantt.tsx → nonGridRowCeilingQuery(GANTT_ROW_CEILING) = $top 10001; hosted OS_DATA_MAX_PAGE_SIZE=5000)
Serial constraints cleared: no open PR names #36663; #36658 (drill windows) is a sibling with the same offset-window ordering concern, so the walk gets a unique sort tiebreak
Claim amendment · 2026-11-23T10:34Z: completes claim 7097846737.
PR: #36665 (draft, head 14353fe2), Fixes #36663.
The surface is narrower than claimed: ui/packages/plugin-gantt/** plus docblocks in ui/packages/core/src/utils/non-grid-row-ceiling.ts. Calendar, map and tree are untouched, because their single read of 2,001 rows is under the hosted cap.
The walk is private to plugin-gantt (ganttRowWalk.ts, not in the package index), so there is no new export and Clause-② stays no.
The walk steps at nonGridRowCeilingQuery().$top (2,001) up to the 10,000 ceiling plus the probe row. The drivers append the id tie-breaker on offset reads (driver-sqlpaginationTieBreaker, driver-mongodb find sort), so the steps neither repeat nor skip rows.
Triage: lands in area:ux · domain:ui · priority:p1 · Bug · pm:dispatched (seat 1).
Rationale: a live hosted customer's gantt view is fully unusable — the view asks for $top 10001 against the hosted 5000-row cap, so it fails on every hosted tenant; calendar, map and tree carry the same risk at 2001 on lower caps. p1 by the table (outside report; a common view errors). Seat grade p1 kept.
Activity
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Claim: PM loop round 4 · 2026-11-23T10:22Z
Session:
session_01JQwxbZeHNsF3RWcWpj7rGjThread session:
session_01JQwxbaTVGEEt267uyT6ufmAccount:
os-warrenBranch:
claude/project-thread-s188zmWorktree:
objectstack-issue-36663Domain:
domain:uiSeat:
repo:objectstack#1Area: card thread
#36663(w4-G)Dispatch: filed by this seat for the card thread that found it; a live hosted customer's view is broken (the maintainer's screenshot). The suggested grade is p1 and area:ux, in this seat's scope under the 06:15Z / 06:16Z ux ruling. Untriaged at claim; triage grades it.
File surface:
ui/packages/core/src/utils/non-grid-row-ceiling.ts(a shared stepped walk),ui/packages/plugin-gantt/**,ui/packages/plugin-calendar/**,ui/packages/plugin-map/**,ui/packages/plugin-tree/**, their tests, one patch changeset per moved package (stop on breach; explain in the report). No server or spec changeContainer & model:
S,mode:thread,model: opus — dispatch-gates --tier: no path-derived mandate, default tier; the thread's first report states the served tier,effort: highClause-②: no — if
@object-ui/coregains a published export, the claim is amended (yes, widening) before landingMetadata-protocol: none
Responsibility: the gantt and the other non-grid views ask for their whole row ceiling plus one in a single query | a deployment whose page cap is below that ceiling (hosted: 5000) refuses it | every hosted tenant's gantt view, and calendar/map/tree on any deployment with a cap below 2001
Thread-read: none
Premise: holds on main
9348f02bas read by the thread (ObjectGantt.tsx→nonGridRowCeilingQuery(GANTT_ROW_CEILING)=$top10001; hostedOS_DATA_MAX_PAGE_SIZE=5000)Serial constraints cleared: no open PR names #36663; #36658 (drill windows) is a sibling with the same offset-window ordering concern, so the walk gets a unique sort tiebreak
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Claim amendment · 2026-11-23T10:34Z: completes claim 7097846737.
PR: #36665 (draft, head
14353fe2),Fixes #36663.The surface is narrower than claimed:
ui/packages/plugin-gantt/**plus docblocks inui/packages/core/src/utils/non-grid-row-ceiling.ts. Calendar, map and tree are untouched, because their single read of 2,001 rows is under the hosted cap.The walk is private to plugin-gantt (
ganttRowWalk.ts, not in the package index), so there is no new export and Clause-② stays no.The walk steps at
nonGridRowCeilingQuery().$top(2,001) up to the 10,000 ceiling plus the probe row. The drivers append theidtie-breaker on offset reads (driver-sqlpaginationTieBreaker,driver-mongodbfind sort), so the steps neither repeat nor skip rows.objectstack-fleet commentedon Nov 23, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
area:ux·domain:ui·priority:p1· Bug ·pm:dispatched(seat 1).Rationale: a live hosted customer's gantt view is fully unusable — the view asks for
$top10001 against the hosted 5000-row cap, so it fails on every hosted tenant; calendar, map and tree carry the same risk at 2001 on lower caps. p1 by the table (outside report; a common view errors). Seat grade p1 kept.