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
I just ran a pebble exec of a simple command (echo foo) locally, and because it stores all the command arguments in the task data, it expanded to over 4KB of JSON data in state -- mostly due to the environment which we now (since #234) copy os.Environ as a base. It would be good to find a way to avoid storing this much in state, for example, can we expand os.Environ lazily, later in the game?
The text was updated successfully, but these errors were encountered:
Per canonical#411, the environment (and other task data) can get quite large for
exec objects. Given that exec commands are one-shot and only relevant
for the current run of Pebble, there's no need to persist them.
Note that none of this data is in "api-data" so it's not accessible via
the API at all right now, and so this is a non-breaking change.
Later if we want to make exec tasks a bit more introspectable we can
add the command line or other fields to "api-data" (but we shouldn't
add the entire environment).
Fixescanonical#411.
I just ran a
pebble exec
of a simple command (echo foo
) locally, and because it stores all the command arguments in the task data, it expanded to over 4KB of JSON data in state -- mostly due to the environment which we now (since #234) copyos.Environ
as a base. It would be good to find a way to avoid storing this much in state, for example, can we expandos.Environ
lazily, later in the game?The text was updated successfully, but these errors were encountered: