Skip to content
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 more options to reset batch: skip_base_not_current, non_determini… #2931

Merged
merged 2 commits into from
Dec 30, 2019

Conversation

longquanzheng
Copy link
Collaborator

…stic_only

more improvements with dryrun and originalTimestamp

dry run logs

…stic_only

more improvements with dryrun and originalTimestamp

dry run logs
@coveralls
Copy link

coveralls commented Dec 20, 2019

Coverage Status

Coverage increased (+0.4%) to 68.276% when pulling d21354d on longquanzheng:cli-reset-batch into 2348e96 on uber:master.

if err != nil {
return printErrorAndReturn("ResetWorkflowExecution failed", err)
var firstEvent, decisionFailed *shared.HistoryEvent
for {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Talked offline. Consider use paginator iterator

Copy link
Collaborator Author

@longquanzheng longquanzheng Dec 30, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command is already implemented with raw for loop in other places, changing all of them is a little bit risky(I don't have time to test it)
let us do it next PR: #2945

@longquanzheng longquanzheng merged commit 533e36b into uber:master Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants