Skip to content

Keep large execution files in sync when a result changes - #503

Draft
kshgrk wants to merge 2 commits into
Shuffle:mainfrom
kshgrk:fix/large-execution-file-sync
Draft

kshgrk wants to merge 2 commits into
Shuffle:mainfrom
kshgrk:fix/large-execution-file-sync

Conversation

@kshgrk

@kshgrk kshgrk commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Large results are moved to a file once an execution passes 1MB, but the
file was only written the first time. An AI Agent's result grows with
every turn, so after the 10-hour cache expired, long agent chats came
back with only their early history.
Comment thread shared.go Outdated

// Readers check this cache before the file. Drop the old copy even if setting the new one fails.
actionReplaceKey := fmt.Sprintf("%s_%s_action_replace", workflowExecution.ExecutionId, item.Action.ID)
DeleteCache(ctx, actionReplaceKey)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this delete line :3

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