Skip to content

Commit 41e18aa

Browse files
authored
[Wrangler/Workflows] Add warning on deploy of workflows belonging to other workers (#12513)
1 parent 6b3f590 commit 41e18aa

File tree

5 files changed

+792
-0
lines changed

5 files changed

+792
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
Add confirmation prompt when deploying workflows with names that belong to different workers.
6+
7+
When deploying a workflow with a name that already exists and is currently associated with a different worker script, Wrangler will now display a warning and prompt for confirmation before proceeding. This helps prevent accidentally overriding workflows.
8+
9+
In non-interactive environments this check is skipped by default. Use the `--strict` flag to enable the check in non-interactive environments, which will cause the deployment to fail if workflow conflicts are detected.

0 commit comments

Comments
 (0)