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?
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?