cleanup: remove legacy share/source task fields #310

Closed
opened 2026-05-11 19:19:08 +00:00 by barrettruth · 0 comments
Owner

Parent: #305

Problem

Public share links were removed, but task source fields remain in the active schema. sourceEventId and sourceUserId are inert unless they are deliberately repurposed for sync, and they overlap conceptually with task_external_links.

Solution

Remove or explicitly justify these task fields:

  • audit all references to sourceEventId and sourceUserId
  • if they are only public-share residue, drop them from active schema/migrations/tests
  • if sync needs source identity, move that responsibility to task_external_links and document the provider/external ID contract

Acceptance criteria

  • Task source identity has one owner in the schema.
  • Public-share residue is gone from active task types.
  • Google Calendar/Tasks sync issues can rely on the chosen external-link model without duplicating columns.
Parent: #305 ## Problem Public share links were removed, but task source fields remain in the active schema. `sourceEventId` and `sourceUserId` are inert unless they are deliberately repurposed for sync, and they overlap conceptually with `task_external_links`. ## Solution Remove or explicitly justify these task fields: - audit all references to `sourceEventId` and `sourceUserId` - if they are only public-share residue, drop them from active schema/migrations/tests - if sync needs source identity, move that responsibility to `task_external_links` and document the provider/external ID contract ## Acceptance criteria - Task source identity has one owner in the schema. - Public-share residue is gone from active task types. - Google Calendar/Tasks sync issues can rely on the chosen external-link model without duplicating columns.
barrettruth added this to the v0.1.0 milestone 2026-05-11 19:19:08 +00:00
Sign in to join this conversation.
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#310
No description provided.