temporalio / temporalio/temporal

Record activity started and failed event for activity in retry on workflow completion

Open
#503 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

difficulty: easy enhancement good first issue operations planning up-for-grabs
Dominant language
Go
Stars
23.2k
Forks
1.9k
Avg merge
2d 8h
Merged PRs (30d)
228

Description

Is your feature request related to a problem? Please describe.
Currently, start and failure events for an activity that is constantly failing and in a retry loop are not recorded into the history until ScheduleToClose timeout is exhausted. If a workflow completes or continues as new before the status of the activity execution is essentially lost.

Describe the solution you'd like
Record started and failed events for all activities that are in a retry loop before completing the workflow.

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

Start by tracing how activity retries are recorded in history and how workflow completion or Continue-As-New handles an activity that is still retrying. Confirm the behavior with a reproducing workflow, then verify that started and failed events are persisted before the workflow completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.