Skip to content

History size and suggest continue as new#269

Merged
DeRauk merged 2 commits intocoinbase:masterfrom
jeffschoner:history-size
Oct 19, 2023
Merged

History size and suggest continue as new#269
DeRauk merged 2 commits intocoinbase:masterfrom
jeffschoner:history-size

Conversation

@jeffschoner
Copy link
Contributor

Starting in Temporal server 1.20.0 (from temporalio/temporal#3055), workflow task started history events contain attribute fields indicating the current history size (in bytes and in event count) and a bit indicating if the workflow should continue as new. This change surfaces this information on the workflow context.

This change includes a new example ContinueAsNewWorkflow showing how to use this.

@jeffschoner jeffschoner changed the title History size support History size and suggest continue as new Oct 16, 2023
@DeRauk DeRauk merged commit 263e975 into coinbase:master Oct 19, 2023
@DeRauk
Copy link
Contributor

DeRauk commented Oct 19, 2023

Thanks @jeffschoner! This is a great new feature.

@jeffschoner jeffschoner deleted the history-size branch January 21, 2024 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants