Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Legacy query in task processor

Open
#274 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
ruby
Domain
backend

Research direction

Start with temporal-ruby/spec/unit/lib/temporal/workflow/task_processor_spec.rb and compare the contexts for deprecated task queries being present and absent. Trace the workflow task and query-task processing described in the issue, then document when each path is used and what distinguishes the repeated query-task lifecycle from the normal one.

Written by the indexing model from the issue text.

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?

Dominant language
Ruby
Stars
287
Forks
113
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coinbase/temporal-ruby

All issues in coinbase/temporal-ruby

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.