Deduplicate filing sync notifications and replace toast spam with one durable task status #5
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
Filing sync currently produces stacked, near-identical notifications that follow the user across pages and degrade every workflow.
Evidence
Filing synctoasts accumulated with overlapping progress states.Expected
Acceptance Criteria
Implemented in
0d6c684.Completed scope:
sync_filingsenqueue paths so the same user + task type + resource key reuses the in-flight task instead of creating duplicatesValidation run:
bun test lib/task-notification-entries.test.ts lib/server/repos/tasks.test.tsRUN_TASK_WORKFLOW_E2E=1 bun test lib/server/api/task-workflow-hybrid.e2e.test.ts -t "reuses the same in-flight filing sync task|lets different tickers queue independent filing sync tasks"bun x tsc --noEmitKnown follow-up: