State size threshold for Redis with MinIO overflow#62
Merged
Conversation
- Added a new configuration setting `state_max_redis_size_mb` to define the maximum state size for Redis storage. - Updated the state saving logic in the orchestrator to store large states in MinIO and only save pointers in Redis. - Enhanced the state archival service to conditionally restore states to Redis based on the size threshold. - Introduced a new method `save_state_pointer` in the state service to handle saving state metadata when the state exceeds the Redis limit. - Improved logging to provide insights on state storage decisions and outcomes.
djuillard
pushed a commit
to On-Behalf-AI/LibreCodeInterpreter
that referenced
this pull request
Apr 21, 2026
State size threshold for Redis with MinIO overflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
STATE_MAX_REDIS_SIZE_MBconfig (default 100MB, range 1-500) to control the thresholdTest plan
🤖 Generated with Claude Code