- Notifications
You must be signed in to change notification settings - Fork907
chore: apply the 4mb max limit on drpc protocol message size#17771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Emyrk commentedMay 12, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
This stack of pull requests is managed byGraphite. Learn more aboutstacking. |
14f3977
to168fe3d
Compare168fe3d
to9ba91b6
Compare9ba91b6
to073bedd
Compare073bedd
toc041459
CompareI'm not sure I follow the logic. Aren't modules fetched dynamically at import time, which happensafter the (up to) 10MB upload? There are no constraints on how big the modules could be during the import build which downloads them from a registry. |
Emyrk commentedMay 12, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
You are right, modules will have to have a different solution. I thought a 10mb file could be uploaded as a template version, which would fail at the protobuf layer. Our We should still keep the config setting, as we check against 4mb limits here: coder/coderd/provisionerdserver/provisionerdserver.go Lines 710 to 713 inc041459
Edit: Reverted to 4mb, but still want the constant to set the settings |
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Spike Curtis <spike@coder.com>
64807e1
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Respect the 4mb max limit on proto messages