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
..
2022-07-19 11:55:18 -04:00
2021-03-19 18:20:33 -04:00
2021-09-29 11:27:02 -04:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2022-07-27 14:59:27 -04:00
2022-07-14 12:00:30 -04:00
2022-07-04 10:42:40 -04:00
2022-06-15 13:06:12 -04:00
2022-07-19 11:55:18 -04:00
2022-07-04 10:42:40 -04:00
2020-07-21 20:39:10 -04:00
2022-07-15 00:21:44 +02:00
2022-07-04 10:42:40 -04:00
2022-05-27 22:19:17 -04:00
2022-05-18 20:28:25 +02:00
2022-07-19 11:55:18 -04:00
2022-07-14 12:00:30 -04:00
2022-07-19 11:55:18 -04:00
2020-07-21 20:39:10 -04:00
2022-07-19 11:55:18 -04:00
2022-02-22 12:50:43 -05:00
2022-07-04 10:42:40 -04:00
2022-07-14 12:00:30 -04:00
2022-07-04 10:42:40 -04:00
2020-07-21 20:39:10 -04:00
2022-02-19 09:46:49 +00:00
2022-07-19 11:55:18 -04:00
2022-07-19 11:55:18 -04:00
2022-07-04 10:42:40 -04:00
2022-02-19 09:46:49 +00:00
2021-12-07 17:09:58 +02:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-06-07 15:47:17 -04:00
2020-07-21 20:39:10 -04:00
2021-04-29 08:56:54 -04:00
2022-07-19 11:55:18 -04:00
2022-06-15 13:06:12 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-07 07:22:02 -04:00
2022-07-19 11:55:18 -04:00
2022-07-04 10:42:40 -04:00
2022-05-12 14:43:21 +02:00
2020-09-18 16:31:29 -04:00
2022-07-04 10:42:40 -04:00
2022-07-15 00:21:44 +02:00
2022-06-17 21:53:20 +02:00
2022-06-08 21:10:49 +02:00
2020-10-30 13:52:46 -04:00
2022-07-19 11:55:18 -04:00
2022-07-14 12:00:30 -04:00
2022-05-18 08:02:32 -07:00
2020-07-23 11:29:05 -04:00
2022-07-14 12:09:56 +02:00
2022-06-27 16:10:10 -04:00
2022-07-04 10:42:40 -04:00
2020-07-21 20:39:10 -04:00
2022-06-07 15:47:17 -04:00
2022-06-07 15:47:17 -04:00
2020-10-28 13:59:13 -04:00
2022-07-04 10:42:40 -04:00
2020-07-21 20:39:10 -04:00
2022-05-18 20:28:25 +02:00
2022-07-04 10:42:40 -04:00
2022-05-18 14:26:27 -04:00
2022-07-04 10:42:40 -04:00
2022-04-01 15:24:19 -07:00
2020-07-22 14:45:42 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-07 07:22:02 -04:00
2021-05-24 12:56:18 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-26 11:33:23 -07:00
2021-11-03 15:31:39 +01:00
2022-06-07 15:47:17 -04:00
2022-07-04 10:42:40 -04:00
2022-06-07 15:47:17 -04:00
2022-07-14 12:00:30 -04:00
2020-07-21 20:39:10 -04:00
2020-07-21 20:39:10 -04:00
2022-07-14 12:00:30 -04:00
2021-10-01 10:18:56 -04:00
2020-07-21 20:39:10 -04:00
2022-07-04 10:42:40 -04:00
2022-04-01 15:24:19 -07:00
2022-07-04 10:42:40 -04:00
2022-04-27 22:21:55 +02:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00
2022-07-04 10:42:40 -04:00