-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add purge options #638
add purge options #638
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #638 +/- ##
==========================================
+ Coverage 58.04% 62.46% +4.42%
==========================================
Files 55 56 +1
Lines 3568 4143 +575
==========================================
+ Hits 2071 2588 +517
- Misses 1375 1429 +54
- Partials 122 126 +4 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Fabian Martinez <[email protected]>
workflow/client.go
Outdated
@@ -205,9 +215,10 @@ func (c *Client) ResumeWorkflow(ctx context.Context, id, reason string) error { | |||
|
|||
// PurgeWorkflow will purge a given workflow and return an error output. | |||
// NOTE: The workflow must be in a terminated or completed state. | |||
func (c *Client) PurgeWorkflow(ctx context.Context, id string) error { | |||
// TODO missing upstream support for api.PurgeOptions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this comment can be removed with the merge of your PR upstream
Signed-off-by: Fabian Martinez <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm - thanks for making the changes
merge please |
@yaron2 Are you happy to merge? |
Description
blocked by microsoft/durabletask-go#82
closes #497
Issue reference
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: