perf(agent): add generation-7 raw bulk transport - #1359
Open
appcypher wants to merge 2 commits into
Open
Conversation
appcypher
force-pushed
the
appcypher/agent-raw-bulk
branch
2 times, most recently
from
August 16, 2026 09:28
10d10f1 to
ed826cb
Compare
Add exclusive raw bulk records with explicit credit, offsets, completion, and cancellation while preserving generation-6 fallback. Route filesystem and direct-TCP data through the bounded bulk path across agentd, the host relay, agent-client, and the Rust SDK.
Retire correlation IDs only after their operation's ordinary terminal response and never reuse IDs during one relay connection. Make agentd emit typed filesystem or TCP terminal failures after cancellation, keep SDK routes alive while dropping late raw records, and use the same cancellation path when an SSH bulk channel closes.
appcypher
force-pushed
the
appcypher/agent-raw-bulk
branch
from
August 16, 2026 09:34
ed826cb to
e29bc98
Compare
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.
TL;DR
Move filesystem and TCP payloads out of nested CBOR into generation-7 raw records with bounded credit.
Description
The same fresh exact-head comparison is shown on every PR in this stack. “After” means all four PRs together at
7f3f44ce, with automatic dual-port selection andlocal-shm-v1enabled; the original baseline is05f53e7a. Both profiles ran twice in ABBA order.Environment: OVH Advance-4, Linux/KVM, 1-vCPU guest, host CPU 8 affinity, guest tmpfs, public Rust SDK, verified payload hashes, and empty stderr. After artifacts were rebuilt from
7f3f44ceagainst libkrunff087a1.Test Plan