From 76d949e7bc30eb8cadfdc52e031fcdf5ad97d2ed Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 20 May 2026 09:43:38 +0000 Subject: [PATCH] fix(autoscaling): count custom worker groups by row, divide only native by NUM_WORKERS (#9255) * [ee] fix(autoscaling): only divide native_mode pings by NUM_WORKERS #9020 / EE #548 changed worker counting to COUNT(DISTINCT worker_instance) to fix native-mode over-counting (NUM_WORKERS=8 pings per pod). That collapsed custom worker groups that share a hostname across multiple worker processes to a count of 1, breaking their autoscaling. EE fix uses the per-ping native_mode flag: divide native rows by 8 (CEIL), count non-native rows as-is. Companion EE PR: windmill-labs/windmill-ee-private#fix-autoscaling-custom-worker-group-count Co-Authored-By: Claude Opus 4.7 (1M context) * chore: update ee-repo-ref to abeb405de36a3fe23382f19e762268f87b6679be This commit updates the EE repository reference after PR #582 was merged in windmill-ee-private. Previous ee-repo-ref: 135db676843346ed6e3015232161a49c3ce01db5 New ee-repo-ref: abeb405de36a3fe23382f19e762268f87b6679be Automated by sync-ee-ref workflow. --------- Co-authored-by: Claude Opus 4.7 (1M context) Co-authored-by: windmill-internal-app[bot] --- backend/ee-repo-ref.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/ee-repo-ref.txt b/backend/ee-repo-ref.txt index 45b6cdc229..cd2c083feb 100644 --- a/backend/ee-repo-ref.txt +++ b/backend/ee-repo-ref.txt @@ -1 +1 @@ -0189ba6504fd70eb4929e4881d624d48efd14aee +abeb405de36a3fe23382f19e762268f87b6679be