indeedeng / indeedeng/iwf

Maybe: avoid waitForStateComplete workflow getting timeout

Open
#519 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
661
Forks
63
PR merge metrics
No merged PRs in 30d

Description

Use a timer after workflow start. When the timer fired and signal is not received yet, failed the workflow.

This will help to not get timeout metrics for the namespace.

And also prevent an extremely rare edge case that the workflow will get timeout at the same time of receiving the signal…

However, always starting a timer is expensive…

The best way is to implement the V2 https://github.com/indeedeng/iwf/issues/349

Contributor guide

Open the contributing guide

Research direction

Start with the waitForStateComplete workflow and read the V2 proposal in issue #349. Evaluate the timer-after-start approach, its cost, timeout metrics, and signal race; done requires an agreed implementation that addresses these concerns.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.