coinbase / coinbase/temporal-ruby

Legacy query in task processor

Open
#274 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
287
Forks
113
Avg merge
6d 11h
Merged PRs (30d)
1

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.