[APP-5893] Reduce Merkle snapshot deserialization memory - #15909
Open
warp-agent-staging[bot] wants to merge 2 commits into
Open
[APP-5893] Reduce Merkle snapshot deserialization memory#15909warp-agent-staging[bot] wants to merge 2 commits into
warp-agent-staging[bot] wants to merge 2 commits into
Conversation
Contributor
Author
|
This PR was generated with Warp. Comment |
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.


Description
Merkle snapshot reconstruction now reserves each serialized node's exact child capacity and shares one
Arc<Path>across a file node, its fragment nodes, and reconstructed fragment metadata. This removes repeated path allocations without changing the serialized snapshot schema or path-based behavior.The separate serde-buffered
AIAgentContext/PersistedAIInputType/SkillDescriptorallocation cluster remains follow-up work and is intentionally out of scope.Linked Issue
APP-5893
ready-to-specorready-to-implement. — Linear issue; the GitHub label does not apply.Testing
./script/format— passedcargo nextest run --manifest-path /workspace/warp/Cargo.toml -p ai— 385 passed, 0 skippedcargo clippy --manifest-path /workspace/warp/Cargo.toml -p ai --all-targets --features local_fs -- -D warnings— passedcargo clippy --manifest-path /workspace/warp/Cargo.toml -p warp --all-targets -- -D warnings— passedFull workspace all-features Clippy was attempted but is blocked by existing
agent_mode_evals-gated execution-profile test imports and unrelated dead-code errors.I have manually tested my changes locally with
./script/run— Not applicable to snapshot allocation behavior.Agent Mode
CHANGELOG-NONE