You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decide on chunked file transfer in the executor FileService #2770
FileService (#2689) moves whole files in single unary messages: ReadFile returns the content, and CreateFile and ReplaceFile send it. A file can be up to executionenv.MaxFileBytes (5 MiB), above gRPC's 4 MiB default message size, so today both ends must raise the message limit, as the existing provider and client already do with MaxMessageBytes (8 MiB).
Moving file content to chunked streaming is a breaking change to mecatl.executor.v1. It is cheap now and expensive once the in-memory implementation (#2691), the Files server (#2694), the proxy (#2701) and the client (#2710) are built on the unary shape, so it should be settled before those start.
Decide
Whether ReadFile, CreateFile and ReplaceFile stream content in chunks, or stay unary with the raised message limit as a documented requirement for every server and client.
If streaming: chunk size, where the version and expected version travel (first or last message), and how a write that fails midway leaves the file (create-only and CAS semantics must hold: nothing is written unless the whole content arrived and the version still matches).
Whether the file tools and Workspace port read and write in chunks too, or the trusted service assembles whole files at the edge.
Acceptance criteria
The decision is recorded in docs/drafts/kubernetes-execution/executor-protocol.md.
Activity
feat(contracts): define the executor Files and Commands services (#2764)
feat(contracts): stream file content in the executor FileService
feat(contracts): stream file content in the executor FileService
feat(contracts): stream file content in the executor FileService
feat(contracts): stream file content in the executor FileService
feat(contracts): stream file content in the executor FileService (#2832)