- Notifications
You must be signed in to change notification settings - Fork1k
feat(coderd/database): add task status and status view#20235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:graphite-base/20235
Are you sure you want to change the base?
feat(coderd/database): add task status and status view#20235
Conversation
This change updates the `task_workspace_apps` table structure forimproved linking to workspace builds and adds queries to manage tasksand a view to expose task status.Updatescoder/internal#948Supersedes#20212Supersedes#19773
mafredri commentedOct 9, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stackon Graphite.
This stack of pull requests is managed byGraphite. Learn more aboutstacking. |
agentState:database.WorkspaceAgentLifecycleStateReady, | ||
appHealths: []database.WorkspaceAppHealth{database.WorkspaceAppHealthHealthy,database.WorkspaceAppHealthHealthy}, | ||
expectedStatus:database.TaskStatusActive, | ||
description:"Running job with ready agent and multiple healthy apps should be active", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
One healthy and one unhealthy app will be error, correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Ah, looks like I've missed the removal of a multi-app tests. We don't care about non-task app health so they're pointless. I'll make the second one unhealthy though and that way we test that health is still OK for task.
a05d8dc
tof805f37
Compare38e1300
toe9c6164
Compare
Uh oh!
There was an error while loading.Please reload this page.
This change updates the
task_workspace_apps
table structure forimproved linking to workspace builds and adds queries to manage tasks
and a view to expose task status.
Updatescoder/internal#948
Supersedes#20212
Supersedes#19773