cleanup: canonicalize external link provider IDs #373

Merged
barrettruth merged 1 commit from issue-358-canonical-external-link-provider-ids into main 2026-05-12 12:42:03 +00:00
Owner

Problem

  • task_external_links provider IDs were repeated as raw strings across core helpers, iCal import, and schema tests.

Solution

  • add a canonical external-link provider contract for ical, google_calendar, and google_tasks.
  • type external-link helpers and the schema provider column against that contract.
  • use the canonical IDs in iCal import and provider/schema tests.
  • remove the unused ConflictResolution placeholder type.

Verification

  • nix develop --command pnpm vitest run tests/core/external-links.test.ts tests/core/ical/import.test.ts tests/core/schema.test.ts --reporter=verbose
  • nix develop --command pnpm tsc --noEmit
  • nix develop --command just ci

Part of #355
Closes #358

Problem - task_external_links provider IDs were repeated as raw strings across core helpers, iCal import, and schema tests. Solution - add a canonical external-link provider contract for ical, google_calendar, and google_tasks. - type external-link helpers and the schema provider column against that contract. - use the canonical IDs in iCal import and provider/schema tests. - remove the unused ConflictResolution placeholder type. Verification - nix develop --command pnpm vitest run tests/core/external-links.test.ts tests/core/ical/import.test.ts tests/core/schema.test.ts --reporter=verbose - nix develop --command pnpm tsc --noEmit - nix develop --command just ci Part of #355 Closes #358
cleanup: canonicalize external link providers
All checks were successful
quality / Test (pull_request) Successful in 17s
quality / Lint (pull_request) Successful in 21s
quality / Build (pull_request) Successful in 45s
d9754b548e
barrettruth force-pushed issue-358-canonical-external-link-provider-ids from d9754b548e
All checks were successful
quality / Test (pull_request) Successful in 17s
quality / Lint (pull_request) Successful in 21s
quality / Build (pull_request) Successful in 45s
to ceca69d042
All checks were successful
quality / Test (pull_request) Successful in 16s
quality / Lint (pull_request) Successful in 21s
quality / Build (pull_request) Successful in 41s
2026-05-11 21:31:27 +00:00
Compare
barrettruth deleted branch issue-358-canonical-external-link-provider-ids 2026-05-12 12:42:03 +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!373
No description provided.