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

Invalid reference to Temporal::Api::Enums::V1::TaskQueueType::Workflow

Open
#193 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #194 by @cdimitroulas — closed without merging

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
grpc, ruby
Domain
api, backend

Research direction

Start at Temporal::Connection::GRPC#describe_task_queue and inspect the enum reference shown in the issue. Run the supplied connection.describe_task_queue example after the change and confirm that it completes without the reported NameError.

Written by the indexing model from the issue text.

Description

In the Temporal::Connection::GRPC#describe_task_queue method there is a reference to this enum -> Temporal::Api::Enums::V1::TaskQueueType::Workflow

A simple bit of code like this seems to suggest that this is an invalid reference as I get an error:

connection = Temporal::Connection.generate(Temporal.configuration.for_connection)
puts connection.describe_task_queue(namespace: Temporal.configuration.namespace, task_queue: Temporal.configuration.task_queue)

The error:

NameError: uninitialized constant Temporal::Api::Enums::V1::TaskQueueType::Workflow
Did you mean?  Temporal::Workflow
               Temporal::Api::Workflow

I believe that the correct reference should be Temporal::Api::Enums::V1::TaskQueueType::TASK_QUEUE_TYPE_WORKFLOW. When using that instead, then the code above runs as expected. Happy to open a PR if this is indeed the correct fix.

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.