Skip to content

Commit eb03940

Browse files
msonnbcodex
andcommitted
fix(ci): Handle missing workers in E2E cleanup
Co-Authored-By: GPT-6 <codex@openai.com>
1 parent 48c8b87 commit eb03940

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/cleanup-e2e-workers.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
3232
if ! output=$(npx --yes wrangler@4 delete --name "$WORKER" --force 2>&1); then
3333
echo "$output"
34-
# 10007 means the worker does not exist, i.e. the PR never ran the optional E2E job.
35-
echo "$output" | grep -q 'code: 10007' || exit 1
34+
# 10007 and 10090 mean the worker does not exist, e.g. the PR never ran the optional E2E job.
35+
echo "$output" | grep -Eq 'code: (10007|10090)\]' || exit 1
3636
fi

0 commit comments

Comments
 (0)