refactor: migrate Google Tasks to read-only sync sources #455

Manually merged
barrettruth merged 1 commit from issue-445-google-tasks-read-only-sources into main 2026-05-14 03:31:05 +00:00
Owner

Problem

  • Closes #445.
  • Google Tasks imports still used editable local-conflict state instead of shared read-only sync sources.

Solution

  • Move Google Task list cursors/state into sync_sources and link imported tasks to source rows.
  • Apply Google Tasks pulls through the explicit sync update path and make imported rows read-only to user mutations.
  • Hard-remove imported Google Tasks rows, links, and source rows on Google disconnect.
  • Update settings/docs/tests for the simplified read-only summary.

Verification

  • direnv exec . pnpm vitest run tests/core/google/tasks-pull.test.ts tests/api/integrations-google-pull.test.ts tests/lib/calendar-settings-section.test.ts tests/server/task-mutations.test.ts tests/core/schema.test.ts
  • direnv exec . just ci
Problem - Closes #445. - Google Tasks imports still used editable local-conflict state instead of shared read-only sync sources. Solution - Move Google Task list cursors/state into sync_sources and link imported tasks to source rows. - Apply Google Tasks pulls through the explicit sync update path and make imported rows read-only to user mutations. - Hard-remove imported Google Tasks rows, links, and source rows on Google disconnect. - Update settings/docs/tests for the simplified read-only summary. Verification - direnv exec . pnpm vitest run tests/core/google/tasks-pull.test.ts tests/api/integrations-google-pull.test.ts tests/lib/calendar-settings-section.test.ts tests/server/task-mutations.test.ts tests/core/schema.test.ts - direnv exec . just ci
refactor: make google tasks imports read-only
Some checks failed
quality / Test (pull_request) Successful in 17s
quality / Lint (pull_request) Successful in 21s
quality / Build (pull_request) Has been cancelled
83e714b4a7
barrettruth manually merged commit 25dd76486c into main 2026-05-14 03:31:05 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/delta!455
No description provided.