[workflows] add individual and batch instance deletion - #14735
[workflows] add individual and batch instance deletion#14735vaishnav-mk wants to merge 1 commit into
Conversation
🦋 Changeset detectedLatest commit: 94f1156 The changes in this PR will be included in the next version bump. This PR includes changesets to release 8 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
✅ All changesets look good |
|
I notice a real inconsistency worth flagging. The remote The implementation is consistent, well-tested, and follows established patterns for all sibling commands. The local DELETE route pre-exists in the explorer worker. The engine/binding changes mirror the terminate pattern correctly. I've reviewed all changed files, the engine abort semantics, the binding pattern, the local-explorer route (pre-existing), CLI wiring, and tests. No actionable logic bugs, security issues, backward-compat violations, or incorrect API behavior found. LGTM |
@cloudflare/autoconfig
@cloudflare/build-output-utils
@cloudflare/config
create-cloudflare
@cloudflare/deploy-helpers
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-functions
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-auth
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
69f16be to
d8999b6
Compare
ca9e0b4 to
4053e13
Compare
|
Codeowners approval required for this PR:
Show detailed file reviewers
|
39ff819 to
8e20310
Compare
0825bc4 to
3086aae
Compare
3086aae to
832e762
Compare
f6d156e to
0146042
Compare
ebb790b to
330f310
Compare
28290bf to
bec073b
Compare
bec073b to
7eae129
Compare
3ed630b to
8c4c047
Compare
|
Codeowners approval required for this PR:
Show detailed file reviewers
|
8c4c047 to
5704618
Compare
96822fe to
d3b5bfe
Compare
d3b5bfe to
94f1156
Compare
Adds individual and batch Workflow instance deletion to the runtime and SDK.
env.MY_WORKFLOW.get(id).delete()deletes one instance.env.MY_WORKFLOW.deleteBatch(instanceIds)returns{ deleted, errors }with per-instance results.wrangler workflows instances delete <name> [id..]deletes one or up to 100 instances remotely or in local development; IDs can also come from a JSON array passed with--filename.A picture of a cute animal (not mandatory, but encouraged)

(i want a cat like this :))