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
console list: the footer count probe GET data/<object>?top=0 duplicates the total the page's own list request already returns #34207
Filing gate: ① a measured defect behind objectstack-ai/cloud#4563 (hosted page load, p2). It was measured locally on cloud main d97754b, pin b914e72 (objectstack 18.5.0), with HotCRM 6.4.0 and sample data in a free-plan hosted environment. The readings are in the cloud#4563 os-dev-report (6904212540). The cloud lane files this card; first touch is left to triage.
Measurement context (shared by the cloud#4563 split)
Locally the same amplification as staging appears: the customer-list request set (31 requests) answered one at a time sums to
≈ 0.5 s of runtime; the same set at once sums to ≈ 7.2 s (≈ 14×; staging reported ≈ 13×). Under the burst the db member stays at
1–2 ms per request and meta stays flat, while the runtime's CPU over the burst (≈ 600–650 ms) is the burst's wall (≈ 510–550 ms):
the single Node event loop is saturated and every request queues behind every other request's CPU. Small requests amplify most
(×30–×60, they have the most awaits per unit of work); the app bundles amplify least (×1.4–×2, they ARE the queue). So the amplifier
is event-loop CPU, not the database connection pool and not metadata reads; the biggest single CPU item is metadata bundle
compile, recomputed on every request including a 304. Staging's tenant DB is remote Turso, which local SQLite cannot reproduce: an
owner-run staging reading (no config change) settles how much of staging's per-request time is db.
This card
Reach: every object list view. Source: ui/packages/app-shell/src/views/objectViewLiveData.ts (dataSource.find(objectDef.name, { $top: 0 }) for setRecordCount).
Reading: list page sends GET /api/v1/data/crm_account?top=0 and GET /api/v1/data/crm_account?top=50&sort=…&select=… in the same layer; both answers carry total (9 and 9). This is cloud#4563's "data/crm_account ×2" on the current pin.
Ask: take the count from the list answer's total (or let the grid publish it), drop the probe; keep refreshKey behaviour.
Acceptance: one data/<object> request per list page load (cloud#4563 acceptance 2).
Claim: PM loop round 3 · 2026-11-16T01:12Z
Session: session_01ADHkmQ7WDVLSrMHebvWDck (card thread, dev) · seat session_01ADHkmSzhXR4yUAgwq1bQRi
Account: os-steve (the seat's linked user as GET /user answers it; the card's assignee)
Branch: claude/project-thread-zonikl
Worktree: objectstack-issue-34207
Domain: domain:ui
Seat: domain:ui#2
File surface: ui/packages/app-shell/src/views/objectViewLiveData.ts, the page that passes setRecordCount (ui/packages/app-shell/src/views/ObjectView.tsx), the grid/list hand-off that publishes total (exact files named in the report; ⛔ plugin-grid/src/ObjectGrid.tsx held by seat 1 #34213 — stop with the diff), their tests, root .changeset/; packages/** read-only (stop on breach; explain in the report)
Container & model: cloud seat container, mode:thread, model: default judgement tier (dispatch-gates --tier: "no path-derived mandate: the surface hits none of the 4 declared glob(s)"), effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: dev implements, pins and ablates; seat reviews, records and lands
Thread-read: none
Premise: holds
Serial constraints cleared: none open on this surface (checked 01:13Z); seat 1 holds ObjectGrid.tsx
{
"issue": 34207,
"status": "done",
"branch": "claude/project-thread-zonikl",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34245",
"session": "session_01ADHkmQ7WDVLSrMHebvWDck",
"premise_still_valid": true,
"summary": "Removed the object list page's $top: 0 record-count probe from useObjectViewLiveData and the page-level recordCount state in ObjectView.tsx. Measured semantics first: on dfb8ed35 the probe's number (object's UNFILTERED total) reached only ViewConfigPanel's recordCount prop, which the component never reads; the split-pane footer it fed was retired by #28915. The counts the page draws (ListView record-count-bar, title viewTotal via handleListTotalChange) already come from the list answer's total, so no grid hand-off was needed and plugin-grid/plugin-list/ObjectGrid.tsx are untouched. A list page load now sends one data/OBJECT read; a refresh sends one.",
"tests": "New describe in ObjectView.recordCountFooter-10636.test.tsx: load = 0 probe calls, 1 find, bar '42 records'; externalRefreshKey bump = +1 read, no probe, bar '43 records'. Two touched files at 20e8b3ac: Test Files 2 passed, Tests 17 passed. 85 ObjectView*/ViewConfigPanel*/PageView.refreshInPlace files at 221abdf1 (code identical to head): Test Files 85 passed, Tests 682 passed. app-shell type-check exit 0. Ablation: probe restored from dfb8ed35 via git restore --source (probe grep 1, setRecordCount grep 2 on disk), both new cases red ('a $top: 0 count probe was sent: expected [[duly_task,{$top:+0}]] to deeply equal []'; 'one refresh, one read: expected 2 to be 1'); restored with git checkout HEAD --, git diff HEAD empty, blob hashes equal HEAD. ui vitest aliases @object-ui/* to src, no build needed.",
"gates": "dispatch-gates --commands at 20e8b3ac: 38 derived, 38 run, all exit 0 (captured before any pipe); --ran: '38 derived famil(ies) accounted for - 38 run, 0 NOT-MEASURED'. First round at 221abdf1: check:test-source-alias exit 1 (edited pins reach dynamic import(@objectstack/lint) via ObjectView); fixed in 20e8b3ac with the prescribed module-top import, gate re-run exit 0. CI check-runs: in_progress at report time.",
"dogfood_battery": "n/a - no ! in the PR title and no (narrowing) arm",
"mcp_calls": "2 - mcp__github__issue_read get_comments, mcp__github__issue_read get (reads only)",
"api_writes": "3 - relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/34245/assignees os-steve), post-stamped os-dev-report comment on #34207",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed — ViewConfigPanel declares recordCount?: number ('Optional record count to display') and never reads it; exported prop, outside card surface (PR Acceptance notes)",
"carrier: none · noted, not filed — nine ObjectView/PageView test files still filter $top !== 0 out of list-read counts; now a no-op, comments stale, tests green"
],
"files_changed": [
".changeset/34207-list-count-probe-dropped.md",
"ui/packages/app-shell/src/views/objectViewLiveData.ts",
"ui/packages/app-shell/src/views/ObjectView.tsx",
"ui/packages/app-shell/src/views/ObjectView.recordCountFooter-10636.test.tsx",
"ui/packages/app-shell/src/views/ObjectView.externalRefreshSum-10572.test.tsx"
],
"line_budget": "PR +135/-60 (5 files); source: objectViewLiveData.ts -38 net, ObjectView.tsx -2 net",
"deviations": [
"Seat CONTROL 'answer without total shows no count' not pinned: it targeted the probe-fed number, which is drawn nowhere; ListView's no-total bar rule (serverTotal ?? data.length) is untouched and out of scope",
"Live HTTP request count on a built Console NOT MEASURED; the pin counts dataSource.find on a real ObjectView+ListView mount",
"Full app-shell vitest narrowed to the 85 ObjectView/ViewConfigPanel/PageView.refreshInPlace files; CI Test UI shards run the package",
"PR review request for os-steve not sent: standard order allows no MCP writes; assignee carried by pr_create, hand-over is the seat's"
]
}
Activity
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
Claim: PM loop round 3 · 2026-11-16T01:12Z
Session:
session_01ADHkmQ7WDVLSrMHebvWDck(card thread, dev) · seatsession_01ADHkmSzhXR4yUAgwq1bQRiAccount:
os-steve(the seat's linked user asGET /useranswers it; the card's assignee)Branch:
claude/project-thread-zoniklWorktree:
objectstack-issue-34207Domain:
domain:uiSeat:
domain:ui#2File surface:
ui/packages/app-shell/src/views/objectViewLiveData.ts, the page that passessetRecordCount(ui/packages/app-shell/src/views/ObjectView.tsx), the grid/list hand-off that publishestotal(exact files named in the report; ⛔plugin-grid/src/ObjectGrid.tsxheld by seat 1 #34213 — stop with the diff), their tests, root.changeset/;packages/**read-only (stop on breach; explain in the report)Container & model:
cloud seat container,mode:thread,model: default judgement tier (dispatch-gates --tier: "no path-derived mandate: the surface hits none of the 4 declared glob(s)"),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility: dev implements, pins and ablates; seat reviews, records and lands
Thread-read: none
Premise: holds
Serial constraints cleared: none open on this surface (checked 01:13Z); seat 1 holds ObjectGrid.tsx
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmQ7WDVLSrMHebvWDck
os-dev-report
{ "issue": 34207, "status": "done", "branch": "claude/project-thread-zonikl", "pr": "https://github.com/objectstack-ai/objectstack/pull/34245", "session": "session_01ADHkmQ7WDVLSrMHebvWDck", "premise_still_valid": true, "summary": "Removed the object list page's $top: 0 record-count probe from useObjectViewLiveData and the page-level recordCount state in ObjectView.tsx. Measured semantics first: on dfb8ed35 the probe's number (object's UNFILTERED total) reached only ViewConfigPanel's recordCount prop, which the component never reads; the split-pane footer it fed was retired by #28915. The counts the page draws (ListView record-count-bar, title viewTotal via handleListTotalChange) already come from the list answer's total, so no grid hand-off was needed and plugin-grid/plugin-list/ObjectGrid.tsx are untouched. A list page load now sends one data/OBJECT read; a refresh sends one.", "tests": "New describe in ObjectView.recordCountFooter-10636.test.tsx: load = 0 probe calls, 1 find, bar '42 records'; externalRefreshKey bump = +1 read, no probe, bar '43 records'. Two touched files at 20e8b3ac: Test Files 2 passed, Tests 17 passed. 85 ObjectView*/ViewConfigPanel*/PageView.refreshInPlace files at 221abdf1 (code identical to head): Test Files 85 passed, Tests 682 passed. app-shell type-check exit 0. Ablation: probe restored from dfb8ed35 via git restore --source (probe grep 1, setRecordCount grep 2 on disk), both new cases red ('a $top: 0 count probe was sent: expected [[duly_task,{$top:+0}]] to deeply equal []'; 'one refresh, one read: expected 2 to be 1'); restored with git checkout HEAD --, git diff HEAD empty, blob hashes equal HEAD. ui vitest aliases @object-ui/* to src, no build needed.", "gates": "dispatch-gates --commands at 20e8b3ac: 38 derived, 38 run, all exit 0 (captured before any pipe); --ran: '38 derived famil(ies) accounted for - 38 run, 0 NOT-MEASURED'. First round at 221abdf1: check:test-source-alias exit 1 (edited pins reach dynamic import(@objectstack/lint) via ObjectView); fixed in 20e8b3ac with the prescribed module-top import, gate re-run exit 0. CI check-runs: in_progress at report time.", "dogfood_battery": "n/a - no ! in the PR title and no (narrowing) arm", "mcp_calls": "2 - mcp__github__issue_read get_comments, mcp__github__issue_read get (reads only)", "api_writes": "3 - relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft + POST /issues/34245/assignees os-steve), post-stamped os-dev-report comment on #34207", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — ViewConfigPanel declares recordCount?: number ('Optional record count to display') and never reads it; exported prop, outside card surface (PR Acceptance notes)", "carrier: none · noted, not filed — nine ObjectView/PageView test files still filter $top !== 0 out of list-read counts; now a no-op, comments stale, tests green" ], "files_changed": [ ".changeset/34207-list-count-probe-dropped.md", "ui/packages/app-shell/src/views/objectViewLiveData.ts", "ui/packages/app-shell/src/views/ObjectView.tsx", "ui/packages/app-shell/src/views/ObjectView.recordCountFooter-10636.test.tsx", "ui/packages/app-shell/src/views/ObjectView.externalRefreshSum-10572.test.tsx" ], "line_budget": "PR +135/-60 (5 files); source: objectViewLiveData.ts -38 net, ObjectView.tsx -2 net", "deviations": [ "Seat CONTROL 'answer without total shows no count' not pinned: it targeted the probe-fed number, which is drawn nowhere; ListView's no-total bar rule (serverTotal ?? data.length) is untouched and out of scope", "Live HTTP request count on a built Console NOT MEASURED; the pin counts dataSource.find on a real ObjectView+ListView mount", "Full app-shell vitest narrowed to the 85 ObjectView/ViewConfigPanel/PageView.refreshInPlace files; CI Test UI shards run the package", "PR review request for os-steve not sent: standard order allows no MCP writes; assignee carried by pr_create, hand-over is the seat's" ] }Stamped 2026-11-16T02:12Z.
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
席位核对 ACCEPT 已发在 PR #34245(head 20e8b3a,评论 6905681080),已转 ready 并开启自动合并 · 2026-11-16T02:33Z
objectstack-fleet commentedon Nov 16, 2026
domain:ui#2 · os-steve · session_01ADHkmSzhXR4yUAgwq1bQRi
Landed · 2026-11-16T03:35Z
74e99c2donmain(Fixes #34207)State:
pm:dispatchedremoved, assignee cleared.