Skip to content

chore(coderd/database/migrations): migrate tasks to new data model - #20434

Merged
mafredri merged 1 commit into
mainfrom
mafredri/chore-migrations-migrate-tasks-to-new-data-model
Oct 23, 2025
Merged

mafredri merged 1 commit into
mainfrom
mafredri/chore-migrations-migrate-tasks-to-new-data-model

Conversation

@mafredri

@mafredri mafredri commented Oct 23, 2025 •

Copy link
Copy Markdown
Member

Updates coder/internal#976
Closes coder/internal#1078

Note: The test fixture is fully generated by Claude Sonnet 4.5 (with guidance and tweaks).

mafredri commented Oct 23, 2025 •

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@mafredri
mafredri force-pushed the mafredri/chore-migrations-migrate-tasks-to-new-data-model branch 2 times, most recently from 8f9affa to dfd9a09 Compare October 23, 2025 11:39
@mafredri
mafredri force-pushed the mafredri/refactor-coderd-use-tasks-data-model-in-list branch from 598dc75 to 033ea1c Compare October 23, 2025 11:39
@mafredri
mafredri force-pushed the mafredri/chore-migrations-migrate-tasks-to-new-data-model branch from dfd9a09 to f9bc683 Compare October 23, 2025 11:43
@mafredri
mafredri force-pushed the mafredri/chore-migrations-migrate-tasks-to-new-data-model branch 2 times, most recently from d69b4b3 to efbf10c Compare October 23, 2025 12:03

@johnstcn johnstcn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Migration looks good to me, let's test it on some real data before merge 👍

@mafredri
mafredri force-pushed the mafredri/refactor-coderd-use-tasks-data-model-in-list branch from 033ea1c to 8fd3604 Compare October 23, 2025 12:28
@mafredri
mafredri force-pushed the mafredri/chore-migrations-migrate-tasks-to-new-data-model branch from efbf10c to 44a0912 Compare October 23, 2025 12:28

@DanielleMaywood DanielleMaywood left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

➕ :shipit:

@mafredri
mafredri marked this pull request as ready for review October 23, 2025 14:47
@mafredri
mafredri force-pushed the mafredri/refactor-coderd-use-tasks-data-model-in-list branch from 8fd3604 to 6cc3b03 Compare October 23, 2025 14:57
@mafredri
mafredri force-pushed the mafredri/chore-migrations-migrate-tasks-to-new-data-model branch from 44a0912 to 5e1e152 Compare October 23, 2025 14:57
@mafredri
mafredri force-pushed the mafredri/refactor-coderd-use-tasks-data-model-in-list branch from 6cc3b03 to a7ce0f1 Compare October 23, 2025 15:34
@mafredri
mafredri force-pushed the mafredri/chore-migrations-migrate-tasks-to-new-data-model branch from 5e1e152 to 8d37334 Compare October 23, 2025 15:34
@mafredri
mafredri force-pushed the mafredri/refactor-coderd-use-tasks-data-model-in-list branch from a7ce0f1 to 4a0514f Compare October 23, 2025 16:14
@mafredri
mafredri force-pushed the mafredri/chore-migrations-migrate-tasks-to-new-data-model branch from 8d37334 to 193163e Compare October 23, 2025 16:15
@mafredri
mafredri changed the base branch from mafredri/refactor-coderd-use-tasks-data-model-in-list to graphite-base/20434 October 23, 2025 16:17
@mafredri
mafredri force-pushed the graphite-base/20434 branch from 4a0514f to 8daf4f3 Compare October 23, 2025 16:17
@mafredri
mafredri force-pushed the mafredri/chore-migrations-migrate-tasks-to-new-data-model branch from 193163e to ffa5bbc Compare October 23, 2025 16:17
@mafredri
mafredri changed the base branch from graphite-base/20434 to main October 23, 2025 16:17
@mafredri
mafredri merged commit 79728c3 into main Oct 23, 2025
@mafredri
mafredri deleted the mafredri/chore-migrations-migrate-tasks-to-new-data-model branch October 23, 2025 16:29
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: add migration to backfill tasks and task_workspace_apps

3 participants