Repository navigation
Bound tunnel transport memory and preserve usage metadata - #948
Closed
tolgaergin wants to merge 1 commit into
Closed
tolgaergin wants to merge 1 commit into
tolgaergin wants to merge 1 commit into
Conversation
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.
Tunnel traffic could retain unbounded work, and CLI output omitted resource metadata. Add protocol 4 credit flow, bounded streaming and capture, cancellation deadlines, and complete versioned JSON and human usage output. This requires the coordinated server release.
Validation: Rust 1.94.0 workspace build and all-target Clippy passed with zero warnings. 7,175 non-CLI, 5,403 CLI, 119 binary and 43 tunnel workflow tests passed. Release and Wasm checks passed. Five alternating baseline/current RSS pairs reduced serial 8 MiB response memory from 318.92 to 37.20 MiB, and concurrent response memory from 301.98 to 55.83 MiB. Delayed-credit fragment latency is an intentional tradeoff. Current-head CI is green.
Follow-up review identified unresolved connection retry and heartbeat behavior. This PR needs revision before merge.
Companions: server https://github.com/tolgaergin/a-package-manager/pull/225; documentation lpm-dev/rust-client-docs#385.
Generated by OpenAI Codex (
GPT-6) using the Codex agent harness.