Skip to content

Warn if SDK detects a workflow history over a certain size #705

@Quinn-With-Two-Ns

Description

@Quinn-With-Two-Ns

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

Large workflow history's create several problems in Temporal. They can cause slow replay and add extra load to the server when replaying. After a certain size the server will terminate workflows for being too large. Currently users not hosting there own Temporal server receive no notification that there history size is a problem

Describe the solution you'd like

Add a warning on the SDK when the SDK detects a large history. This warning should only be emitted once per workflow and not emitted on replay. Users should be able to adjust the warning limit as a worker option.

Additional context

Per-SDK Tickets

  • Go -
  • Java -
  • Core -
  • TypeScript -
  • Python -
  • .NET -
  • Ruby -
  • PHP -
  • Temporal CLI -

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions