From eb039404fdfd7c54658f523d6e3a5cb48af04e90 Mon Sep 17 00:00:00 2001 From: Martin Sonnberger Date: Mon, 28 Sep 2026 10:01:11 +0200 Subject: [PATCH] fix(ci): Handle missing workers in E2E cleanup Co-Authored-By: GPT-6 --- .github/workflows/cleanup-e2e-workers.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cleanup-e2e-workers.yml b/.github/workflows/cleanup-e2e-workers.yml index 02fb540f71a3..ebb003de3c26 100644 --- a/.github/workflows/cleanup-e2e-workers.yml +++ b/.github/workflows/cleanup-e2e-workers.yml @@ -31,6 +31,6 @@ jobs: if ! output=$(npx --yes wrangler@4 delete --name "$WORKER" --force 2>&1); then echo "$output" - # 10007 means the worker does not exist, i.e. the PR never ran the optional E2E job. - echo "$output" | grep -q 'code: 10007' || exit 1 + # 10007 and 10090 mean the worker does not exist, e.g. the PR never ran the optional E2E job. + echo "$output" | grep -Eq 'code: (10007|10090)\]' || exit 1 fi