cleanup: remove legacy task source fields #341

Merged
barrettruth merged 1 commit from issue-310-task-source-identity into main 2026-05-11 20:04:27 +00:00
Owner

Problem

Legacy public-share source columns remained on tasks after source identity moved to task_external_links.

Solution

  • remove sourceEventId and sourceUserId from the active task schema and task fixtures
  • add forward migration 0030_drop_task_source_columns to drop source_event_id and source_user_id
  • document task_external_links as the owner for provider/external task identity
  • add a migration smoke test that verifies the legacy task columns are absent

Validation

  • nix develop --command pnpm vitest run tests/core/schema.test.ts tests/core/external-links.test.ts tests/core/ical/import.test.ts tests/core/ical/serializer.test.ts tests/core/recurrence.test.ts tests/core/urgency.test.ts
  • nix develop --command just lint
  • nix develop --command just test

Closes #310

## Problem Legacy public-share source columns remained on `tasks` after source identity moved to `task_external_links`. ## Solution - remove `sourceEventId` and `sourceUserId` from the active task schema and task fixtures - add forward migration `0030_drop_task_source_columns` to drop `source_event_id` and `source_user_id` - document `task_external_links` as the owner for provider/external task identity - add a migration smoke test that verifies the legacy task columns are absent ## Validation - `nix develop --command pnpm vitest run tests/core/schema.test.ts tests/core/external-links.test.ts tests/core/ical/import.test.ts tests/core/ical/serializer.test.ts tests/core/recurrence.test.ts tests/core/urgency.test.ts` - `nix develop --command just lint` - `nix develop --command just test` Closes #310
cleanup: remove legacy task source fields
All checks were successful
quality / Test (pull_request) Successful in 15s
quality / Lint (pull_request) Successful in 20s
quality / Build (pull_request) Successful in 44s
129bd6078c
barrettruth deleted branch issue-310-task-source-identity 2026-05-11 20:04:27 +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!341
No description provided.