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

History size and suggest continue as new #269

Merged
merged 2 commits into from
Oct 19, 2023

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