Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow listing and filtering workflows based on current failures. #498

Open
8 tasks
drewhoskins-temporal opened this issue Jun 18, 2024 · 1 comment
Open
8 tasks
Labels
enhancement New feature or request

Comments

@drewhoskins-temporal
Copy link

drewhoskins-temporal commented Jun 18, 2024

Is your feature request related to a problem? Please describe.

When performing a batch operation such as a reset or pause, I'd like to be able to query for workflows that are failing and in which their failure fits a certain failure pattern, for example they might have a non-determinism error or have a certain stuck activity.

Describe the solution you'd like

Perhaps you could write a search attribute when certain conditions are met, such as > N retries of an activity or task failure, or when the workflow has been stuck for a certain amount of time.
You could write some key information (e.g. of the activity type that's failing and the class of the error) or a hash of that information, to allow people to narrow their queries.

Additional context

Per-SDK Tickets

  • Go -
  • Java -
  • Core -
  • TypeScript -
  • Python -
  • .NET -
  • PHP -
  • Temporal CLI -
@drewhoskins-temporal drewhoskins-temporal added the enhancement New feature or request label Jun 18, 2024
@cretz
Copy link
Member

cretz commented Jun 18, 2024

Visibility into workflows that have task failures or are otherwise stuck is a good/common request, but I think it's a server issue (at least at first). At the least you may want an issue at https://github.com/temporalio/temporal and link to it from here if it does not already exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants