Skip to content

Commit

Permalink
Added pause and resume commands to manage Workflows (#7121)
Browse files Browse the repository at this point in the history
* Added pause and resume commands to manage Workflows

* prettify check

* Update packages/wrangler/src/workflows/commands/instances/pause.ts

Co-authored-by: emily-shen <69125074+emily-shen@users.noreply.github.com>

* Update packages/wrangler/src/workflows/commands/instances/resume.ts

Co-authored-by: emily-shen <69125074+emily-shen@users.noreply.github.com>

* add happy path test for `pause`

* added workflows cmds tests and fix delete not being implemented

* try to fix timezones

* hidded workflows delete command from help as it is not yet implemented

* Update packages/wrangler/src/__tests__/workflows.test.ts

Co-authored-by: emily-shen <69125074+emily-shen@users.noreply.github.com>

* Update packages/wrangler/src/__tests__/workflows.test.ts

Co-authored-by: emily-shen <69125074+emily-shen@users.noreply.github.com>

* fixed should get the list of instances given a name test

* better changeset

* added mocked instance id when a workflow is triggered

* prettify cleanup

---------

Co-authored-by: emily-shen <69125074+emily-shen@users.noreply.github.com>
  • Loading branch information
bruxodasilva and emily-shen authored Nov 4, 2024
1 parent 3ee1353 commit 2278616
Show file tree
Hide file tree
Showing 7 changed files with 581 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .changeset/violet-zoos-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wrangler": minor
---

Added pause and resume commands to manage Workflows and hidded unimplemented delete command
Loading

0 comments on commit 2278616

Please sign in to comment.