indeedeng / indeedeng/iwf

Api to get last run in the continueAsNew/Reset chain

Open
#306 0 comments 1 reaction 0 assignees View on GitHub
enhancement medium
Dominant language
Go
Stars
661
Forks
63
PR merge metrics
No merged PRs in 30d

Description

Using search attribute query “(RunId=<> || FirstRunId=<>) AND (status= closed OR status = running) “

However, this SA is not provided yet by Temporal.
We have to provide ourself: `IwfFirstRunId` to prevent conflict with future feature in https://github.com/temporalio/temporal/issues/4247

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the continueAsNew/Reset chain behavior and how search attributes are registered, then compare the proposed `(RunId<> || FirstRunId<>)` query with Temporal issue #4247. Done means an API can identify the last run in the chain using an `IwfFirstRunId` attribute without conflicting with Temporal's future feature.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.