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
Record discussion: a read refused for the row budget shows an empty thread instead of saying the comments could not be shown #39272
立卡门类别:① 开发发现的缺陷(#39253 的 os-dev 报告 7369590224 范围外第 2 条,class a)。Source: #39253
Part of #39077 · related to #39195 / #39253 (discussion reads under the deployment's read limits)
定级:area:ux · Bug · priority:p3 · reach: a record discussion (record page, list-page comments column, phone page) on a deployment with a row budget and no page size, for a record whose comments exceed the budget · evidence: read (code), not measured at a public door
Today (read on the Record discussion: comment reactions past the deployment's first page are not shown (the reaction read ignores hasMore) #39253 branch; the builder re-reads on main): an unpaged list read over OS_DATA_QUERY_ROW_BUDGET on a deployment with no page size is refused 400 QUERY_ROW_BUDGET_EXCEEDED (packages/types/src/query-read-limits.ts). In ui/packages/app-shell/src/views/useRecordDiscussion.ts, feedReadVerdictOf maps a first-page 400 to answered, so readComments records answered with no rows, and the discussion panel shows an empty thread. For reactions, the 400 is caught, and the comments show without reactions.
Direction: the first-page budget refusal is not "no comments". The builder proposes the verdict (for example a distinct "could not show" state) and the panel text, reusing existing discussion-panel vocabulary where one exists. If the panel needs new user-facing wording with no precedent, that wording is a decision for the seat to raise before build.
Acceptance: with a row budget smaller than a record's comments and no page size, the discussion panel does not read as empty, and a test pins it.
Clause-②: no · Metadata-protocol: none (expected).
Triage: lands in area:ux · domain:ui · Bug · p2 · pm:queue · size S; rationale: a first-page 400 QUERY_ROW_BUDGET_EXCEEDED is mapped to answered in ui/packages/app-shell/src/views/useRecordDiscussion.ts (feedReadVerdictOf), so the panel tells the user there are no comments when they could not be shown. That is an experience problem (an error that does not speak), and its fix needs no new capability.
Grade: area:ux · Bug · UX rule (no UX problem is p3) · users of a record discussion on a deployment with a row budget and no page size · read (code). Re-graded from p3 (the original value). If the panel needs new wording with no precedent, the builder stops at that point and asks for a decision. Sub-issue of topic #39077.
Touched at 2026-12-03T07:31Z.
Claim: PM loop, zone comments-39077 of seat repo:objectstack@os-bill (topic #39077; the maintainer's word 2026-12-02 21:55Z 「接手过来的 os-support-ai 的任务和专题不分优先级都要处理」)
Area: comments-39077
Session: session_01Utp6Ca2yTZZiHWkyVgD2oK
Account: os-bill
Branch: claude/issue-39272-row-budget-discussion-state
Worktree: objectstack-issue-39272
Domain: domain:ui
Seat: repo:objectstack@os-bill
File surface: ui/packages/app-shell/src/views/useRecordDiscussion.ts; ui/packages/app-shell/src/views/useRecordDiscussion.test.tsx; the discussion panel component that renders the empty state and its test (the dev names them before editing); existing locale keys only; a changeset. Stop on breach; explain in the report. New user-facing wording with no precedent in the panel's existing vocabulary is a stop: report it as an open question rather than inventing it.
Container & model: S, mode:subagent, model: TIER_DEFAULT (dispatch-gates --tier prints no path-derived mandate), effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: this repo's own code (ui/packages/app-shell, objectstack): feedReadVerdictOf maps a first-page 400 to answered | no platform path covers it | record-discussion readers on a deployment with a row budget and no page size; reachable today
Thread-read: 7371109194
Premise: holds — feedReadVerdictOf on main maps a first-page 400 to answered, and the panel shows an empty thread; the dev re-reads first.
Serial constraints cleared: check-handover.mjs --inflight → NO OVERLAP READ; PR #39269 (same file) merged 2026-12-03 07:15Z.
{
"issue": 39272,
"status": "done",
"branch": "claude/issue-39272-row-budget-discussion-state",
"pr": "https://github.com/objectstack-ai/objectstack/pull/39287",
"session": "session_01Utp6Ca2yTZZiHWkyVgD2oK",
"premise_still_valid": true,
"summary": "Premise held on main ee2be200: feedReadVerdictOf mapped a first-page 400 QUERY_ROW_BUDGET_EXCEEDED to answered, readComments recorded answered with no rows, and the panels drew 'No comments yet'. A fourth FeedReadVerdict 'declined' now names that refusal by the server's code (via answeredLoadFailure; any other 400 stays answered; readEveryPage still ends paging on a later-page budget refusal). The two panel hosts (RecordDetailView.tsx for the record page; objectViewCommentsShared.tsx for the list-page column and the phone comments page) render declined as the EXISTING failure note detail.commentsLoadFailed, with no Retry (it would send the same read) and no count on the record header's comments icon. No new wording; plugin-detail's CommentsPanel/CommentsPage are unchanged. Reactions: out, no signal. A budget-declined reaction read keeps the comments without reactions, the same as a failed reaction read today. A signal would need new wording with no precedent, and a test pins the current behaviour. File surface: the claim lets the dev name 'the discussion panel component'. The dev named the two hosts that map the verdict onto the panel, plus their shared test harnesses (RecordDetailView.feedLoadFailure-29188.test.tsx, ObjectView.phoneCommentsPage-39086.test.tsx). Read this as within the claim's delegation, not a breach. They are named in the PR body, which was written once at pr_create after the edits, not before them.",
"tests": "At 376f45c1, from ui/ under os-verify-lock: pnpm exec vitest run --maxWorkers=2 on useRecordDiscussion.test.tsx, ObjectView.phoneCommentsPage-39086.test.tsx and RecordDetailView.feedLoadFailure-29188.test.tsx gave 'Test Files 3 passed (3) / Tests 44 passed (44)', VERDICT command-exit 0. New tests: hook (declined recorded, CONTROL other 400 answered, reaction read declined keeps comments), record page through the real ObjectStackAdapter (declined payload part; direct sys_comment GET 400 envelope: note, no Retry, no count), phone page (row budget below discussion, no page size: failure note, no empty state, no Retry, thread not judged gone). Ablation via scripts/ablation-replace.mjs (feedReadVerdictOf's declined line replaced; app-shell tests import src, so no build leg): 'mutation landed: anchor 1 -> 0' then 'Tests 4 failed | 40 passed (44)', exactly the 4 new positive cases; restored, 'blob == HEAD (41804c240f8a) and git diff HEAD is empty'. Host mappings were not ablated separately; the host tests fail when the verdict is not produced. Type-check: pnpm --filter @object-ui/app-shell type-check (tsc --noEmit plus tsconfig.test.json) gave VERDICT command-exit 0, 0 'error TS' lines, after building the app-shell^... closure (turbo, 72 tasks successful).",
"gates": "dispatch-gates --commands at 376f45c1 derived 39. 37 were run locally, each with exit captured before any pipe, and all exited 0 (incl. check:nul-bytes, check:cross-package-test-inputs, check:test-source-alias, check:type-check-coverage, check:type-check-debt [retry at 280s], check:published-files, check-empty-changeset, check-changeset-no-major, check-sdui-manifest, check-comment-mask-corpus). Outside the derived list, check:changeset-fixed also exited 0. NOT MEASURED (timeout kills on the shared box, exit 124, not refusals; recorded as claims in --ran): 'pnpm --dir ui exec vitest run scripts/' (240s; no ui/scripts file touched) and 'pnpm check:query-options-erasure' (100s, then 280s). Both go to CI. --ran reconciliation: '39 derived famil(ies) accounted for, 37 run, 2 NOT-MEASURED', exit 0. overlap-check.mjs: 'VERDICT clean exit 0', origin/main d0c7b718 merges cleanly, 0 open PR heads share a file. CI check-runs for PR #39287: not yet concluded at report time, so NOT MEASURED; PM reads them. Process notes: (1) the pre-push hook check:commit-card-trailers refused the first push because the harness trailer named a model. The unpublished commit was amended to the model-free pair before any push. (2) The first gate batch ran past the 600s foreground cap, and the harness moved it to the background. It was stopped with TaskStop, and the rest was re-run in foreground batches. No background process remains.",
"mcp_calls": "0",
"api_writes": "3 — via the fleet-write relay as objectstack-fleet[bot]: pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft, read back 6240/6240 bytes identical) + POST /repos/objectstack-ai/objectstack/issues/39287/assignees (os-bill, the claim's Account); os-dev-report = POST /repos/objectstack-ai/objectstack/issues/39272/comments. git push (3 pushes of the branch, incl. the --probe) is not a REST write.",
"classifier_refusals": [],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed (PR Acceptance notes): the sys_activity read shares feedReadVerdictOf, so an activity read the row budget declines now records 'declined'. The activity panel maps only refused/failed, so what it draws is unchanged. Activity reads are $top-bounded windows, so the budget reaches them only when it is below that window. Not wired, not filed.",
"carrier: none · noted, not filed: a reaction read that fails or is declined drops the reactions with no signal. This is existing behaviour, the same for 5xx, and a signal needs new wording with no precedent. Dedupe words: reaction read failed no signal, sys_comment_reaction declined, reactions missing silently"
]
}
2026-12-03T09:39Z · Close-out · PR #39287 merged (2026-12-03T09:36Z, merge commit 1354e3e51d), closing this card as Fixes #39272 intended.
Delivered: a first-page row-budget refusal (QUERY_ROW_BUDGET_EXCEEDED) on the record discussion read is recorded as declined, and the record page, the list-page comments column and the phone comments page show the existing "couldn't load the comments" note, with no Retry and no header count. No new wording. ACCEPT 7373322512.
Not filed (recorded at ACCEPT): the header "no count" mapping is not pinned by a test; an activity failure together with a declined comment read shows a Retry that re-reads activity only.
Activity
objectstack-fleet commentedon Dec 3, 2026
triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui · Bug · p2 · pm:queue · size S; rationale: a first-page
400 QUERY_ROW_BUDGET_EXCEEDEDis mapped toansweredinui/packages/app-shell/src/views/useRecordDiscussion.ts(feedReadVerdictOf), so the panel tells the user there are no comments when they could not be shown. That is an experience problem (an error that does not speak), and its fix needs no new capability.Grade: area:ux · Bug · UX rule (no UX problem is p3) · users of a record discussion on a deployment with a row budget and no page size · read (code). Re-graded from p3 (the original value). If the panel needs new wording with no precedent, the builder stops at that point and asks for a decision. Sub-issue of topic #39077.
Touched at 2026-12-03T07:31Z.
objectstack-fleet commentedon Dec 3, 2026
repo:objectstack@os-bill · os-bill · session_01Utp6Ca2yTZZiHWkyVgD2oK
Claim: PM loop, zone comments-39077 of seat
repo:objectstack@os-bill(topic #39077; the maintainer's word 2026-12-02 21:55Z 「接手过来的 os-support-ai 的任务和专题不分优先级都要处理」)Area: comments-39077
Session:
session_01Utp6Ca2yTZZiHWkyVgD2oKAccount:
os-billBranch:
claude/issue-39272-row-budget-discussion-stateWorktree:
objectstack-issue-39272Domain:
domain:uiSeat:
repo:objectstack@os-billFile surface:
ui/packages/app-shell/src/views/useRecordDiscussion.ts;ui/packages/app-shell/src/views/useRecordDiscussion.test.tsx; the discussion panel component that renders the empty state and its test (the dev names them before editing); existing locale keys only; a changeset. Stop on breach; explain in the report. New user-facing wording with no precedent in the panel's existing vocabulary is a stop: report it as an open question rather than inventing it.Container & model:
S,mode:subagent,model: TIER_DEFAULT (dispatch-gates --tier prints no path-derived mandate),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility:
this repo's own code (ui/packages/app-shell, objectstack): feedReadVerdictOf maps a first-page 400 to answered | no platform path covers it | record-discussion readers on a deployment with a row budget and no page size; reachable todayThread-read: 7371109194
Premise: holds —
feedReadVerdictOfonmainmaps a first-page400toanswered, and the panel shows an empty thread; the dev re-reads first.Serial constraints cleared:
check-handover.mjs --inflight→ NO OVERLAP READ; PR #39269 (same file) merged 2026-12-03 07:15Z.objectstack-fleet commentedon Dec 3, 2026
repo:objectstack@os-bill · os-bill · session_01Utp6Ca2yTZZiHWkyVgD2oK
os-dev-report
{ "issue": 39272, "status": "done", "branch": "claude/issue-39272-row-budget-discussion-state", "pr": "https://github.com/objectstack-ai/objectstack/pull/39287", "session": "session_01Utp6Ca2yTZZiHWkyVgD2oK", "premise_still_valid": true, "summary": "Premise held on main ee2be200: feedReadVerdictOf mapped a first-page 400 QUERY_ROW_BUDGET_EXCEEDED to answered, readComments recorded answered with no rows, and the panels drew 'No comments yet'. A fourth FeedReadVerdict 'declined' now names that refusal by the server's code (via answeredLoadFailure; any other 400 stays answered; readEveryPage still ends paging on a later-page budget refusal). The two panel hosts (RecordDetailView.tsx for the record page; objectViewCommentsShared.tsx for the list-page column and the phone comments page) render declined as the EXISTING failure note detail.commentsLoadFailed, with no Retry (it would send the same read) and no count on the record header's comments icon. No new wording; plugin-detail's CommentsPanel/CommentsPage are unchanged. Reactions: out, no signal. A budget-declined reaction read keeps the comments without reactions, the same as a failed reaction read today. A signal would need new wording with no precedent, and a test pins the current behaviour. File surface: the claim lets the dev name 'the discussion panel component'. The dev named the two hosts that map the verdict onto the panel, plus their shared test harnesses (RecordDetailView.feedLoadFailure-29188.test.tsx, ObjectView.phoneCommentsPage-39086.test.tsx). Read this as within the claim's delegation, not a breach. They are named in the PR body, which was written once at pr_create after the edits, not before them.", "tests": "At 376f45c1, from ui/ under os-verify-lock: pnpm exec vitest run --maxWorkers=2 on useRecordDiscussion.test.tsx, ObjectView.phoneCommentsPage-39086.test.tsx and RecordDetailView.feedLoadFailure-29188.test.tsx gave 'Test Files 3 passed (3) / Tests 44 passed (44)', VERDICT command-exit 0. New tests: hook (declined recorded, CONTROL other 400 answered, reaction read declined keeps comments), record page through the real ObjectStackAdapter (declined payload part; direct sys_comment GET 400 envelope: note, no Retry, no count), phone page (row budget below discussion, no page size: failure note, no empty state, no Retry, thread not judged gone). Ablation via scripts/ablation-replace.mjs (feedReadVerdictOf's declined line replaced; app-shell tests import src, so no build leg): 'mutation landed: anchor 1 -> 0' then 'Tests 4 failed | 40 passed (44)', exactly the 4 new positive cases; restored, 'blob == HEAD (41804c240f8a) and git diff HEAD is empty'. Host mappings were not ablated separately; the host tests fail when the verdict is not produced. Type-check: pnpm --filter @object-ui/app-shell type-check (tsc --noEmit plus tsconfig.test.json) gave VERDICT command-exit 0, 0 'error TS' lines, after building the app-shell^... closure (turbo, 72 tasks successful).", "gates": "dispatch-gates --commands at 376f45c1 derived 39. 37 were run locally, each with exit captured before any pipe, and all exited 0 (incl. check:nul-bytes, check:cross-package-test-inputs, check:test-source-alias, check:type-check-coverage, check:type-check-debt [retry at 280s], check:published-files, check-empty-changeset, check-changeset-no-major, check-sdui-manifest, check-comment-mask-corpus). Outside the derived list, check:changeset-fixed also exited 0. NOT MEASURED (timeout kills on the shared box, exit 124, not refusals; recorded as claims in --ran): 'pnpm --dir ui exec vitest run scripts/' (240s; no ui/scripts file touched) and 'pnpm check:query-options-erasure' (100s, then 280s). Both go to CI. --ran reconciliation: '39 derived famil(ies) accounted for, 37 run, 2 NOT-MEASURED', exit 0. overlap-check.mjs: 'VERDICT clean exit 0', origin/main d0c7b718 merges cleanly, 0 open PR heads share a file. CI check-runs for PR #39287: not yet concluded at report time, so NOT MEASURED; PM reads them. Process notes: (1) the pre-push hook check:commit-card-trailers refused the first push because the harness trailer named a model. The unpublished commit was amended to the model-free pair before any push. (2) The first gate batch ran past the 600s foreground cap, and the harness moved it to the background. It was stopped with TaskStop, and the rest was re-run in foreground batches. No background process remains.", "mcp_calls": "0", "api_writes": "3 — via the fleet-write relay as objectstack-fleet[bot]: pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft, read back 6240/6240 bytes identical) + POST /repos/objectstack-ai/objectstack/issues/39287/assignees (os-bill, the claim's Account); os-dev-report = POST /repos/objectstack-ai/objectstack/issues/39272/comments. git push (3 pushes of the branch, incl. the --probe) is not a REST write.", "classifier_refusals": [], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed (PR Acceptance notes): the sys_activity read shares feedReadVerdictOf, so an activity read the row budget declines now records 'declined'. The activity panel maps only refused/failed, so what it draws is unchanged. Activity reads are $top-bounded windows, so the budget reaches them only when it is below that window. Not wired, not filed.", "carrier: none · noted, not filed: a reaction read that fails or is declined drops the reactions with no signal. This is existing behaviour, the same for 5xx, and a signal needs new wording with no precedent. Dedupe words: reaction read failed no signal, sys_comment_reaction declined, reactions missing silently" ] }objectstack-fleet commentedon Dec 3, 2026
repo:objectstack@os-bill · os-bill · session_01Utp6Ca2yTZZiHWkyVgD2oK
2026-12-03T09:39Z · Close-out · PR #39287 merged (2026-12-03T09:36Z, merge commit
1354e3e51d), closing this card asFixes #39272intended.QUERY_ROW_BUDGET_EXCEEDED) on the record discussion read is recorded asdeclined, and the record page, the list-page comments column and the phone comments page show the existing "couldn't load the comments" note, with no Retry and no header count. No new wording. ACCEPT 7373322512.pm:dispatchedremoved in this stroke;domain:*andarea:*stay.