Skip to content

Commit e07b0bf

Browse files
committed
Remove commentt about eligibility; it is no longer true
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
1 parent d684971 commit e07b0bf

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

coderd/database/queries.sql.go

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/queries/prebuilds.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ SELECT p.id AS workspace_id,
44
p.template_id,
55
b.template_version_id,
66
tvp_curr.id AS current_preset_id,
7-
-- TODO: just because a prebuild is in a ready state doesn't mean it's eligible; if the prebuild is due to be
8-
-- deleted to reconcile state then it MUST NOT be eligible for claiming. We'll need some kind of lock here.
97
CASE
108
WHEN p.lifecycle_state = 'ready'::workspace_agent_lifecycle_state THEN TRUE
119
ELSE FALSE END AS ready,

0 commit comments

Comments
 (0)