Skip to content

chore: add workspace_build_deadlines view #13286

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions coderd/activitybump_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,8 @@ func TestWorkspaceActivityBump(t *testing.T) {
}

err := db.UpdateWorkspaceBuildDeadlineByID(ctx, database.UpdateWorkspaceBuildDeadlineByIDParams{
ID: workspace.LatestBuild.ID,
UpdatedAt: dbtime.Now(),
// Make the deadline really close so it needs to be bumped immediately.
Deadline: dbtime.Now().Add(time.Minute),
ID: workspace.LatestBuild.ID,
UpdatedAt: dbtime.Now(),
MaxDeadline: maxDeadline,
})
require.NoError(t, err)
Expand Down
62 changes: 0 additions & 62 deletions coderd/agentapi/activitybump.go

This file was deleted.

319 changes: 0 additions & 319 deletions coderd/agentapi/activitybump_test.go

This file was deleted.

Loading
Loading