Fix ticker-scoped filings views showing mixed-ticker results #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The Filings page can claim a ticker-scoped result set while rendering rows from other tickers.
Evidence
/filings?ticker=NVDA100 records loaded for NVDA, but the visible ledger included bothNVDAandMSFTrows.Expected
Acceptance Criteria
Implemented the filings scope fix in commit
61b072d.Changes:
/filingsURL ticker param the single source of truth for the active ledger scopesetFilingsstate/api/filings?ticker=NVDAVerification:
bun x tsc --noEmitRUN_TASK_WORKFLOW_E2E=1 bun test lib/server/api/task-workflow-hybrid.e2e.test.ts --test-name-pattern "scopes the filings endpoint by ticker while leaving the global endpoint mixed"bunx playwright test e2e/filings.spec.tsFixed in
61b072d- ticker scope consistency verified with API and Playwright tests.