temporalio / temporalio/sdk-ruby

[Feature Request] Warn on unawaited workflow futures with failures

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

Nobody has claimed this yet.

enhancement
Dominant language
Ruby
Stars
204
Forks
42
Avg merge
1d 30m
Merged PRs (30d)
28

Description

Describe the solution you'd like

In Java workflows today, if a future that fails is never waited on, we warn on workflow completion. We should do the same in Ruby. Could even consider warning on futures that do not fail that are never waited on, but that may get annoying. There are several forms of this in the wild in several languages (JS, .NET, Python, etc), pick what is best.

Contributor guide

Open the contributing guide

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.

Research direction

No files, tests, or entry points are named. Compare the Ruby workflow-future behavior with the Java workflow warning described in the issue, then trace how Ruby observes futures at workflow completion; define the failure-only warning behavior and decide whether non-failing unawaited futures are in scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, ruby
Domain
distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.