Make coverage-triggered filing sync explicit and user-controlled #6
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
Creating a coverage record can immediately trigger background sync work without clear user consent or expectation setting.
Evidence
Expected
Acceptance Criteria
Implemented in
69b45f3(Make coverage filing sync explicit).Summary:
POST /api/watchlistno longer auto-queuessync_filings; it now returnsautoFilingSyncQueued: false./watchlistUI.Sync filingsCTA andDismissaction.SynctoSync filingsand still forwardcategory/tagson explicit sync.Verification:
bun run lintRUN_TASK_WORKFLOW_E2E=1 bun test lib/server/api/task-workflow-hybrid.e2e.test.ts --timeout 15000 -t "watchlist|filing sync|manual filings sync payload"bun run test:e2e e2e/watchlist.spec.tsOut of scope and unchanged:
Implemented in
69b45f3(Make coverage filing sync explicit).\n\nSummary:\n- no longer auto-queues ; it now returns .\n- Coverage save is now explicitly metadata-only in the UI.\n- After creating coverage, the page shows an inline CTA and action.\n- Row-level actions were renamed from to and still forward / on explicit sync.\n- Added API coverage for no-auto-sync-on-create, no-auto-sync-on-edit, and explicit metadata forwarding.\n- Added a Playwright regression for the create-then-explicit-sync watchlist flow.\n\nVerification:\n- \n- bun test v1.3.5 (1e86cebd)\n- [e2e] using http://127.0.0.1:3400Running 1 test using 1 worker
✘ 1 e2e/watchlist.spec.ts:57:5 › coverage save stays metadata-only until sync filings is clicked (32.5s)
1 failed
e2e/watchlist.spec.ts:57:5 › coverage save stays metadata-only until sync filings is clicked ───\n\nOut of scope and unchanged:\n- portfolio holding auto-sync\n- Financials page auto-queue behavior