Repository navigation
Description
Feedback Comments only stops on an empty page and hides older matching comments. Confirmed locally at 44e0dcf254975286c0e9dea443b5cd1ca6b23347.
Administrators can conclude there are no written explanations even though a matching comment exists in the selected period.
Steps to reproduce:
- Submit one chat rating with a comment, then 25 newer ratings without comments during the same reporting period.
- Open Settings > Metrics > Feedback and enable Comments only.
- The first filtered page has no rows, isDone=false and a cursor pointing to the older comment, but the table displays No feedback in this window.
Expected: The filtered list reaches older matching feedback, either by filtering before pagination or continuing through empty pages.
Actual: The server applies Comments only after taking the first 25 rows. The client receives an empty unfinished page, but DataTable only mounts its load sentinel when data.length > 0; no Load more control is available. The matching comment cannot be reached from this filtered view.
Controls: 26 ratings were accepted through the current real feedback POST handler. Following the first response cursor directly returns the older comment. Unfiltered page 1 has 25 rows. The actual page issues only one recent query and observes no pagination target; a nonempty table with hasMore=true registers its sentinel.
Source:
- services/platform/backend/domains/feedback/service.ts:325-348,389-394
- services/platform/app/features/analytics/feedback/recent-feedback-table.tsx:207-228
- packages/ui/src/components/data-table/data-table.tsx:1156-1178
Proof: /Users/yannick/.codex/notes/tale-100-findings/governance-proof/frozen/batch-03/feedback-boundaries.test.tsx. Output: /Users/yannick/.codex/notes/tale-100-findings/governance-proof/frozen/batch-03/feedback-boundaries.log. Real API output: /Users/yannick/.codex/notes/tale-100-findings/governance-proof/frozen/batch-03/feedback-api-results.json and /Users/yannick/.codex/notes/tale-100-findings/governance-proof/frozen/batch-03/feedback-api.log. Real API assertions passed; 4/4 component probes passed.
python3 /Users/yannick/.codex/notes/tale-100-findings/governance-proof/run-feedback-api.py
/Users/yannick/.npm/_npx/22f2fe8d8bc13000/node_modules/.bin/bun x vitest run --config /Users/yannick/.codex/notes/tale-100-findings/governance-proof/vitest.config.ts feedback-boundaries.test.tsx --maxWorkers=1 --reporter=verboseLimits: Local retained isolated PostgreSQL DB tale_gov_feedback_20260928_mul0o1cs. Actual Hono feedback POST and GET, membership and ownership checks, serializable upsert, pagination and stats code execute; only the session is synthetic. Actual page/query/adapters consume the captured API output through a controlled final backendFetch. jsdom observes DOM and pagination observer registration, not browser layout. Chart zero-dimension and date-cell act warnings are harness limitations and not findings. No external calls or production data.
Deduplication: Cached 931 all-state titles and ledger72 checked. #2054 is a closed older issue for client-side filtering on knowledge entries, websites and conversations. This proof uses the current feedback server post-filter and missing empty-page continuation. Parent must make final live all-state dedup judgment.
Independent parent verification: reran the real feedback API in a fresh retained PostgreSQL fixture and the four UI observation/control tests; all passed. Parent checked #2054 in full: its earlier client-filtered lists differ from this current feedback server pagination defect. Live all-state feedback/comment search found no matching root. Logs: governance-proof/parent-feedback-api.log and governance-proof/parent-feedback-ui.log.
Activity