oficina / docs Public

fix/yrs-gc-undo-kept

core/Cargo.toml +1 −1
core/Cargo.toml

Loading diff…

internal/core/testdata/docs_core.wasm binary
internal/core/testdata/docs_core.wasm

Loading diff…

internal/core/testdata/docs_core.wasm.stamp +2 −2
internal/core/testdata/docs_core.wasm.stamp

Loading diff…

native/BUILDING.md +2 −1
native/BUILDING.md

Loading diff…

native/apple/Sources/DocsKit/CRDTReplica.swift +70 −2
native/apple/Sources/DocsKit/CRDTReplica.swift

Loading diff…

native/apple/Sources/DocsKit/DocsModel.swift +53 −10
native/apple/Sources/DocsKit/DocsModel.swift

Loading diff…

native/apple/Sources/DocsKit/DocsOfflineAccount.swift +7 −2
native/apple/Sources/DocsKit/DocsOfflineAccount.swift

Loading diff…

native/apple/Sources/DocsKit/DocsPersistence.swift +18 −1
native/apple/Sources/DocsKit/DocsPersistence.swift

Loading diff…

native/apple/Sources/DocsKit/DocsReplicaCache.swift +2 −1
native/apple/Sources/DocsKit/DocsReplicaCache.swift

Loading diff…

native/apple/Tests/DocsKitTests/OfflineDurabilityTests.swift +220 −1
native/apple/Tests/DocsKitTests/OfflineDurabilityTests.swift

Loading diff…

native/crdt/src/bin/gc_undo_kept_probe.rs +73 −0
native/crdt/src/bin/gc_undo_kept_probe.rs

Loading diff…

native/crdt/src/lib.rs +52 −2
native/crdt/src/lib.rs

Loading diff…

native/crdt/tests/damaged_snapshots.rs +88 −0
native/crdt/tests/damaged_snapshots.rs

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-105-56.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-105-56.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-107-179.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-107-179.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-110-125.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-110-125.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-116-24.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-116-24.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-119-81.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-119-81.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-123-65.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-123-65.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-141-36.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-141-36.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-2-62.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-2-62.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-21-65.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-21-65.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-22-59.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-22-59.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-24-105.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-24-105.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-27-72.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-27-72.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-31-66.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-31-66.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-33-110.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-33-110.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-38-74.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-38-74.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-40-85.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-40-85.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-43-86.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-43-86.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-59-43.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-59-43.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-61-76.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-61-76.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-69-191.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-69-191.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-71-193.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-71-193.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-72-42.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-72-42.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-78-28.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-78-28.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-81-33.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-81-33.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-86-51.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-86-51.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-88-64.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-88-64.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-9-27.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-9-27.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-96-175.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-96-175.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/damaged-99-15.bin binary
native/crdt/tests/fixtures/damaged-snapshots/damaged-99-15.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-105-56.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-105-56.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-107-179.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-107-179.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-110-125.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-110-125.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-116-24.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-116-24.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-119-81.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-119-81.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-123-65.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-123-65.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-141-36.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-141-36.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-2-62.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-2-62.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-21-65.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-21-65.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-22-59.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-22-59.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-24-105.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-24-105.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-27-72.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-27-72.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-31-66.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-31-66.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-33-110.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-33-110.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-38-74.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-38-74.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-40-85.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-40-85.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-43-86.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-43-86.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-59-43.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-59-43.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-61-76.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-61-76.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-69-191.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-69-191.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-71-193.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-71-193.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-72-42.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-72-42.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-78-28.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-78-28.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-81-33.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-81-33.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-86-51.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-86-51.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-88-64.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-88-64.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-9-27.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-9-27.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-96-175.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-96-175.bin

Loading diff…

native/crdt/tests/fixtures/damaged-snapshots/good-99-15.bin binary
native/crdt/tests/fixtures/damaged-snapshots/good-99-15.bin

Loading diff…

native/crdt/tests/gc_undo_kept.rs +152 −0
native/crdt/tests/gc_undo_kept.rs

Loading diff…

native/crdt/tests/gc_undo_kept_fuzz.rs +233 −0
native/crdt/tests/gc_undo_kept_fuzz.rs

Loading diff…

native/crdt/tests/insert_into_deleted_parent.rs +154 −0
native/crdt/tests/insert_into_deleted_parent.rs

Loading diff…

native/host/tests/gc_undo_kept.rs +42 −0
native/host/tests/gc_undo_kept.rs

Loading diff…

native/scripts/check-gc-undo-kept-wire.mjs +106 −0
native/scripts/check-gc-undo-kept-wire.mjs

Loading diff…

native/scripts/check-mutations.py +11 −3
native/scripts/check-mutations.py

Loading diff…

native/scripts/check-native.sh +6 −0
native/scripts/check-native.sh

Loading diff…

native/vendor/yrs-0.23.5/PATCHES.md +47 −3
native/vendor/yrs-0.23.5/PATCHES.md

Loading diff…

native/vendor/yrs-0.23.5/src/block.rs +34 −2
native/vendor/yrs-0.23.5/src/block.rs

Loading diff…

native/vendor/yrs-0.23.5/src/block_iter.rs +7 −1
native/vendor/yrs-0.23.5/src/block_iter.rs

Loading diff…

native/vendor/yrs-0.23.5/src/gc.rs +7 −3
native/vendor/yrs-0.23.5/src/gc.rs

Loading diff…

native/vendor/yrs-0.23.5/src/transaction.rs +7 −1
native/vendor/yrs-0.23.5/src/transaction.rs

Loading diff…

native/vendor/yrs-0.23.5/src/undo.rs +8 −2
native/vendor/yrs-0.23.5/src/undo.rs

Loading diff…