Skip to content

Conversation

@alexshtin
Copy link
Contributor

What changed?
WorkflowRunTimeout should be set instead of WorkflowExecutionTimeout in canary.

Why?
This PR closes #394.

How did you test it?
Run canary locally for 1 hour and check workflow state with:

./tctl --ns canary wf show -w cadence.canary.cron

Potential risks
No risks.

@alexshtin alexshtin requested review from mfateev and samarabbas May 21, 2020 00:27
wfTypeReset,
wfTypeHistoryArchival,
wfTypeVisibilityArchival,
//wfTypeHistoryArchival,
Copy link
Contributor

Choose a reason for hiding this comment

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

why are you commenting these out? These can be excluded through config.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They are not registered and generate errors. Should I register them instead?

Copy link

Choose a reason for hiding this comment

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

FWIW I see errors from wfTypeVisibilityArchival even after I've added it to the excludes list.

Copy link

Choose a reason for hiding this comment

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

I now understand that these will fail if the cluster does not have archiving enabled 😄

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes register them instead of commenting it out. There is already config based mechanism to exclude them.

@skrul
Copy link

skrul commented May 22, 2020

I patched this change into my v0.23.0 canary and it seems to have solved the problem 😄

@skrul
Copy link

skrul commented May 28, 2020

Would it be possible to get this merged for the next release? 😄

@alexshtin alexshtin merged commit 198aeb1 into temporalio:master Jun 6, 2020
@alexshtin alexshtin deleted the feature/fix-canary-timeout branch June 6, 2020 01:11
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.

canary not running properly on v0.23.0

3 participants