gristlabs_grist-core/app
Paul Fitzpatrick 7078922a65 (core) ensure randomness works when sandbox is cloned from a checkpoint
Summary:
This calls a new `initialize` method on the sandbox before we start
doing calculations with it, to make sure that `random.seed()` has
been called. Otherwise, if the sandbox is cloned from a checkpoint,
the seed will have been reset.

The `initialize` method includes the functionality previously done
by `set_doc_url` since it is also initialization/personalization and
this way we avoid introducing another round trip to the sandbox.

Test Plan: tested with grist-core configured to use gvisor

Reviewers: georgegevoian, dsagal

Reviewed By: georgegevoian, dsagal

Subscribers: alexmojaki

Differential Revision: https://phab.getgrist.com/D3549
2022-07-27 14:59:27 -04:00
..
client (core) FormulaEditor was updating formula when nothing has changed 2022-07-27 11:23:18 +02:00
common (core) Add product for new personal plan 2022-07-26 11:33:23 -07:00
gen-server (core) Add product for new personal plan 2022-07-26 11:33:23 -07:00
plugin (core) add an access token mechanism to help with attachments in custom widgets 2022-07-19 11:55:18 -04:00
server (core) ensure randomness works when sandbox is cloned from a checkpoint 2022-07-27 14:59:27 -04:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00