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

Legacy query in task processor #274

Open
viveksoundrapandy opened this issue Nov 16, 2023 · 0 comments
Open

Legacy query in task processor #274

viveksoundrapandy opened this issue Nov 16, 2023 · 0 comments

Comments

@viveksoundrapandy
Copy link

I see there are two different implementation in workflow processing[/temporal-ruby/spec/unit/lib/temporal/workflow/task_processor_spec.rb]

  1. context 'when deprecated task query is present' do
  2. context 'when deprecated task query is not present' do

What does deprecated/legacy query mean here. For some reason, some of my workflows goes into an infitnite loop of
a.Processing Workflow task
b.Workflow Query task completed
c. Workflow task processed
d.Processing Workflow task
and goes one

But some workflows are successfully processed, where they follow a different lifecyle
a. Processing Workflow task
b. Workflow task completed
c. Workflow task processed

Can someone explain when a workflow goes into legacy task vs normal task?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant