temporalio / temporalio/temporal

Failed workflow list for batch operations

Open
#5,133 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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.
When running batch operations, especially batch reset. Operator will like to know the status of the job and if the operation fails for any workflow. And if the operation does fail, a list of those failed workflows.

Describe the solution you'd like
A way for operator to get the list of workflows on with the batch operation has failed.

Today we log the failed workflowID, maybe that's enough. But if not, we need to another way:

  • tag workflows with some search attributes, so that we can filter visibility later and get the list.
  • Return failed workflow list as a result of the workflow.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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 locating the batch-operation entry point and reviewing how failed workflow IDs are currently logged. Decide which proposed outcome is in scope—searchable workflow attributes or a returned failed-workflow list—and define completion around operators being able to retrieve every failed workflow from a batch operation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend-api-design, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.