snapshot creation errors if it's larger than 4mb
If you try to send a snapshot larger than 4mb, you hit the GRPC message size limit and get an error
related to https://github.com/tilt-dev/tilt/issues/3194, which it seems was not fully fixed
here's the error message on the tilt server side: grpc: received message larger than max (12096681 vs. 4194304)
I think eventually we're just going to need to cap the number of logs in a snapshot, 4mb is a lot of logs for a local dev environment, so maybe that's a better place to start
I think we may have started seeing this now that we're using snapshots again.
Error creating snapshot: posting snapshot failed. status: 500 Internal Server Error, response: error creating snapshot
yep, the error i see on the backend is - grpc: received message larger than max (6775425 vs. 4194304)
I'm not sure if it's the same underlying cause, but I got the same error this morning when creating a snapshot with Tilt v0.18.8:
Error creating snapshot: posting snapshot failed. status: 500 Internal Server Error, response: error creating snapshot
@milas I sent you a link to the datadog traces. Ya, I'm still seeing this hit limits grpc: received message larger than max (4921615 vs. 4194304) :\
thanks @nicks !
we got something like this recently in the form of:
Snapshot: Error creating snapshot: posting snapshot failed. status: 413 Request Entity Too Large, response: snapshot too large. nodes over 1.0MB are: /view/logList/segments: 2.6MB
The 4 Mb limit seems less reasonable when considering that some users capture snapshots after running tilt ci. These snapshots would include all logs produced during a CI run, as opposed to brief logs created during a dev stint.
Any updates on this issue per chance? We'd love to be able to have a higher snapshot size limit, even if that were to cost $$.
We would also pay $$ if this were coupled with an improved onboarding workflow (https://github.com/tilt-dev/tilt/issues/3515)