Ethan
bc9cc8cb08
fix(enterprise/coderd): allow deleting external-agent workspaces ( #26501 )
...
I stumbled on this while manually testing another workspace change: if a
license expires after an external-agent workspace exists, deleting that
workspace is rejected because `CheckBuildUsage` enforces the
external-agent entitlement for every workspace transition. I assume this
is unintentional from a product POV.
This PR narrows the external-agent entitlement check to start builds.
Creating or rebuilding external-agent workspaces still requires the
feature entitlement, but stop and delete transitions stay available as
cleanup paths.
That matches the managed-agent entitlement precedent (i.e. the usage
billing check) in the same `CheckBuildUsage` path, where license
enforcement is scoped to start transitions instead of trapping users
with resources they can no longer remove.
2026-06-22 12:02:01 +10:00
..
2026-05-28 10:00:37 -05:00
2026-04-07 13:46:26 -05:00
2023-11-20 19:16:18 +00:00
2026-01-08 15:24:11 +04:00
2026-02-03 17:52:07 +00:00
2025-06-20 13:16:55 -06:00
2022-08-22 15:02:50 -07:00
2026-05-28 10:00:37 -05:00
2026-06-09 15:11:27 +01:00
2025-06-16 16:15:59 -06:00
2026-06-05 10:30:31 -05:00
2026-01-08 15:24:11 +04:00
2026-03-05 20:29:49 +00:00
2026-05-28 10:00:37 -05:00
2025-07-09 08:45:24 -06:00
2026-04-30 12:29:35 +02:00
2026-06-16 12:35:40 +00:00
2026-06-18 20:50:17 +02:00
2026-06-18 20:50:17 +02:00
2026-06-16 09:01:43 +00:00
2026-05-20 17:33:26 +02:00
2026-06-09 10:49:47 +01:00
2026-06-16 10:33:34 +01:00
2026-06-16 09:01:43 +00:00
2026-01-26 10:46:45 +01:00
2025-12-29 18:00:06 +00:00
2026-06-03 13:50:33 +02:00
2026-06-16 09:01:43 +00:00
2025-10-22 15:35:16 +02:00
2026-05-05 02:54:03 +05:00
2025-02-24 12:59:41 -05:00
2025-06-20 13:16:55 -06:00
2026-06-22 12:02:01 +10:00
2026-06-22 12:02:01 +10:00
2026-04-03 15:47:26 -05:00
2026-05-05 02:54:03 +05:00
2025-07-09 08:45:24 -06:00
2026-05-26 19:31:52 +00:00
2025-12-15 11:26:41 -06:00
2026-04-07 12:25:32 -06:00
2026-05-05 02:54:03 +05:00
2025-01-31 12:14:24 -07:00
2025-08-20 23:38:09 +10:00
2026-05-05 02:54:03 +05:00
2025-06-20 13:16:55 -06:00
2026-03-06 09:14:11 +00:00
2026-05-05 02:54:03 +05:00
2025-10-23 14:24:54 +02:00
2026-05-05 02:54:03 +05:00
2026-06-05 14:33:13 -05:00
2026-06-05 14:33:13 -05:00
2026-05-20 22:40:50 +00:00
2026-05-05 02:54:03 +05:00
2026-01-08 15:24:11 +04:00
2026-05-05 02:54:03 +05:00
2025-06-20 13:16:55 -06:00
2026-05-05 02:54:03 +05:00
2025-10-23 14:24:54 +02:00
2026-05-05 02:54:03 +05:00
2026-06-05 10:30:31 -05:00
2026-05-05 02:54:03 +05:00
2026-05-28 10:00:37 -05:00
2026-05-28 10:00:37 -05:00
2026-06-05 16:30:15 +01:00
2026-06-17 16:33:46 -06:00
2026-05-20 22:40:50 +00:00
2026-06-04 14:37:19 -04:00
2024-09-16 19:03:25 -05:00
2026-04-07 12:25:32 -06:00
2026-05-05 02:54:03 +05:00
2026-04-29 12:57:47 -06:00
2026-06-18 00:22:19 +10:00
2026-03-04 15:22:43 +02:00
2026-05-05 02:54:03 +05:00
2026-05-11 12:43:52 -05:00
2025-06-16 16:15:59 -06:00
2025-06-20 13:16:55 -06:00
2026-04-28 09:17:08 -07:00
2026-05-05 02:54:03 +05:00
2026-05-05 02:54:03 +05:00
2026-03-05 20:29:49 +00:00
2026-05-05 02:54:03 +05:00
2026-06-10 16:29:00 -07:00
2026-04-07 12:25:32 -06:00
2026-05-05 02:54:03 +05:00