From 756eed4d1d936a61ee516689044557ca9d7be4f3 Mon Sep 17 00:00:00 2001 From: Matt Aitken Date: Wed, 12 Aug 2026 22:17:46 +0100 Subject: [PATCH] fix(webapp): show the dev environment's actual limit in the concurrency page Total column The Total cell summed the plan's included concurrency with the extra concurrency allocation, but dev environments are excluded from the allocation map, so the dev row always rendered the plan default even when the environment's limit had been raised. --- .server-changes/dev-concurrency-total-display.md | 6 ++++++ .../route.tsx | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .server-changes/dev-concurrency-total-display.md diff --git a/.server-changes/dev-concurrency-total-display.md b/.server-changes/dev-concurrency-total-display.md new file mode 100644 index 0000000000..b367dd3475 --- /dev/null +++ b/.server-changes/dev-concurrency-total-display.md @@ -0,0 +1,6 @@ +--- +area: webapp +type: fix +--- + +Fix the Concurrency page showing the plan's default concurrency for the dev environment instead of the environment's actual limit. diff --git a/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.concurrency/route.tsx b/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.concurrency/route.tsx index a5c26c33e8..715cb76d3b 100644 --- a/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.concurrency/route.tsx +++ b/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.concurrency/route.tsx @@ -541,7 +541,9 @@ function Upgradable({ - {environment.planConcurrencyLimit + (allocation.get(environment.id) ?? 0)} + {environment.type === "DEVELOPMENT" + ? environment.maximumConcurrencyLimit + : environment.planConcurrencyLimit + (allocation.get(environment.id) ?? 0)} ))}