chore: update protobuf to reuse file request#21447
Merged
Conversation
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Emyrk
commented
Jan 7, 2026
Comment on lines
-162
to
-166
| message UploadFileRequest { | ||
| oneof type { | ||
| provisioner.DataUpload data_upload = 1; | ||
| provisioner.ChunkPiece chunk_piece = 2; | ||
| } |
Member
Author
There was a problem hiding this comment.
This was moved to provisioner.proto
408096b to
5d02ba2
Compare
259ab00 to
19a5a3b
Compare
a91dd17 to
482752b
Compare
c2c8425 to
5b0df75
Compare
81867ee to
4ad4e85
Compare
5b0df75 to
ecf4457
Compare
johnstcn
approved these changes
Jan 9, 2026
ecf4457 to
9f5aab4
Compare
9f5aab4 to
684f734
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.

This is just the protobuf changes for the PR #21398
Moved
UploadFileRequestfromprovisionerd.proto->provisioner.proto.Renamed to
FileUploadbecause it is now bi-directional.This is backwards compatible. I tested it to confirm the payloads are identical. Types were just renamed and moved around.
What this does
This allows provisioner daemons to download files from
coderd'sfilestable. This is used to send over cached module files and prevent the need of downloading these modules on each workspace build.