Repository navigation
Conversation
llogen
marked this pull request as draft
July 27, 2026 06:33
llogen
force-pushed
the
feat/chunked-file-transfer
branch
from
July 27, 2026 08:00
ea122c3 to
54cdde7
Compare
llogen
marked this pull request as ready for review
July 27, 2026 08:37
llogen
force-pushed
the
feat/chunked-file-transfer
branch
from
July 30, 2026 08:33
54cdde7 to
8babdbe
Compare
llogen
force-pushed
the
feat/chunked-file-transfer
branch
from
November 3, 2026 10:50
8babdbe to
f4e0c1d
Compare
llogen
force-pushed
the
feat/chunked-file-transfer
branch
2 times, most recently
from
November 5, 2026 10:46
bdceb4f to
21122f3
Compare
Files move between client and agent in acknowledged chunks instead of one message, so memory stays bounded and module output keeps flowing during a transfer. BREAKING CHANGE: FileTransferRequest, FileChunk and FileTransferResponse replace the File and FileRequest messages on the Run stream, so dutagent and dutctl must be upgraded together. In module.Session, RequestFile and SendFile take a context, and SendFile takes the file size and closes the reader once the transfer ends. Signed-off-by: llogen <christoph.lange@blindspot.software>
ADR-0035 records the chunked file transfer over the Run stream, which replaces the file-transfer points of ADR-0003. Signed-off-by: llogen <christoph.lange@blindspot.software>
llogen
force-pushed
the
feat/chunked-file-transfer
branch
from
November 5, 2026 11:15
21122f3 to
9669658
Compare
This branch has not been deployed
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.
Files move between dutctl and dutagent in 1 MiB chunks, and module output and console input keep flowing during a transfer.
The old File message held the whole file in memory on both ends and blocked the Run stream until it was sent.
This breaks the RPC protocol and the module API, so dutagent and dutctl must be upgraded together.