Skip to content

Add max_completed history cap to MemoryWorkflowStore#363

Merged
adrianlyjak merged 5 commits intodevfrom
claude/add-workflow-history-cap-DDif0
Feb 17, 2026
Merged

Add max_completed history cap to MemoryWorkflowStore#363
adrianlyjak merged 5 commits intodevfrom
claude/add-workflow-history-cap-DDif0

Conversation

@adrianlyjak
Copy link
Contributor

@adrianlyjak adrianlyjak commented Feb 10, 2026

Adds a configurable cap (default 1000) on the number of completed/terminal workflow handlers retained in memory. When the cap is exceeded, the oldest handlers (by completed_at) are evicted along with their associated events, ticks, and state stores. Setting max_completed=None disables the cap for unlimited retention.

@changeset-bot
Copy link

changeset-bot bot commented Feb 10, 2026

🦋 Changeset detected

Latest commit: 5ab8826

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
llama-agents-server Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Base automatically changed from adrian/server-runtime to dev February 10, 2026 19:25
@adrianlyjak adrianlyjak force-pushed the claude/add-workflow-history-cap-DDif0 branch from f0a8756 to bb013bc Compare February 14, 2026 01:08
claude and others added 2 commits February 16, 2026 10:59
Adds a configurable cap (default 1000) on the number of completed/terminal
workflow handlers retained in memory. When the cap is exceeded, the oldest
handlers (by completed_at) are evicted along with their associated events,
ticks, and state stores. Setting max_completed=None disables the cap for
unlimited retention.

https://claude.ai/code/session_01TEKFj9p7dguCgT38NWBDQS
@adrianlyjak adrianlyjak force-pushed the claude/add-workflow-history-cap-DDif0 branch from 4938be3 to adcd211 Compare February 16, 2026 15:59
@adrianlyjak adrianlyjak marked this pull request as ready for review February 16, 2026 19:41
@adrianlyjak adrianlyjak merged commit 839368a into dev Feb 17, 2026
37 checks passed
@adrianlyjak adrianlyjak deleted the claude/add-workflow-history-cap-DDif0 branch February 17, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments