refactor: move calendar feed token storage #395
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
status:blocked
track:api
track:auto
track:core
track:deploy
track:infra
track:ui
type:cleanup
type:docs
type:epic
type:release
type:research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/delta!395
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-386-calendar-feed-token-storage"
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?
Problem
Calendar feed tokens were stored on
users, coupling a calendar feed secret to user identity storage and making feed-token ownership/migration unclear.Solution
calendar_feed_tokensstorage with per-user ownership and token lookup.users.calendar_feed_tokenvalues intocalendar_feed_tokensand drop the old user column.Verification
direnv exec . pnpm vitest run tests/core/calendar-feed.test.ts tests/api/calendar-feed.test.ts tests/core/schema.test.ts tests/server/dashboard-data.test.ts tests/lib/calendar-actions-popover.test.ts --reporter=verbosedirenv exec . pnpm biome check src/core/calendar-feed.ts src/db/schema.ts tests/core/schema.test.ts tests/core/calendar-feed.test.ts tests/api/calendar-feed.test.ts tests/lib/calendar-actions-popover.test.tsnix develop --command just ciCloses #386
barrettruth referenced this pull request2026-05-12 13:41:35 +00:00