diff options
| author | tv <tv@krebsco.de> | 2026-11-13 16:45:52 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-13 16:45:52 +0000 |
| commit | 02b4ee25950a7edd527d728a5a7234ba24361428 (patch) | |
| tree | fd71edd0793b2a5dac4059d4898d2f18963d7015 /src/config/mod.rs | |
| parent | 29e70c16546f3f2b0134147a31ec335f82433289 (diff) | |
changes: a test that generates changes and asks what passes to stay sound
Twice, crafting changes by hand missed some that pass screening's checks
and break Automerge; a program generating them found three more kinds.
This test does the same: on documents three honest writers wrote at once
(maps, a list, a text, a counter), changes of one to four operations of
every kind, at random places, naming as replaced nothing, what is there,
or any operation. Each that passes the checks is applied, given back by
its hash, saved and loaded, taken by a peer that lacks it, written after
by an honest node, and saved and loaded again; nothing of that may fail
or panic. The run is seeded, the seed named where it fails, and
CHANGES_GENERATED sets how many documents (60 by default) for a longer
run.
Diffstat (limited to 'src/config/mod.rs')
0 files changed, 0 insertions, 0 deletions
