Merged
Conversation
Update _redis_get_json_by_key to use execute_command for GET, handle string-to-bytes conversion, and properly decompress and decode Redis values before JSON parsing.
Introduces a separate Redis client with decode_responses=False to properly handle binary (LZ4-compressed) data. Updates relevant functions to use this binary client for get operations, ensuring correct data retrieval and decompression.
Replaced the Business Source License 1.1 with the Context-Engine Source Available License 1.0 in the LICENSE file, updating terms to restrict use to personal, non-commercial purposes and clarifying commercial licensing requirements. Updated package.json to reference the new license.
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (4 files)
|
🤖 Augment PR SummarySummary: This PR addresses Redis-backed workspace state memory/correctness issues when storing LZ4-compressed payloads, and updates repository licensing metadata. Changes:
Technical Notes: Read-paths now consistently treat Redis values as bytes and only decode to UTF-8 after optional LZ4 decompression, reducing unnecessary string allocations and preventing decode failures on binary payloads. 🤖 Was this summary useful? React with 👍 or 👎 |
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.
No description provided.