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