Block a user
[BUG] Missing Cost of Sales/COGS row in income statement display
Root Cause Found
cost_of_revenue surface is MISSING from rust/taxonomy/fiscal/v1/core.surface.json!
Evidence:
cost_of_revenueis referenced incore.income-bridge.json…
[BUG] Duplicate rows: Operating expenses appearing both mapped and unmapped (e.g., Advertising Expense)
Update: Root Cause Analysis
The Rust sidecar IS being used and IS authoritative.
Data Flow Confirmed:
Rust fiscal-xbrl CLI
↓ (spawns via Bun.spawn)
lib/server/taxonomy/parser-…
Fix filing taxonomy persistence schema mismatch that breaks sync and overview loading
[ARCH] Financial statement mapping has two parallel implementations (Rust + TypeScript)
[BUG] Cash flow statement items appearing as unmapped
[BUG] Balance sheet display order incorrect - should be Assets, Liabilities, Equity
[BUG] Financial ratios and KPIs appearing in wrong sections
[BUG] Tax-related line items appearing as unmapped
[BUG] Missing Cost of Sales/COGS row in income statement display
[BUG] Duplicate rows: Operating expenses appearing both mapped and unmapped (e.g., Advertising Expense)
Make resource-scoped task deduplication atomic
Make resource-scoped task deduplication atomic
Fixed via:
- Added partial unique index
task_active_resource_uidxon (user_id, task_type, resource_key) WHERE status IN ('queued', 'running') - Added
createTaskRunRecordAtomic()with…
Make resource-scoped task deduplication atomic
{"body":"Fixed via:
- Added partial unique index
task_active_resource_uidxon (user_id, task_type, resource_key) WHERE status IN ('queued', 'running') - Added
createTaskRunRecordAtomic()with…
Stop substituting synthetic market data when live quote/history providers fail