Delete and restore: p95 under 50 ms on the perf VM #125

Closed
opened 2026-10-14 04:31:33 +00:00 by kayg · 30 comments
Owner

From #90: on the perf VM, delete is 22–38 ms p50 and 113–150 ms p95; restore is 22–35 ms p50 and 37–55 ms p95. Each delete does about 4 serial fsyncs at 8–15 ms each.

Proposal: answer once the job's plan is durable, and flush its final "done" write in the background. That's safe because the job journal replays on restart. The change is in the shared job code that rename and make-note also use, so measure those too. Keep the budgets gate.

From #90: on the perf VM, delete is 22–38 ms p50 and 113–150 ms p95; restore is 22–35 ms p50 and 37–55 ms p95. Each delete does about 4 serial fsyncs at 8–15 ms each. Proposal: answer once the job's plan is durable, and flush its final "done" write in the background. That's safe because the job journal replays on restart. The change is in the shared job code that rename and make-note also use, so measure those too. Keep the budgets gate.
Author
Owner

Starting re-measurement on branch issue/125-delete-remeasure, based on origin/dev at c82161d7c6fefcd476d73a92f1fbc2461ef2fef1.

Starting re-measurement on branch `issue/125-delete-remeasure`, based on `origin/dev` at `c82161d7c6fefcd476d73a92f1fbc2461ef2fef1`.
Author
Owner

Source inspection on base c82161d7: the three relevant #253 commits (2a0302f, c48bdfe, 80557e8) are not ancestors of origin/dev. The current delete move still relies on rename_safely syncing both source and destination directories before returning. The existing trash_bench only times direct Notes calls for delete/restore; it has no permanent-delete samples or interleaving. Latency numbers are pending, so there is no performance conclusion yet.

Source inspection on base `c82161d7`: the three relevant #253 commits (`2a0302f`, `c48bdfe`, `80557e8`) are not ancestors of `origin/dev`. The current delete move still relies on `rename_safely` syncing both source and destination directories before returning. The existing `trash_bench` only times direct `Notes` calls for delete/restore; it has no permanent-delete samples or interleaving. Latency numbers are pending, so there is no performance conclusion yet.
Author
Owner

Implementation is waiting for review of the proposed design in the active chat. Source inspection is complete; no benchmark run or code change has started. Approval is needed before adding the focused harness scenario and timing instrumentation.

Implementation is waiting for review of the proposed design in the active chat. Source inspection is complete; no benchmark run or code change has started. Approval is needed before adding the focused harness scenario and timing instrumentation.
Author
Owner

Starting the delete/restore remeasurement on branch issue/125-delete-remeasure, based on origin/dev at c82161d7c6fefcd476d73a92f1fbc2461ef2fef1. I will measure the requested SSD and rotational-disk scenarios and report findings here.

Starting the delete/restore remeasurement on branch `issue/125-delete-remeasure`, based on `origin/dev` at `c82161d7c6fefcd476d73a92f1fbc2461ef2fef1`. I will measure the requested SSD and rotational-disk scenarios and report findings here.
Author
Owner

The SSD baseline is waiting for the required perf VM lock: /root/perf-vm.lock is currently held by another run. I have not started a competing benchmark. Staging remains at 22% disk use; measurements are pending the lock becoming available.

The SSD baseline is waiting for the required perf VM lock: `/root/perf-vm.lock` is currently held by another run. I have not started a competing benchmark. Staging remains at 22% disk use; measurements are pending the lock becoming available.
Author
Owner

SSD baseline complete on /dev/sda1 (non-rotational), with 5 warm runs × 30 interleaved API operations per metric (150 samples each). Values are p50 / p95 / max in ms; p50 and p95 follow the harness median-of-runs style, max is across all samples.

Home size Operation p50 p95 max
10k notes.delete 21.2 32.4 58.4
10k notes.restore 20.4 30.3 52.6
10k notes.forget 9.27 11.3 20.3
100k notes.delete 21.0 38.2 608
100k notes.restore 20.6 169 2711
100k notes.forget 9.29 20.8 305

Finding: 100k restore p95 is 169 ms, above the 50 ms SSD threshold. Delete and permanent delete p95 are below the threshold. I’m tracing the restore tail before deciding which #253 changes still apply.

SSD baseline complete on `/dev/sda1` (non-rotational), with 5 warm runs × 30 interleaved API operations per metric (150 samples each). Values are p50 / p95 / max in ms; p50 and p95 follow the harness median-of-runs style, max is across all samples. | Home size | Operation | p50 | p95 | max | |---:|---|---:|---:|---:| | 10k | notes.delete | 21.2 | 32.4 | 58.4 | | 10k | notes.restore | 20.4 | 30.3 | 52.6 | | 10k | notes.forget | 9.27 | 11.3 | 20.3 | | 100k | notes.delete | 21.0 | 38.2 | 608 | | 100k | notes.restore | 20.6 | 169 | 2711 | | 100k | notes.forget | 9.29 | 20.8 | 305 | Finding: 100k restore p95 is 169 ms, above the 50 ms SSD threshold. Delete and permanent delete p95 are below the threshold. I’m tracing the restore tail before deciding which #253 changes still apply.
Author
Owner

SSD cause breakdown from debug timing logs in the final 100k warm run (30 timed cycles plus 30 pre-trash deletes):

Stage Samples p50 ms p95 ms max ms
watch.reconcile 9 27.2 1892.5 1892.5
index.update remove 60 0.012 0.031 224.4
index.flush 90 7.3 10.3 18.6
flush.rename_from_trash 30 7.4 17.0 18.0
history.job_progress restore 30 4.4 6.6 7.9
history.commit 210 4.0 5.8 17.3

Inference from those timings and the current watcher code: reconciliation folds every indexed path while holding the index lock; a request can then wait on that lock during its restore path lookup. The watcher stall accounts for the long tail far better than the awaited file flush or history commit. I will verify this against the HDD baseline before applying the relevant #253 index/watcher changes.

SSD cause breakdown from debug timing logs in the final 100k warm run (30 timed cycles plus 30 pre-trash deletes): | Stage | Samples | p50 ms | p95 ms | max ms | |---|---:|---:|---:|---:| | `watch.reconcile` | 9 | 27.2 | 1892.5 | 1892.5 | | `index.update` remove | 60 | 0.012 | 0.031 | 224.4 | | `index.flush` | 90 | 7.3 | 10.3 | 18.6 | | `flush.rename_from_trash` | 30 | 7.4 | 17.0 | 18.0 | | `history.job_progress` restore | 30 | 4.4 | 6.6 | 7.9 | | `history.commit` | 210 | 4.0 | 5.8 | 17.3 | Inference from those timings and the current watcher code: reconciliation folds every indexed path while holding the index lock; a request can then wait on that lock during its restore path lookup. The watcher stall accounts for the long tail far better than the awaited file flush or history commit. I will verify this against the HDD baseline before applying the relevant #253 index/watcher changes.
Author
Owner

Rotational-disk baseline complete on /dev/sdb1 (ext4, ROTA=1), same 5 warm runs × 30 interleaved operations per metric (150 samples each). Values are p50 / p95 / max in ms.

Home size Operation p50 p95 max
10k notes.delete 75.1 150 360
10k notes.restore 70.2 170 472
10k notes.forget 35.9 101 183
100k notes.delete 73.6 369 831
100k notes.restore 77.0 368 1670
100k notes.forget 38.9 82.6 713

Finding: 10k restore and both 100k job operations exceed the 150 ms HDD p95 threshold. The 10k delete p95 is exactly 150 ms; permanent-delete p95s are below the threshold. I’m applying the watcher/index changes that match the measured SSD cause.

Rotational-disk baseline complete on `/dev/sdb1` (ext4, ROTA=1), same 5 warm runs × 30 interleaved operations per metric (150 samples each). Values are p50 / p95 / max in ms. | Home size | Operation | p50 | p95 | max | |---:|---|---:|---:|---:| | 10k | notes.delete | 75.1 | 150 | 360 | | 10k | notes.restore | 70.2 | 170 | 472 | | 10k | notes.forget | 35.9 | 101 | 183 | | 100k | notes.delete | 73.6 | 369 | 831 | | 100k | notes.restore | 77.0 | 368 | 1670 | | 100k | notes.forget | 38.9 | 82.6 | 713 | Finding: 10k restore and both 100k job operations exceed the 150 ms HDD p95 threshold. The 10k delete p95 is exactly 150 ms; permanent-delete p95s are below the threshold. I’m applying the watcher/index changes that match the measured SSD cause.
Author
Owner

The HDD trace confirms the same cause at 100k. In the final warm run: watch.reconcile (30 samples) p50 33.4 ms, p95 774.8 ms, max 1217.2 ms; index.update remove (60) p95 0.05 ms, max 181.2 ms; index.flush (90) p95 65.7 ms, max 208.5 ms; durable restore rename (30) p95 61.9 ms; durable history.job_progress restore (30) p95 40.3 ms. The watcher scan is the largest tail; index log flush also competes with the durable file and history flushes. I’m porting the O(notes) watcher lookup, lazy non-awaited index writes and the safe queued final job status save.

The HDD trace confirms the same cause at 100k. In the final warm run: `watch.reconcile` (30 samples) p50 33.4 ms, p95 774.8 ms, max 1217.2 ms; `index.update` remove (60) p95 0.05 ms, max 181.2 ms; `index.flush` (90) p95 65.7 ms, max 208.5 ms; durable restore rename (30) p95 61.9 ms; durable `history.job_progress` restore (30) p95 40.3 ms. The watcher scan is the largest tail; index log flush also competes with the durable file and history flushes. I’m porting the O(notes) watcher lookup, lazy non-awaited index writes and the safe queued final job status save.
Author
Owner

Independent durability and performance review started on branch issue/125-delete-review, based on issue/125-delete-remeasure at c37ffe1031. Comparison base origin/dev is c82161d7c6. I will audit crash consistency, directory counts, and interleaved HDD trash.forget performance, then run the required gates.

Independent durability and performance review started on branch issue/125-delete-review, based on issue/125-delete-remeasure at c37ffe1031be35e1251eeb070173bd32fa5641e1. Comparison base origin/dev is c82161d7c6fefcd476d73a92f1fbc2461ef2fef1. I will audit crash consistency, directory counts, and interleaved HDD trash.forget performance, then run the required gates.
Author
Owner

Audit finding from code: trash::put removes the existing Trash markdown before attempting the source move. With a durable delete rename and a lost lazy index removal, replay can see the old index path and remove the only surviving file. trash::restore also returns success for an indexed path even when that file does not exist, leaving the note in Trash. Startup scan and bulk replay start concurrently (lib.rs home()), so scan repair is not guaranteed to precede these operations. Added two focused stale-index regression tests; running them before fixes. The original SIGKILL delete test creates an open room, whose delete uses synchronous forget_index, so it does not cover the new closed-note lazy removal.

Audit finding from code: trash::put removes the existing Trash markdown before attempting the source move. With a durable delete rename and a lost lazy index removal, replay can see the old index path and remove the only surviving file. trash::restore also returns success for an indexed path even when that file does not exist, leaving the note in Trash. Startup scan and bulk replay start concurrently (lib.rs home()), so scan repair is not guaranteed to precede these operations. Added two focused stale-index regression tests; running them before fixes. The original SIGKILL delete test creates an open room, whose delete uses synchronous forget_index, so it does not cover the new closed-note lazy removal.
Author
Owner

Compiling rusqlite v0.40.2
Compiling calternal-notes v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/notes)
Finished test profile [unoptimized + debuginfo] target(s) in 2m 14s
Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_notes-6ac741039e501ea4)

running 2 tests

thread 'tests::trash::delete_replay_with_a_stale_index_keeps_the_only_file' (1654465) panicked at crates/notes/src/tests/trash.rs:383:44:
called Result::unwrap() on an Err value: Error { code: NotFound, detail: "note 01a14366-d8e2-73f1-ba86-23e1c4e88b5b was deleted" }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
test tests::trash::delete_replay_with_a_stale_index_keeps_the_only_file ... FAILED

thread 'tests::trash::restore_with_a_stale_index_really_moves_the_file_back' (1654466) panicked at crates/notes/src/tests/trash.rs:399:5:
assertion failed: env.notes_dir().join("Plans.md").is_file()
test tests::trash::restore_with_a_stale_index_really_moves_the_file_back ... FAILED

failures:

failures:
tests::trash::delete_replay_with_a_stale_index_keeps_the_only_file
tests::trash::restore_with_a_stale_index_really_moves_the_file_back

test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 184 filtered out; finished in 0.05s

error: test failed, to rerun pass -p calternal-notes --lib

Compiling rusqlite v0.40.2 Compiling calternal-notes v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/notes) Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 14s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_notes-6ac741039e501ea4) running 2 tests thread 'tests::trash::delete_replay_with_a_stale_index_keeps_the_only_file' (1654465) panicked at crates/notes/src/tests/trash.rs:383:44: called `Result::unwrap()` on an `Err` value: Error { code: NotFound, detail: "note 01a14366-d8e2-73f1-ba86-23e1c4e88b5b was deleted" } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace test tests::trash::delete_replay_with_a_stale_index_keeps_the_only_file ... FAILED thread 'tests::trash::restore_with_a_stale_index_really_moves_the_file_back' (1654466) panicked at crates/notes/src/tests/trash.rs:399:5: assertion failed: env.notes_dir().join("Plans.md").is_file() test tests::trash::restore_with_a_stale_index_really_moves_the_file_back ... FAILED failures: failures: tests::trash::delete_replay_with_a_stale_index_keeps_the_only_file tests::trash::restore_with_a_stale_index_really_moves_the_file_back test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 184 filtered out; finished in 0.05s error: test failed, to rerun pass `-p calternal-notes --lib`
Author
Owner

Second confirmed finding: Index::under's leaf fast path returns only the newest ID's path when two IDs shadow the same folded path. The previous full scan returned both paths, allowing watcher removal to remove both IDs. New regression test under_keeps_shadowed_paths_for_watcher_removal fails with left ["same.MD"], right ["Same.md", "same.MD"]. Fix retains the full lookup when shadowed IDs exist; ordinary leaf events keep the fast path. Parent counts themselves are incremented/decremented centrally in set/unset and rebuilt on load, so rename and removal do not bypass count maintenance.

Second confirmed finding: Index::under's leaf fast path returns only the newest ID's path when two IDs shadow the same folded path. The previous full scan returned both paths, allowing watcher removal to remove both IDs. New regression test under_keeps_shadowed_paths_for_watcher_removal fails with left ["same.MD"], right ["Same.md", "same.MD"]. Fix retains the full lookup when shadowed IDs exist; ordinary leaf events keep the fast path. Parent counts themselves are incremented/decremented centrally in set/unset and rebuilt on load, so rename and removal do not bypass count maintenance.
Author
Owner

Third confirmed finding: an indexed outside markdown file can have no calternal-id in its bytes. After restore, losing the lazy put line lets startup assign a different ID to the same file, orphaning its original identity/history. The regression restore_durably_indexes_a_note_without_an_embedded_id fails with persisted.path_of(id) == None instead of Some("Outside.md"). Fix: keep lazy index puts for files carrying the correct embedded ID, but await a durable index mapping before renaming files without that ID. Existing SIGKILL cases plus new chained delete/restore/delete/forget cases passed; the new shadow-path and missing-ID tests exposed the additional gaps.

Third confirmed finding: an indexed outside markdown file can have no calternal-id in its bytes. After restore, losing the lazy put line lets startup assign a different ID to the same file, orphaning its original identity/history. The regression restore_durably_indexes_a_note_without_an_embedded_id fails with persisted.path_of(id) == None instead of Some("Outside.md"). Fix: keep lazy index puts for files carrying the correct embedded ID, but await a durable index mapping before renaming files without that ID. Existing SIGKILL cases plus new chained delete/restore/delete/forget cases passed; the new shadow-path and missing-ID tests exposed the additional gaps.
Author
Owner

Durability fixes and expanded tests now pass: calternal-notes reports test result: ok. 192 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 6.46s. This includes stalling the index log across SIGKILL for closed-note deletes/restores, rapid delete/restore and restore/delete, restore/delete/permanent-delete, direct stale-index replay before scan repair, raw markdown identity persistence, folded lookup differential checks, and nested folder rename/outside-move event bursts. Baseline release build is complete; the author release build and interleaved 10k HDD measurements are next. The final workspace gates will follow the performance verdict.

Durability fixes and expanded tests now pass: calternal-notes reports `test result: ok. 192 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 6.46s`. This includes stalling the index log across SIGKILL for closed-note deletes/restores, rapid delete/restore and restore/delete, restore/delete/permanent-delete, direct stale-index replay before scan repair, raw markdown identity persistence, folded lookup differential checks, and nested folder rename/outside-move event bursts. Baseline release build is complete; the author release build and interleaved 10k HDD measurements are next. The final workspace gates will follow the performance verdict.
Author
Owner

The permanent-delete regression is reproducing in the interleaved 10k HDD comparison, using the same harness and build environment: baseline p50 values so far are 32.719, 36.477, 32.788 ms; author p50 values are 105.030 and 102.853 ms (author p95 207.008 and 201.999 ms). Measurements continue to five runs each. trash::forget's removal and History::purge code are unchanged except tracing; delayed background index fsyncs are a candidate for the interference. I am checking this rather than treating the earlier table as VM noise. All workspace tests passed; Clippy passed after correcting lock lifetimes in the new tests.

The permanent-delete regression is reproducing in the interleaved 10k HDD comparison, using the same harness and build environment: baseline p50 values so far are 32.719, 36.477, 32.788 ms; author p50 values are 105.030 and 102.853 ms (author p95 207.008 and 201.999 ms). Measurements continue to five runs each. trash::forget's removal and History::purge code are unchanged except tracing; delayed background index fsyncs are a candidate for the interference. I am checking this rather than treating the earlier table as VM noise. All workspace tests passed; Clippy passed after correcting lock lifetimes in the new tests.
Author
Owner

Five interleaved runs per variant are complete (10k HDD, 30 samples/run, the author's Trash scenario). Median run p50/p95 and largest max: baseline 32.788/91.934/164.531 ms; author c37ffe1 98.529/201.999/284.030 ms. This is a real regression in this comparison, not an inference from the earlier table. A separate debug run measured overlap between index fsync and Trash directory sync in 22 of 30 permanent deletes, including a 223.496 ms Trash sync overlapping a 208.441 ms index fsync. I am testing an ablation/fix: append rebuildable lazy cache entries without background fsync, while explicit durable updates, compaction and unload sync earlier writes. The required Trash directory sync and history purge remain synchronous before the answer, and restored files without embedded IDs retain their new awaited index write. Final fixed-branch measurements will decide whether this removes the regression.

Five interleaved runs per variant are complete (10k HDD, 30 samples/run, the author's Trash scenario). Median run p50/p95 and largest max: baseline 32.788/91.934/164.531 ms; author c37ffe1 98.529/201.999/284.030 ms. This is a real regression in this comparison, not an inference from the earlier table. A separate debug run measured overlap between index fsync and Trash directory sync in 22 of 30 permanent deletes, including a 223.496 ms Trash sync overlapping a 208.441 ms index fsync. I am testing an ablation/fix: append rebuildable lazy cache entries without background fsync, while explicit durable updates, compaction and unload sync earlier writes. The required Trash directory sync and history purge remain synchronous before the answer, and restored files without embedded IDs retain their new awaited index write. Final fixed-branch measurements will decide whether this removes the regression.
Author
Owner

A further power-loss finding in the existing index-log writer: loading skips an incomplete final JSON record, but appending the next durable mapping directly after an unterminated tail joins both records into invalid JSON. The next mapping was acknowledged durable yet was absent on reload. New regression a_torn_tail_cannot_swallow_the_next_durable_mapping fails with None versus Some("Outside.md"). This matters for the restored outside-file identity guarantee. The smallest fix separates append batches with a newline, so an old torn tail cannot consume the next record. The extra blank lines are ignored by the existing reader. This was also present in the baseline; the audit fixes it on the review branch.

A further power-loss finding in the existing index-log writer: loading skips an incomplete final JSON record, but appending the next durable mapping directly after an unterminated tail joins both records into invalid JSON. The next mapping was acknowledged durable yet was absent on reload. New regression a_torn_tail_cannot_swallow_the_next_durable_mapping fails with None versus Some("Outside.md"). This matters for the restored outside-file identity guarantee. The smallest fix separates append batches with a newline, so an old torn tail cannot consume the next record. The extra blank lines are ignored by the existing reader. This was also present in the baseline; the audit fixes it on the review branch.
Author
Owner

The index-fsync ablation improves but does not fully remove the regression: one 30-sample no-background-index-fsync run measured trash.forget 67.9 ms p50 / 143 ms p95, compared with 98.1/162 ms for a durability-fixes-only control. The remaining deferred restore-completion history write also competes with subsequent Trash removal. The smallest additional change is to await final progress for batches containing restore steps; other final job saves remain queued. This strengthens restore completion durability and moves its flush cost back into the restore answer. SIGKILL restore tests will now expect a durable done row, while still losing the lazy index put and checking startup repair. Delete tests continue to force uncommitted final progress and replay.

The index-fsync ablation improves but does not fully remove the regression: one 30-sample no-background-index-fsync run measured trash.forget 67.9 ms p50 / 143 ms p95, compared with 98.1/162 ms for a durability-fixes-only control. The remaining deferred restore-completion history write also competes with subsequent Trash removal. The smallest additional change is to await final progress for batches containing restore steps; other final job saves remain queued. This strengthens restore completion durability and moves its flush cost back into the restore answer. SIGKILL restore tests will now expect a durable done row, while still losing the lazy index put and checking startup repair. Delete tests continue to force uncommitted final progress and replay.
Author
Owner

The latest gate rerun hit an existing fanout seed-crash test's 30-second client-response timeout: tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text, at tests/clients.rs:298. All new review regressions passed in that run (193 other notes tests passed). Earlier full workspace runs passed this test. The final UTF-8 index change does not alter this test's valid records, and its scenario does not use Trash or bulk jobs. I am rerunning it alone, then rerunning the required workspace gates with RUST_TEST_THREADS=2 to reduce shared-host contention. The timeout output will be retained in the result evidence; it will not be presented as a passing gate.

The latest gate rerun hit an existing fanout seed-crash test's 30-second client-response timeout: tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text, at tests/clients.rs:298. All new review regressions passed in that run (193 other notes tests passed). Earlier full workspace runs passed this test. The final UTF-8 index change does not alter this test's valid records, and its scenario does not use Trash or bulk jobs. I am rerunning it alone, then rerunning the required workspace gates with RUST_TEST_THREADS=2 to reduce shared-host contention. The timeout output will be retained in the result evidence; it will not be presented as a passing gate.
Author
Owner

The five-run fixed comparison recovered trash.forget: baseline 35.239/87.510/119.259 ms versus review 35.402/62.987/184.608 ms (p50/p95/largest max). However, I am not accepting that candidate yet: restore p95 rose to 304.303 ms versus baseline 163.537 ms. The index writer still delayed its cache appends by 100 ms even after fsync was removed, moving allocation and write I/O into later operations. I have removed that delay as well; queued records are now appended immediately, with durable commands still syncing earlier cache writes. I will measure the final variant again, including the conservative missing-Trash-details retention fix once its regression test runs. Shared build slots are currently occupied by other jobs; the required wrappers remain in use.

The five-run fixed comparison recovered trash.forget: baseline 35.239/87.510/119.259 ms versus review 35.402/62.987/184.608 ms (p50/p95/largest max). However, I am not accepting that candidate yet: restore p95 rose to 304.303 ms versus baseline 163.537 ms. The index writer still delayed its cache appends by 100 ms even after fsync was removed, moving allocation and write I/O into later operations. I have removed that delay as well; queued records are now appended immediately, with durable commands still syncing earlier cache writes. I will measure the final variant again, including the conservative missing-Trash-details retention fix once its regression test runs. Shared build slots are currently occupied by other jobs; the required wrappers remain in use.
Author
Owner

Additional power-loss finding (also present in baseline): Trash details are not independently fsynced, and read() reconstructed deleted_ms from the markdown file's modification time when those details were missing. start() runs empty(now - KEEP) 60 seconds after boot. A note last edited more than 30 days ago could therefore be permanently purged shortly after a just-acknowledged delete and power loss. The new regression creates a Trash file with a 1970 mtime and no details, and requires a fresh retention age. The fix uses recovery time for unknown deletion times and writes the recovered details so pagination and future sweeps see a stable age. If that metadata write fails, later reads conservatively grant another grace period. Explicit permanent deletion and Empty Trash still work. This avoids adding another fsync to every normal delete.

Additional power-loss finding (also present in baseline): Trash details are not independently fsynced, and read() reconstructed deleted_ms from the markdown file's modification time when those details were missing. start() runs empty(now - KEEP) 60 seconds after boot. A note last edited more than 30 days ago could therefore be permanently purged shortly after a just-acknowledged delete and power loss. The new regression creates a Trash file with a 1970 mtime and no details, and requires a fresh retention age. The fix uses recovery time for unknown deletion times and writes the recovered details so pagination and future sweeps see a stable age. If that metadata write fails, later reads conservatively grant another grace period. Explicit permanent deletion and Empty Trash still work. This avoids adding another fsync to every normal delete.
Author
Owner

{"deleted_ms_from_old_binary": 1000, "retention_cutoff_ms": 1789542450910, "newly_trashed_note_eligible_for_automatic_purge": true}

{"deleted_ms_from_old_binary": 1000, "retention_cutoff_ms": 1789542450910, "newly_trashed_note_eligible_for_automatic_purge": true}
Author
Owner

The API reproduction now passes on the final review binary. Before: deleted_ms was 1000, so the newly trashed note was eligible for automatic purge. After: deleted_ms is the current recovery time (1792134743470), and it is not eligible for automatic purge. The same synthetic 1970-mtime note and missing-details setup was used in both runs. The final VM binary hash matches the local build (23af8ceab029922e50072b95d309d3867e4def643e622970f8d4c8ce4ffd38b8). The previously timed-out seed-crash test also passed alone: 1 passed in 0.11s. The full workspace gates are rerunning with two test threads.

The API reproduction now passes on the final review binary. Before: deleted_ms was 1000, so the newly trashed note was eligible for automatic purge. After: deleted_ms is the current recovery time (1792134743470), and it is not eligible for automatic purge. The same synthetic 1970-mtime note and missing-details setup was used in both runs. The final VM binary hash matches the local build (23af8ceab029922e50072b95d309d3867e4def643e622970f8d4c8ce4ffd38b8). The previously timed-out seed-crash test also passed alone: 1 passed in 0.11s. The full workspace gates are rerunning with two test threads.
Author
Owner

Independent review finished. Head SHA: 1b2c280771. Tested and measured code SHA: fe53835790; the final commit adds review evidence only.

Review PR: #477. It builds on issue/125-delete-remeasure, opened as PR #475: #475. Both target dev and replace no PR. Nothing was merged or deployed, and this issue remains open.

Six durability/index problems are fixed: delete replay removing the surviving Trash file; stale-index restore answering without moving the file; restored outside markdown losing its ID; leaf lookup omitting shadowed paths; torn JSON/Unicode log tails hiding durable mappings; and missing Trash details causing premature retention purge. Central directory-count maintenance matched full scans across moves, Unicode paths, reloads and event bursts. Queued final progress preserves app-operation ordering through the durable plan/purge writer; restore completion is now awaited to remove flush contention.

The permanent-delete regression was real: initial baseline p50/p95 was 32.788/91.934 ms versus author 98.529/201.999 ms. Final baseline is 33.809/71.618 ms versus review 35.835/67.174 ms, with five interleaved runs and 30 samples per run for every build. Per-run p50 ranges overlap. Maxima remain variable. Final restore p95 is 203.345 ms versus baseline 202.533 ms; the original 150 ms target remains unmet. The report records that limitation and the remaining original-path/title fallback when unsynced Trash details are lost to a true power failure.

All required gates pass. Workspace tests: 445 passed, two ignored. The earlier seed-crash timeout passed on isolated recheck and the final two-thread workspace run. Full report: 1b2c280771/docs/perf/issue-125-delete-review.md

Gate output and performance table, copied verbatim below:

Issue #125 review: verification output

Tested code commit: fe53835 (later commits contain review evidence only).
All heavy commands ran through the required build-slot wrapper, with
CARGO_TARGET_DIR=/home/kayg/Developer/calternal-target-125. The final workspace
test command used RUST_TEST_THREADS=2. Compiler and library setup used the
existing Nix GCC/OpenSSL helper; command output below is copied verbatim.

cargo fmt --all --check

Exit status: 0.

Output was empty.

cargo clippy --workspace --all-targets -- -D warnings

Exit status: 0.

    Checking calternal-notes v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/notes)
    Checking calternal-daily v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/daily)
    Checking calternal-perf v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/perf)
    Checking calternal v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/calternal)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.81s

cargo test --workspace

Exit status: 0.

   Compiling calternal-notes v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/notes)
   Compiling calternal-daily v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/daily)
   Compiling calternal v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/calternal)
   Compiling calternal-perf v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/perf)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 16.95s
     Running unittests src/main.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal-0e2524b9e83bd935)

running 11 tests
test args::tests::dev_user_never_on_a_public_address ... ok
test args::tests::defaults_and_flags ... ok
test args::tests::migrate_v0 ... ok
test args::tests::origin_defaults_to_the_local_port ... ok
test args::tests::user_create ... ok
test args::tests::user_recover ... ok
test args::tests::fix_commands ... ok
test args::tests::web_folder ... ok
test isolation::bob_cannot_join_alices_note_room ... ok
test plugins::tests::contract_matches_the_server ... ok
test isolation::bob_reaches_nothing_of_alices_through_any_action ... ok

test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s

     Running tests/fix_tz_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/fix_tz_live-bc5a4bf6584d2af7)

running 2 tests
test fix_without_a_running_server_says_so ... ok
test strip_tz_markers_on_a_live_home_with_a_client_typing ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s

     Running tests/notes_crash.rs (/home/kayg/Developer/calternal-target-125/debug/deps/notes_crash-93cd7b159b871449)

running 2 tests
test kill_nine_mid_tag_rename_renames_each_tag_once ... ok
test kill_nine_never_loses_or_doubles ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.46s

     Running tests/notes_crash_typing.rs (/home/kayg/Developer/calternal-target-125/debug/deps/notes_crash_typing-5a864935c1e5064a)

running 1 test
test kill_nine_while_people_type_loses_and_doubles_nothing ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.85s

     Running tests/notes_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/notes_live-c8da14e6fd2209fb)

running 2 tests
test joining_a_missing_note_fails_politely ... ok
test type_over_the_websocket_and_read_it_back ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s

     Running tests/prefs_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/prefs_live-bdf7e4ca59cd64dc)

running 1 test
test preferences_are_saved_checked_and_kept ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s

     Running tests/search_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/search_live-d2de52bf0874bbe2)

running 1 test
test notes_from_everywhere_are_found ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.13s

     Running tests/startup.rs (/home/kayg/Developer/calternal-target-125/debug/deps/startup-c9f9cd5b7d6ab6fa)

running 5 tests
test answers_within_budget ... ok
test recover_only_knows_real_people ... ok
test refuses_dev_user_on_a_public_address ... ok
test a_new_server_prints_a_setup_token ... ok
test refuses_plain_http_on_a_public_origin ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_auth-5e8eb246e070ea06)

running 12 tests
test config::tests::origins ... ok
test db::tests::a_version_1_database_gets_passkey_names ... ok
test limit::tests::stops_after_the_limit ... ok
test passkeys::tests::ids_round_trip ... ok
test db::tests::opens_twice_and_keeps_schema ... ok
test passkeys::tests::names_are_trimmed_short_and_never_empty ... ok
test session::tests::names_are_cleaned ... ok
test setup::tests::names ... ok
test setup::tests::usernames ... ok
test token::tests::junk_is_not_a_token ... ok
test token::tests::setup_tokens_round_trip_through_pasting ... ok
test setup::tests::recover_needs_a_known_person ... ok

test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running tests/abuse.rs (/home/kayg/Developer/calternal-target-125/debug/deps/abuse-5b62c855d6367504)

running 9 tests
test bad_json_and_unknown_fields_are_refused ... ok
test garbage_credentials_never_crash ... ok
test junk_setup_tokens_are_refused_then_rate_limited ... ok
test non_json_requests_are_refused ... ok
test forged_sessions_get_nowhere ... ok
test open_prompts_are_capped ... ok
test nothing_about_the_server_leaks_before_sign_in ... ok
test oversized_bodies_are_refused ... ok
test other_sites_cannot_act_for_you ... ok

test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s

     Running tests/create.rs (/home/kayg/Developer/calternal-target-125/debug/deps/create-94fcea8192201cea)

running 6 tests
test an_earlier_first_owner_token_stops_working ... ok
test a_created_person_enrolls_their_first_passkey_and_is_the_same_person ... ok
test an_expired_enrolment_token_is_refused ... ok
test names_must_be_usable_and_unique ... ok
test nothing_about_the_person_leaks_before_sign_in ... ok
test an_enrolment_token_works_exactly_once_under_a_storm ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s

     Running tests/isolation.rs (/home/kayg/Developer/calternal-target-125/debug/deps/isolation-e5c44b0d42bee2d9)

running 3 tests
test a_cookie_sent_from_another_sites_page_does_not_count ... ok
test another_persons_passkey_prompt_cannot_be_used_or_cancelled ... ok
test devices_and_passkeys_of_another_person_are_not_found ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s

     Running tests/login.rs (/home/kayg/Developer/calternal-target-125/debug/deps/login-346109f79b33176b)

running 9 tests
test a_sign_in_answer_cannot_be_replayed ... ok
test bearer_tokens_work_like_cookies ... ok
test an_unknown_passkey_is_refused ... ok
test revoking_another_device_signs_it_out ... ok
test sign_in_with_a_passkey_creates_a_new_installation ... ok
test sign_out_ends_the_session_immediately ... ok
test signing_in_shows_up_live_on_another_device ... ok
test signing_out_shows_up_live_on_another_device ... ok
test sessions_expire_when_unused ... ok

test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s

     Running tests/passkeys.rs (/home/kayg/Developer/calternal-target-125/debug/deps/passkeys-841c914424a5e188)

running 7 tests
test a_removed_passkey_that_is_gone_or_unknown_is_not_found ... ok
test add_rename_and_remove_each_leave_a_journal_event ... ok
test an_empty_name_is_refused_and_a_long_one_is_cut ... ok
test adding_needs_a_sign_in_and_an_add_prompt_works_once ... ok
test the_first_passkey_is_listed_with_the_device_it_was_made_on ... ok
test the_same_device_cannot_be_added_twice ... ok
test the_last_passkey_cannot_be_removed ... ok

test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s

     Running tests/setup.rs (/home/kayg/Developer/calternal-target-125/debug/deps/setup-1d2b08d963b28fff)

running 8 tests
test a_restart_replaces_the_first_owner_token ... ok
test a_finished_prompt_cannot_be_replayed ... ok
test a_token_works_exactly_once_under_a_storm ... ok
test first_owner_needs_a_name ... ok
test first_owner_signs_up_with_the_printed_token ... ok
test recovery_adds_a_new_passkey_for_the_same_person ... ok
test session_cookie_is_locked_down ... ok
test an_expired_setup_token_is_refused ... ok

test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_backdrops-e474982e40fe3a4d)

running 19 tests
test tests::an_answer_that_is_not_a_picture_is_refused_and_not_kept ... ok
test tests::a_photo_unknown_to_us_is_looked_up ... ok
test tests::an_upload_is_private_to_the_person_who_made_it ... ok
test tests::bad_ids_never_reach_the_disk_or_the_network ... ok
test tests::an_upload_is_kept_once_and_served_back ... ok
test tests::changes_need_our_own_page_and_a_signed_in_person ... ok
test tests::picking_is_reported_to_unsplash_once ... ok
test tests::nobody_can_read_or_list_someone_elses_uploads ... ok
test tests::pictures_from_other_hosts_are_refused ... ok
test tests::search_lists_photos_with_our_own_addresses_and_credit ... ok
test tests::pictures_are_proxied_cached_and_never_given_the_key ... ok
test tests::the_real_client_sends_the_key_and_caps_the_size ... ok
test tests::the_real_client_speaks_https_to_unsplash ... ignored, needs the internet
test tests::the_same_search_is_answered_once ... ok
test tests::too_many_pixels_are_refused_but_big_files_are_not ... ok
test tests::unsplash_running_out_of_requests_is_a_plain_slow_down ... ok
test tests::the_cache_drops_the_oldest_files_past_its_cap ... ok
test tests::uploads_are_checked_by_content_not_by_what_they_claim ... ok
test tests::without_a_key_photos_are_off_but_uploads_work ... ok

test result: ok. 18 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.05s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_core-22753e58953721f1)

running 7 tests
test action::tests::namespace_is_enforced ... ok
test batch::tests::stops_at_the_first_error ... ok
test batch::tests::visits_everything_once_in_order ... ok
test error::tests::every_code_has_a_friendly_message ... ok
test journal::tests::junk_tokens_ask_for_a_refresh ... ok
test journal::tests::tokens_round_trip ... ok
test plugin::tests::plugins_stay_in_their_namespace ... ok

test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_daily-253fcac5eaa1e5e5)

running 21 tests
test day::tests::daylight_saving_uses_the_offset_the_device_sends ... ok
test day::tests::midnight_follows_the_device_in_ist ... ok
test day::tests::titles_read_like_the_web_app ... ok
test day::tests::names_and_ids ... ok
test tests::an_existing_day_file_is_reused_whatever_its_id ... ok
test tests::any_text_is_safe_to_read_and_plan ... ok
test tests::bad_input_is_refused_kindly ... ok
test tests::add_inserts_exactly_one_entry_and_keeps_the_rest ... ok
test tests::close_turns_one_open_entry_into_a_range ... ok
test tests::log_add_then_close_makes_a_range ... ok
test tests::make_note_on_a_log_line_keeps_times_and_tags ... ok
test tests::opening_the_same_day_at_once_makes_one_note ... ok
test tests::shared_vectors ... ok
test tests::today_follows_the_device_offset ... ok
test tests::two_offline_devices_starting_the_same_day_merge_into_one_note ... ok
test times_tests::a_line_with_only_tags_stays_words ... ok
test times_tests::a_log_line_splits_into_times_words_and_tags ... ok
test times_tests::any_line_is_safe ... ok
test times_tests::only_a_day_note_has_times ... ok
test tests::no_file_until_the_first_keystroke ... ok
test times_tests::trailing_tags_on_any_line ... ok

test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_engine-ff3aa4aa42431a1a)

running 13 tests
test hash::tests::key_order_does_not_matter_but_content_does ... ok
test tests::a_plugin_cannot_write_outside_its_namespace ... ok
test tests::a_retry_runs_once_and_replays_the_result ... ok
test tests::a_huge_job_never_delays_anyone ... ok
test tests::a_user_with_a_live_view_or_a_running_action_is_kept ... ok
test tests::bad_input_and_unknown_actions_are_friendly ... ok
test tests::changes_need_a_key_reads_do_not ... ok
test tests::connected_follows_live_views ... ok
test tests::identical_calls_at_the_same_moment_run_once ... ok
test tests::journal_pages_continue_where_they_stopped ... ok
test tests::no_write_is_lost_while_users_are_released_and_reopened ... ok
test tests::users_never_see_each_other ... ok
test tests::an_idle_user_is_released_and_comes_back_with_nothing_lost ... ok

test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_fixtures-6f98542429b58355)

running 4 tests
test rng::tests::same_seed_same_numbers ... ok
test dates::tests::round_trips_and_formats ... ok
test tests::same_seed_same_bytes_other_seed_other_bytes ... ok
test tests::looks_like_a_real_home ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s

     Running unittests src/main.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_fixtures-f234eac8403fa749)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_fsio-0087f3cf3ed3c80d)

running 9 tests
test tests::atomic_write_replaces_and_leaves_no_temp_files ... ok
test tests::case_only_rename_works_and_other_clashes_are_refused ... ok
test tests::failed_write_keeps_the_old_file ... ok
test tests::names_fold_case_and_unicode_form ... ok
test tests::only_one_process_owns_a_data_folder ... ok
test tests::prepared_writes_land_only_when_placed ... ok
test tests::unique_names_skip_case_and_form_clashes ... ok
test tests::write_unless_changed_keeps_someone_elses_version ... ok
test tests::big_writes_arrive_whole ... ok

test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_memory-3b65467e6e94a530)

running 2 tests
test tests::huge_pages_go_off ... ok
test tests::trimming_is_harmless ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_migrate_v0-bd794bebe756a3e2)

running 36 tests
test tests::rules::dry_run_writes_nothing ... ok
test tests::rules::edited_files_are_never_overwritten_without_asking ... ok
test tests::rules::m10_tz_markers_go_and_other_zones_convert_to_the_notes_zone ... ok
test tests::rules::m1_custom_daily_title_and_heading_stay ... ok
test tests::rules::m1_daily_notes_get_day_names_ids_and_lose_generated_headings ... ok
test tests::rules::m1_titles_come_from_title_then_h1_then_file_name_and_stay_unique ... ok
test tests::rules::m2_attachments_that_exist_are_copied_and_relinked ... ok
test tests::rules::m2_code_is_never_rewritten ... ok
test tests::rules::m2_links_are_repaired_by_name_date_title_and_slug ... ok
test tests::rules::m2_unresolved_links_stay_as_written_and_are_reported ... ok
test tests::rules::m2_wikilinks_always_become_standard_links ... ok
test tests::rules::m3_m5_frontmatter_keys_drop_and_times_convert ... ok
test tests::rules::m4_unreferenced_block_ids_go_and_referenced_ones_stay ... ok
test tests::rules::m5_unreadable_dates_fall_back ... ok
test tests::rules::m6_conflict_copies_are_not_migrated ... ok
test tests::rules::m7_tasks_blocks_are_stripped_and_listed ... ok
test tests::rules::m8_only_notes_and_linked_files_move ... ok
test tests::rules::running_twice_gives_the_same_bytes ... ok
test tests::units::every_v0_time_shape_converts ... ok
test tests::units::file_names_give_titles ... ok
test tests::units::keys_ignore_case_encoding_quotes_and_md ... ok
test tests::units::links_parse_in_every_shape ... ok
test tests::units::unix_times_become_india_time ... ok
test tzmarker::tests::a_conversion_that_leaves_the_day_is_kept_and_reported ... ok
test tzmarker::tests::berlin_converts_inside_the_day ... ok
test tzmarker::tests::code_is_never_touched ... ok
test tzmarker::tests::day_from_a_date_value ... ok
test tzmarker::tests::eu_summer_time_edges ... ok
test tzmarker::tests::marker_at_the_end_or_tight_leaves_no_stray_space ... ok
test tzmarker::tests::no_zone_in_the_note_means_strip_only ... ok
test tzmarker::tests::not_a_marker_is_left_alone ... ok
test tzmarker::tests::same_zone_just_goes ... ok
test tzmarker::tests::second_run_changes_nothing ... ok
test tzmarker::tests::styles_survive_conversion ... ok
test tzmarker::tests::unknown_zone_or_a_non_log_line_is_kept_and_counted ... ok
test tests::no_new_markers::nothing_writes_a_tz_marker ... ok

test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_notes-deecfda7a8462cc2)

running 196 tests
test anchor::tests::lines_by_utf16_index ... ok
test anchor::tests::hash_is_plain_sha256_hex ... ok
test backlinks::tests::snippets_are_the_trimmed_line ... ok
test blocks::tests::finds_list_children_and_heading_sections ... ok
test backlinks::tests::links_are_fold_keys_and_lines ... ok
test blocks::tests::line_edits ... ok
test blocks::tests::shapes_keep_markers ... ok
test blocks::tests::titles_from_the_first_sentence ... ok
test bulk::undo::tests::inverse_restores_the_text ... ok
test diff::tests::an_inserted_line_starts_at_a_line_start ... ok
test diff::tests::edits_never_split_a_character ... ok
test bulk::undo::tests::inverse_roundtrips ... ok
test diff::tests::emoji_positions_are_utf16 ... ok
test diff::tests::small_change_is_a_small_edit ... ok
test frontmatter::tests::h1_skips_code_and_frontmatter ... ok
test frontmatter::tests::quoting ... ok
test frontmatter::tests::reads_keys ... ok
test frontmatter::tests::set_adds_a_line_or_a_block ... ok
test frontmatter::tests::set_changes_only_the_value ... ok
test frontmatter::tests::set_is_utf16_aware ... ok
test history::tests::appends_are_ordered_and_readable ... ok
test history::tests::pending_save_promotes_to_base ... ok
test index::tests::a_shared_path_answers_with_the_newest_note ... ok
test index::tests::a_torn_tail_cannot_swallow_the_next_durable_mapping ... ok
test diff::tests::edits_turn_old_into_new ... ok
test index::tests::compacts_when_it_grows ... ok
test index::tests::directory_counts_match_full_scan_after_moves_and_reload ... ok
test index::tests::reload_speed ... ignored
test index::tests::survives_reload_renames_and_torn_lines ... ok
test index::tests::under_finds_exact_paths_and_descendants_with_folded_names ... ok
test index::tests::under_keeps_shadowed_paths_for_watcher_removal ... ok
test index::tests::unloads_and_reloads ... ok
test links::tests::finds_standard_and_old_style_links ... ok
test links::tests::nested_brackets_in_text ... ok
test links::tests::relative_paths ... ok
test links::tests::resolves_relative_to_the_linking_note ... ok
test links::tests::retarget_follows_the_title_and_keeps_custom_text ... ok
test links::tests::retarget_from_a_subfolder ... ok
test links::tests::retarget_matches_case_and_unicode_forms ... ok
test links::tests::skips_code_images_and_the_web ... ok
test meta::tests::cursors_round_trip_and_reject_junk ... ok
test meta::tests::snippets_skip_frontmatter_and_headings ... ok
test rename::tests::clash_numbers ... ok
test rename::tests::daily_names ... ok
test rename::tests::h1_is_set_or_added ... ok
test room::acks::tests::varuints_round_trip ... ok
test room::edit::tests::checks_bounds_overlap_and_surrogates ... ok
test scan::tests::day_ids_name_their_files ... ok
test scan::tests::state_round_trips_and_skips_odd_names ... ok
test search::tests::a_note_becomes_a_document ... ok
test search::tests::titles_fall_back_to_the_file_name ... ok
test smartline::tests::a_plain_line ... ok
test smartline::tests::only_tags_are_words ... ok
test smartline::tests::trailing_tags_only ... ok
test stamp::tests::formats_with_offset ... ok
test tags::front::tests::every_way_of_writing_tags ... ok
test tags::merge::tests::property_tags_go_with_their_comma_or_line ... ok
test tags::merge::tests::text_tags_go_with_one_space ... ok
test index::tests::answers_like_plain_maps ... ok
test tags::rewrite::tests::nothing_to_do_is_no_edits ... ok
test tags::rewrite::tests::merging_keeps_every_tag_once_at_most ... ok
test tags::rewrite::tests::positions_count_utf16 ... ok
test tags::rewrite::tests::properties_change_name_only ... ok
test tags::rewrite::tests::rename_and_back_is_the_same_text ... ok
test tags::rewrite::tests::renames_tags_and_nested_tags_only ... ok
test tags::rewrite::tests::renaming_onto_an_existing_tag_merges ... ok
test tags::rewrite::tests::words_code_links_and_headings ... ok
test tags::scan::tests::code_is_never_tags ... ok
test tags::scan::tests::headings_and_quotes_keep_their_tags ... ok
test tags::scan::tests::link_targets_and_addresses_are_never_tags ... ok
test tags::scan::tests::not_tags ... ok
test tags::scan::tests::plain_tags ... ok
test tags::tests::nesting_and_cleaning ... ok
test tags::tests::properties_and_text ... ok
test tests::acks::an_older_lineage_is_refused_before_anything_is_sent ... ok
test tests::acks::checks_are_answered_in_order ... ok
test tests::acks::lineage_survives_a_restart ... ok
test tests::acks::saved_means_the_change_is_in_history ... ok
test tests::anchors::an_anchor_follows_its_block_when_lines_shift ... ok
test tags::rewrite::tests::only_real_tags_change ... ok
test tests::anchors::anchors_need_a_hash_and_block_ids_work ... ok
test tests::anchors::an_edited_block_is_refused_never_the_wrong_one ... ok
test tests::anchors::history_folds_typing_and_names_jobs ... ok
test tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text ... ok
test tests::anchors::shifting_lines_never_move_the_wrong_block ... ok
test tests::fanout::a_crash_between_fan_out_and_disk_loses_nothing ... ok
test tests::fanout::a_version_always_matches_its_text ... ok
test tests::fanout::a_first_open_does_not_wait_for_the_disk ... ok
test tests::fanout::bursts_converge_and_reach_history ... ok
test tests::fresh::a_note_made_with_text_opens_with_its_frontmatter ... ok
test tests::kill9::child ... ok
test tests::kill9::delete_killed_after_its_answer_finishes_once ... ok
test tests::kill9::permanent_delete_after_restore_cannot_delete_the_live_note ... ok
test tests::kill9::quick_delete_restore_survives_kill ... ok
test tests::kill9::quick_restore_delete_survives_kill ... ok
test tests::kill9::restore_delete_forget_does_not_resurrect_after_kill ... ok
test tests::fanout::collaborators_see_typing_before_the_disk ... ok
test tests::kill9::restore_killed_after_its_answer_finishes_once ... ok
test tests::listing::filters_by_tag_kind_and_created_range ... ok
test tests::listing::pages_cover_every_note_once_in_a_stable_order ... ok
test tests::listing::pinning_shows_in_the_list_and_unpinning_leaves_no_trace ... ok
test tests::listing::the_first_page_never_waits_for_the_home_to_open ... ok
test tests::listing::a_common_tag_pages_the_same_in_every_order ... ok
test tests::listing::the_list_stays_live_with_new_notes_saves_and_outside_edits ... ok
test tests::opening::a_cold_fill_ends_with_every_index_and_right_answers ... ok
test tests::listing::the_kept_count_follows_adds_and_deletes ... ok
test tests::opening::a_note_never_typed_in_is_still_forgotten_on_restart ... ok
test tests::opening::a_warm_open_announces_only_what_changed_while_closed ... ok
test tests::opening::a_cold_home_indexes_every_file_once_with_its_own_id ... ok
test tests::opening::identifying_an_already_indexed_file_never_makes_it_a_copy ... ok
test tests::opening::shutting_down_leaves_the_list_log_empty ... ok
test tests::opening::typing_saved_only_in_history_survives_a_restart_before_the_first_save ... ok
test tests::opening::upgrading_without_a_saved_scan_announces_nothing_for_known_notes ... ok
test tests::outside::copied_note_gets_a_fresh_id ... ok
test tests::outside::edit_while_closed_is_merged_on_open ... ok
test tests::outside::missed_watcher_event_is_caught_before_saving ... ok
test tests::opening::asking_mid_scan_never_says_not_found_and_never_duplicates_a_day ... ok
test tests::outside::outside_edit_while_typing_merges ... ok
test tests::outside::outside_create_and_delete ... ok
test tests::outside::outside_rename_keeps_the_id ... ok
test tests::outside::own_saves_are_not_outside_edits ... ok
test tests::peek::an_open_room_answers_with_its_live_text ... ok
test tests::peek::reads_files_without_opening_rooms ... ok
test tests::peek::returns_at_most_fifty ... ok
test tests::pending::apply_places_changes_in_any_order ... ok
test tests::pending::changes_out_of_order_all_arrive_and_saved_is_true ... ok
test tests::pending::yrs_alone_loses_a_parked_change ... ok
test tests::outside::polling_finds_outside_changes ... ok
test tests::renames::a_taken_name_gets_a_number_and_daily_notes_keep_theirs ... ok
test tests::renames::backlinks_follow_edits_and_deletes ... ok
test tests::renames::backlinks_list_linked_and_unlinked_mentions ... ok
test tests::renames::make_note_moves_the_block_and_undoes_as_one_step ... ok
test tests::renames::move_block_to_another_note_and_back ... ok
test tests::renames::rename_moves_the_file_and_repoints_every_link ... ok
test tests::renames::typing_a_new_title_renames_the_file_after_a_pause ... ok
test tests::renames::typing_in_a_linking_note_during_a_rename_is_kept ... ok
test tests::renames::undo_keeps_a_made_note_someone_typed_in ... ok
test tests::rooms::fresh_note_opened_by_many_at_once_is_not_doubled ... ok
test tests::rooms::late_joiner_gets_full_state ... ok
test tests::rooms::patches_use_utf16_positions ... ok
test tests::rooms::random_concurrent_editing_converges_without_duplicates ... ok
test tests::rooms::retried_change_applies_once ... ok
test tests::rooms::retried_create_makes_one_note ... ok
test tests::rooms::stale_replace_keeps_newer_typing ... ok
test tests::rooms::typing_survives_a_concurrent_delete ... ok
test tests::saving::a_write_error_keeps_the_change ... ok
test tests::saving::an_error_after_the_write_does_not_double_text ... ok
test tests::saving::crash_after_write_does_not_double_text ... ok
test tests::saving::crash_before_write_loses_nothing ... ok
test tests::saving::failed_save_keeps_the_change ... ok
test tests::saving::first_keystroke_creates_the_file ... ok
test tests::saving::line_endings_and_bom_are_kept ... ok
test tests::renames::a_crash_mid_rename_resumes_and_applies_each_edit_once ... ok
test tests::saving::opening_never_writes ... ok
test tests::saving::saving_does_not_loop ... ok
test tests::saving::title_and_h1_stay_in_step ... ok
test tests::saving::nonstop_typing_still_saves ... ok
test tests::storm::outside_rewrites_during_a_storm_all_land ... ok
test tests::tags::a_big_tag_rename_never_stalls_typing ... ok
test tests::tags::bad_names_are_refused ... ok
test tests::tags::renames_every_tag_and_undoes_as_one_step ... ok
test tests::tags::typing_during_a_tag_rename_is_kept ... ok
test tests::trash::a_closed_note_is_trashed_without_opening_it ... ok
test tests::trash::a_crash_mid_delete_finishes_on_restart_exactly_once ... ok
test tests::trash::a_file_deleted_outside_goes_to_the_trash ... ok
test tests::trash::a_never_typed_note_is_simply_forgotten ... ok
test tests::trash::a_note_deleted_before_its_first_save_keeps_its_text ... ok
test tests::trash::delete_and_restore_answer_once_per_job_id ... ok
test tests::trash::delete_moves_to_trash_and_undo_brings_it_back ... ok
test tests::trash::delete_replay_with_a_stale_index_keeps_the_only_file ... ok
test tests::trash::folder_rename_and_outside_move_bursts_keep_every_descendant ... ok
test tests::trash::forget_deletes_file_and_history_forever ... ok
test tests::trash::half_written_trash_folders_never_hide_a_live_note ... ok
test tests::trash::restore_durably_indexes_a_note_without_an_embedded_id ... ok
test tests::trash::restore_keeps_id_and_history_and_takes_a_free_name ... ok
test tests::trash::restore_with_a_stale_index_really_moves_the_file_back ... ok
test tests::trash::the_sweep_empties_only_notes_older_than_thirty_days ... ok
test tests::trash::trash_ids_never_reach_another_home ... ok
test tests::trash::trash_pages_newest_first ... ok
test tests::trash::trashed_notes_leave_search_lists_and_backlinks_and_come_back ... ok
test tests::unloading::a_connected_client_keeps_it ... ok
test tests::unloading::an_open_note_keeps_it ... ok
test tests::unloading::an_unused_home_unloads_and_answers_after ... ok
test tests::tags::a_crash_mid_rename_resumes_and_renames_each_tag_once ... ok
test tests::writers::every_writer_at_once_with_the_watcher ... ok
test text::tests::mixed_endings_take_the_majority ... ok
test text::tests::styles_round_trip ... ok
test text::tests::uniform_files_round_trip_exactly ... ok
test trash::tests::a_note_without_details_still_reads ... ok
test trash::tests::details_without_a_note_are_not_a_note ... ok
test trash::tests::missing_details_never_age_trash_from_the_notes_old_mtime ... ok
test versions::tests::folds_runs_by_author_kind_and_gap ... ok
test ydoc::tests::fork_and_merge_keeps_concurrent_typing ... ok
test ydoc::tests::reapplying_an_update_changes_nothing ... ok
test ydoc::tests::utf16_offsets ... ok
test tests::writers::every_writer_at_once_loses_and_doubles_nothing ... ok

test result: ok. 195 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 17.54s

     Running unittests src/main.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_perf-1052020ed1871574)

running 6 tests
test args::tests::parses_trash_only_mode ... ok
test scenarios::soak::tests::slope_of_a_line ... ok
test scenarios::storm::tests::typing_stops_before_the_newline_ahead_of_outside_lines ... ok
test stats::tests::medians_of_runs_and_pooled_singles ... ok
test live::tests::frames_round_trip_and_keystrokes_stay_whole ... ok
test stats::tests::summary_max_is_the_largest_observed_sample_across_runs ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/storage-bench.rs (/home/kayg/Developer/calternal-target-125/debug/deps/storage_bench-aaee1f6d1cd60c74)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_plugin_hello-53ca8ca6107399a0)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_prefs-34d1a5e6c699003e)

running 9 tests
test tests::a_change_on_one_device_reaches_the_other ... ok
test tests::a_retry_with_the_same_key_acts_once ... ok
test tests::bad_keys_and_big_values_get_friendly_errors ... ok
test tests::keys_are_an_area_then_dotted_parts ... ok
test tests::people_do_not_share_preferences ... ok
test tests::quick_saves_from_two_devices_all_land ... ok
test tests::saving_the_same_value_again_is_quiet ... ok
test tests::set_then_get_and_survive_a_restart ... ok
test tests::at_most_200_keys_but_existing_ones_can_still_change ... ok

test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_search-ff67ffa340bd9f12)

running 13 tests
test fuzzy::tests::distance_counts_swaps_as_one ... ok
test fuzzy::tests::common_typos_are_fixed ... ok
test query::tests::dates_cover_whole_periods ... ok
test query::tests::lone_symbols_are_ignored ... ok
test read::tests::block_ids_are_found ... ok
test query::tests::words_filters_and_phrases ... ok
test read::tests::renumbering_shifts_placeholders ... ok
test read::tests::excerpts_mark_matches_in_context ... ok
test read::tests::text_matches_like_the_index ... ok
test text::tests::bigrams_cover_unspaced_scripts ... ok
test text::tests::fold_drops_accents_and_case ... ok
test text::tests::words_keep_indic_vowel_signs ... ok
test schema::tests::an_older_index_gets_its_titles_filled ... ok

test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s

     Running tests/search.rs (/home/kayg/Developer/calternal-target-125/debug/deps/search-8eb084de93ee7287)

running 12 tests
test an_empty_search_shows_recent_things ... ok
test a_restart_heals_whatever_was_missed ... ok
test behind_answers_at_once_and_catching_up_is_announced_once ... ok
test every_script_is_searchable ... ok
test filters_by_tag_kind_and_date ... ok
test odd_input_never_breaks_search ... ok
test prefixes_and_typos_are_forgiven ... ok
test people_only_ever_find_their_own_things ... ok
test results_show_why_they_matched_and_where ... ok
test searches_answer_while_indexing_runs ... ok
test titles_first_then_recent_use_then_body ... ok
test the_index_follows_changes_live ... ok

test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.68s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_server-b018c8f458805a08)

running 2 tests
test rooms::tests::frames_round_trip ... ok
test compress::tests::big_answers_are_compressed_and_small_ones_are_not ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/access.rs (/home/kayg/Developer/calternal-target-125/debug/deps/access-b270c95875ec56fa)

running 1 test
test one_line_per_request_with_no_secrets ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running tests/live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/live-2ebb72560f7b157e)

running 6 tests
test a_stranger_token_asks_for_a_refresh ... ok
test health_answers_without_signing_in ... ok
test errors_carry_codes_not_internals ... ok
test http_to_journal_to_websocket ... ok
test signed_out_calls_get_a_friendly_refusal ... ok
test reconnecting_catches_up_from_a_token ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s

     Running tests/signout.rs (/home/kayg/Developer/calternal-target-125/debug/deps/signout-3993512dadca5b39)

running 1 test
test signing_a_device_out_closes_its_live_socket ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s

     Running tests/web.rs (/home/kayg/Developer/calternal-target-125/debug/deps/web-4c0ff73bf5023b52)

running 3 tests
test caching_and_security_headers_follow_what_each_file_is ... ok
test precompressed_files_are_sent_as_they_are_to_whoever_accepts_them ... ok
test files_deep_links_and_the_api_live_side_by_side ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_store-dc5119e9b339ecbc)

running 8 tests
test tests::a_store_with_a_listener_or_a_copy_is_in_use ... ok
test tests::commits_are_read_back_in_order ... ok
test tests::idempotency_is_saved_with_the_events_or_not_at_all ... ok
test tests::live_entries_arrive_in_journal_order ... ok
test tests::old_idempotency_records_are_swept_after_commits ... ok
test tests::old_idempotency_records_are_swept_when_the_store_opens ... ok
test tests::tokens_survive_a_restart_and_reject_strangers ... ok
test tests::reads_are_capped ... ok

test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_testkit-84605cced32b9d05)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_auth

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_backdrops

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_core

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_daily

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_engine

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_fixtures

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_fsio

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_memory

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_migrate_v0

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_notes

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_plugin_hello

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_prefs

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_search

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_server

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_store

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_testkit

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

Seed-crash test recheck

The concurrent run timed out waiting for a client response. It passed alone
and in the final two-thread workspace run. Isolated recheck output (verbatim):

   Compiling calternal-notes v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/notes)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 10.94s
     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_notes-6ac741039e501ea4)

running 1 test
test tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 195 filtered out; finished in 0.11s

Earlier timeout output (verbatim excerpt):

failures:

---- tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text stdout ----

thread 'tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text' (1839961) panicked at crates/notes/src/tests/clients.rs:298:14:
the server never answered: Elapsed(())
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text

test result: FAILED. 193 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 30.22s

error: test failed, to rerun pass `-p calternal-notes --lib`

Missing-details API reproduction

Same synthetic note, 1970 mtime, missing Trash details; previous and fixed
binaries, respectively (verbatim):

{"deleted_ms_from_old_binary": 1000, "retention_cutoff_ms": 1789542450910, "newly_trashed_note_eligible_for_automatic_purge": true}
{"deleted_ms_from_review_binary": 1792134743470, "retention_cutoff_ms": 1789542743471, "newly_trashed_note_eligible_for_automatic_purge": false}

trash.forget performance table

Five runs per build, 30 samples per run, interleaved on the perf VM HDD.
Output (verbatim):

| Comparison | Build | Runs × samples | p50 ms | p95 ms | Max ms |
|---|---|---:|---:|---:|---:|
| initial | Baseline c82161d | 5 × 30 | 32.788 | 91.934 | 164.531 |
| initial | Author c37ffe1 | 5 × 30 | 98.529 | 201.999 | 284.030 |
| final | Baseline c82161d | 5 × 30 | 33.809 | 71.618 | 131.863 |
| final | Review fe53835 | 5 × 30 | 35.835 | 67.174 | 191.339 |
Independent review finished. Head SHA: 1b2c2807715fb1eec37b4677643fc5fdf252625b. Tested and measured code SHA: fe53835790ccff921af1d3723e2c0cdb5f34579a; the final commit adds review evidence only. Review PR: https://git.kayg.org/kayg/calternal/pulls/477. It builds on issue/125-delete-remeasure, opened as PR #475: https://git.kayg.org/kayg/calternal/pulls/475. Both target dev and replace no PR. Nothing was merged or deployed, and this issue remains open. Six durability/index problems are fixed: delete replay removing the surviving Trash file; stale-index restore answering without moving the file; restored outside markdown losing its ID; leaf lookup omitting shadowed paths; torn JSON/Unicode log tails hiding durable mappings; and missing Trash details causing premature retention purge. Central directory-count maintenance matched full scans across moves, Unicode paths, reloads and event bursts. Queued final progress preserves app-operation ordering through the durable plan/purge writer; restore completion is now awaited to remove flush contention. The permanent-delete regression was real: initial baseline p50/p95 was 32.788/91.934 ms versus author 98.529/201.999 ms. Final baseline is 33.809/71.618 ms versus review 35.835/67.174 ms, with five interleaved runs and 30 samples per run for every build. Per-run p50 ranges overlap. Maxima remain variable. Final restore p95 is 203.345 ms versus baseline 202.533 ms; the original 150 ms target remains unmet. The report records that limitation and the remaining original-path/title fallback when unsynced Trash details are lost to a true power failure. All required gates pass. Workspace tests: 445 passed, two ignored. The earlier seed-crash timeout passed on isolated recheck and the final two-thread workspace run. Full report: https://git.kayg.org/kayg/calternal/src/commit/1b2c2807715fb1eec37b4677643fc5fdf252625b/docs/perf/issue-125-delete-review.md Gate output and performance table, copied verbatim below: # Issue #125 review: verification output Tested code commit: `fe53835` (later commits contain review evidence only). All heavy commands ran through the required build-slot wrapper, with `CARGO_TARGET_DIR=/home/kayg/Developer/calternal-target-125`. The final workspace test command used `RUST_TEST_THREADS=2`. Compiler and library setup used the existing Nix GCC/OpenSSL helper; command output below is copied verbatim. ## `cargo fmt --all --check` Exit status: 0. Output was empty. ## `cargo clippy --workspace --all-targets -- -D warnings` Exit status: 0. ```text Checking calternal-notes v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/notes) Checking calternal-daily v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/daily) Checking calternal-perf v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/perf) Checking calternal v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/calternal) Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.81s ``` ## `cargo test --workspace` Exit status: 0. ```text Compiling calternal-notes v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/notes) Compiling calternal-daily v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/daily) Compiling calternal v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/calternal) Compiling calternal-perf v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/perf) Finished `test` profile [unoptimized + debuginfo] target(s) in 16.95s Running unittests src/main.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal-0e2524b9e83bd935) running 11 tests test args::tests::dev_user_never_on_a_public_address ... ok test args::tests::defaults_and_flags ... ok test args::tests::migrate_v0 ... ok test args::tests::origin_defaults_to_the_local_port ... ok test args::tests::user_create ... ok test args::tests::user_recover ... ok test args::tests::fix_commands ... ok test args::tests::web_folder ... ok test isolation::bob_cannot_join_alices_note_room ... ok test plugins::tests::contract_matches_the_server ... ok test isolation::bob_reaches_nothing_of_alices_through_any_action ... ok test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s Running tests/fix_tz_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/fix_tz_live-bc5a4bf6584d2af7) running 2 tests test fix_without_a_running_server_says_so ... ok test strip_tz_markers_on_a_live_home_with_a_client_typing ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s Running tests/notes_crash.rs (/home/kayg/Developer/calternal-target-125/debug/deps/notes_crash-93cd7b159b871449) running 2 tests test kill_nine_mid_tag_rename_renames_each_tag_once ... ok test kill_nine_never_loses_or_doubles ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.46s Running tests/notes_crash_typing.rs (/home/kayg/Developer/calternal-target-125/debug/deps/notes_crash_typing-5a864935c1e5064a) running 1 test test kill_nine_while_people_type_loses_and_doubles_nothing ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.85s Running tests/notes_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/notes_live-c8da14e6fd2209fb) running 2 tests test joining_a_missing_note_fails_politely ... ok test type_over_the_websocket_and_read_it_back ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s Running tests/prefs_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/prefs_live-bdf7e4ca59cd64dc) running 1 test test preferences_are_saved_checked_and_kept ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s Running tests/search_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/search_live-d2de52bf0874bbe2) running 1 test test notes_from_everywhere_are_found ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.13s Running tests/startup.rs (/home/kayg/Developer/calternal-target-125/debug/deps/startup-c9f9cd5b7d6ab6fa) running 5 tests test answers_within_budget ... ok test recover_only_knows_real_people ... ok test refuses_dev_user_on_a_public_address ... ok test a_new_server_prints_a_setup_token ... ok test refuses_plain_http_on_a_public_origin ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_auth-5e8eb246e070ea06) running 12 tests test config::tests::origins ... ok test db::tests::a_version_1_database_gets_passkey_names ... ok test limit::tests::stops_after_the_limit ... ok test passkeys::tests::ids_round_trip ... ok test db::tests::opens_twice_and_keeps_schema ... ok test passkeys::tests::names_are_trimmed_short_and_never_empty ... ok test session::tests::names_are_cleaned ... ok test setup::tests::names ... ok test setup::tests::usernames ... ok test token::tests::junk_is_not_a_token ... ok test token::tests::setup_tokens_round_trip_through_pasting ... ok test setup::tests::recover_needs_a_known_person ... ok test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running tests/abuse.rs (/home/kayg/Developer/calternal-target-125/debug/deps/abuse-5b62c855d6367504) running 9 tests test bad_json_and_unknown_fields_are_refused ... ok test garbage_credentials_never_crash ... ok test junk_setup_tokens_are_refused_then_rate_limited ... ok test non_json_requests_are_refused ... ok test forged_sessions_get_nowhere ... ok test open_prompts_are_capped ... ok test nothing_about_the_server_leaks_before_sign_in ... ok test oversized_bodies_are_refused ... ok test other_sites_cannot_act_for_you ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s Running tests/create.rs (/home/kayg/Developer/calternal-target-125/debug/deps/create-94fcea8192201cea) running 6 tests test an_earlier_first_owner_token_stops_working ... ok test a_created_person_enrolls_their_first_passkey_and_is_the_same_person ... ok test an_expired_enrolment_token_is_refused ... ok test names_must_be_usable_and_unique ... ok test nothing_about_the_person_leaks_before_sign_in ... ok test an_enrolment_token_works_exactly_once_under_a_storm ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s Running tests/isolation.rs (/home/kayg/Developer/calternal-target-125/debug/deps/isolation-e5c44b0d42bee2d9) running 3 tests test a_cookie_sent_from_another_sites_page_does_not_count ... ok test another_persons_passkey_prompt_cannot_be_used_or_cancelled ... ok test devices_and_passkeys_of_another_person_are_not_found ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s Running tests/login.rs (/home/kayg/Developer/calternal-target-125/debug/deps/login-346109f79b33176b) running 9 tests test a_sign_in_answer_cannot_be_replayed ... ok test bearer_tokens_work_like_cookies ... ok test an_unknown_passkey_is_refused ... ok test revoking_another_device_signs_it_out ... ok test sign_in_with_a_passkey_creates_a_new_installation ... ok test sign_out_ends_the_session_immediately ... ok test signing_in_shows_up_live_on_another_device ... ok test signing_out_shows_up_live_on_another_device ... ok test sessions_expire_when_unused ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s Running tests/passkeys.rs (/home/kayg/Developer/calternal-target-125/debug/deps/passkeys-841c914424a5e188) running 7 tests test a_removed_passkey_that_is_gone_or_unknown_is_not_found ... ok test add_rename_and_remove_each_leave_a_journal_event ... ok test an_empty_name_is_refused_and_a_long_one_is_cut ... ok test adding_needs_a_sign_in_and_an_add_prompt_works_once ... ok test the_first_passkey_is_listed_with_the_device_it_was_made_on ... ok test the_same_device_cannot_be_added_twice ... ok test the_last_passkey_cannot_be_removed ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s Running tests/setup.rs (/home/kayg/Developer/calternal-target-125/debug/deps/setup-1d2b08d963b28fff) running 8 tests test a_restart_replaces_the_first_owner_token ... ok test a_finished_prompt_cannot_be_replayed ... ok test a_token_works_exactly_once_under_a_storm ... ok test first_owner_needs_a_name ... ok test first_owner_signs_up_with_the_printed_token ... ok test recovery_adds_a_new_passkey_for_the_same_person ... ok test session_cookie_is_locked_down ... ok test an_expired_setup_token_is_refused ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_backdrops-e474982e40fe3a4d) running 19 tests test tests::an_answer_that_is_not_a_picture_is_refused_and_not_kept ... ok test tests::a_photo_unknown_to_us_is_looked_up ... ok test tests::an_upload_is_private_to_the_person_who_made_it ... ok test tests::bad_ids_never_reach_the_disk_or_the_network ... ok test tests::an_upload_is_kept_once_and_served_back ... ok test tests::changes_need_our_own_page_and_a_signed_in_person ... ok test tests::picking_is_reported_to_unsplash_once ... ok test tests::nobody_can_read_or_list_someone_elses_uploads ... ok test tests::pictures_from_other_hosts_are_refused ... ok test tests::search_lists_photos_with_our_own_addresses_and_credit ... ok test tests::pictures_are_proxied_cached_and_never_given_the_key ... ok test tests::the_real_client_sends_the_key_and_caps_the_size ... ok test tests::the_real_client_speaks_https_to_unsplash ... ignored, needs the internet test tests::the_same_search_is_answered_once ... ok test tests::too_many_pixels_are_refused_but_big_files_are_not ... ok test tests::unsplash_running_out_of_requests_is_a_plain_slow_down ... ok test tests::the_cache_drops_the_oldest_files_past_its_cap ... ok test tests::uploads_are_checked_by_content_not_by_what_they_claim ... ok test tests::without_a_key_photos_are_off_but_uploads_work ... ok test result: ok. 18 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.05s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_core-22753e58953721f1) running 7 tests test action::tests::namespace_is_enforced ... ok test batch::tests::stops_at_the_first_error ... ok test batch::tests::visits_everything_once_in_order ... ok test error::tests::every_code_has_a_friendly_message ... ok test journal::tests::junk_tokens_ask_for_a_refresh ... ok test journal::tests::tokens_round_trip ... ok test plugin::tests::plugins_stay_in_their_namespace ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_daily-253fcac5eaa1e5e5) running 21 tests test day::tests::daylight_saving_uses_the_offset_the_device_sends ... ok test day::tests::midnight_follows_the_device_in_ist ... ok test day::tests::titles_read_like_the_web_app ... ok test day::tests::names_and_ids ... ok test tests::an_existing_day_file_is_reused_whatever_its_id ... ok test tests::any_text_is_safe_to_read_and_plan ... ok test tests::bad_input_is_refused_kindly ... ok test tests::add_inserts_exactly_one_entry_and_keeps_the_rest ... ok test tests::close_turns_one_open_entry_into_a_range ... ok test tests::log_add_then_close_makes_a_range ... ok test tests::make_note_on_a_log_line_keeps_times_and_tags ... ok test tests::opening_the_same_day_at_once_makes_one_note ... ok test tests::shared_vectors ... ok test tests::today_follows_the_device_offset ... ok test tests::two_offline_devices_starting_the_same_day_merge_into_one_note ... ok test times_tests::a_line_with_only_tags_stays_words ... ok test times_tests::a_log_line_splits_into_times_words_and_tags ... ok test times_tests::any_line_is_safe ... ok test times_tests::only_a_day_note_has_times ... ok test tests::no_file_until_the_first_keystroke ... ok test times_tests::trailing_tags_on_any_line ... ok test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_engine-ff3aa4aa42431a1a) running 13 tests test hash::tests::key_order_does_not_matter_but_content_does ... ok test tests::a_plugin_cannot_write_outside_its_namespace ... ok test tests::a_retry_runs_once_and_replays_the_result ... ok test tests::a_huge_job_never_delays_anyone ... ok test tests::a_user_with_a_live_view_or_a_running_action_is_kept ... ok test tests::bad_input_and_unknown_actions_are_friendly ... ok test tests::changes_need_a_key_reads_do_not ... ok test tests::connected_follows_live_views ... ok test tests::identical_calls_at_the_same_moment_run_once ... ok test tests::journal_pages_continue_where_they_stopped ... ok test tests::no_write_is_lost_while_users_are_released_and_reopened ... ok test tests::users_never_see_each_other ... ok test tests::an_idle_user_is_released_and_comes_back_with_nothing_lost ... ok test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_fixtures-6f98542429b58355) running 4 tests test rng::tests::same_seed_same_numbers ... ok test dates::tests::round_trips_and_formats ... ok test tests::same_seed_same_bytes_other_seed_other_bytes ... ok test tests::looks_like_a_real_home ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s Running unittests src/main.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_fixtures-f234eac8403fa749) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_fsio-0087f3cf3ed3c80d) running 9 tests test tests::atomic_write_replaces_and_leaves_no_temp_files ... ok test tests::case_only_rename_works_and_other_clashes_are_refused ... ok test tests::failed_write_keeps_the_old_file ... ok test tests::names_fold_case_and_unicode_form ... ok test tests::only_one_process_owns_a_data_folder ... ok test tests::prepared_writes_land_only_when_placed ... ok test tests::unique_names_skip_case_and_form_clashes ... ok test tests::write_unless_changed_keeps_someone_elses_version ... ok test tests::big_writes_arrive_whole ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_memory-3b65467e6e94a530) running 2 tests test tests::huge_pages_go_off ... ok test tests::trimming_is_harmless ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_migrate_v0-bd794bebe756a3e2) running 36 tests test tests::rules::dry_run_writes_nothing ... ok test tests::rules::edited_files_are_never_overwritten_without_asking ... ok test tests::rules::m10_tz_markers_go_and_other_zones_convert_to_the_notes_zone ... ok test tests::rules::m1_custom_daily_title_and_heading_stay ... ok test tests::rules::m1_daily_notes_get_day_names_ids_and_lose_generated_headings ... ok test tests::rules::m1_titles_come_from_title_then_h1_then_file_name_and_stay_unique ... ok test tests::rules::m2_attachments_that_exist_are_copied_and_relinked ... ok test tests::rules::m2_code_is_never_rewritten ... ok test tests::rules::m2_links_are_repaired_by_name_date_title_and_slug ... ok test tests::rules::m2_unresolved_links_stay_as_written_and_are_reported ... ok test tests::rules::m2_wikilinks_always_become_standard_links ... ok test tests::rules::m3_m5_frontmatter_keys_drop_and_times_convert ... ok test tests::rules::m4_unreferenced_block_ids_go_and_referenced_ones_stay ... ok test tests::rules::m5_unreadable_dates_fall_back ... ok test tests::rules::m6_conflict_copies_are_not_migrated ... ok test tests::rules::m7_tasks_blocks_are_stripped_and_listed ... ok test tests::rules::m8_only_notes_and_linked_files_move ... ok test tests::rules::running_twice_gives_the_same_bytes ... ok test tests::units::every_v0_time_shape_converts ... ok test tests::units::file_names_give_titles ... ok test tests::units::keys_ignore_case_encoding_quotes_and_md ... ok test tests::units::links_parse_in_every_shape ... ok test tests::units::unix_times_become_india_time ... ok test tzmarker::tests::a_conversion_that_leaves_the_day_is_kept_and_reported ... ok test tzmarker::tests::berlin_converts_inside_the_day ... ok test tzmarker::tests::code_is_never_touched ... ok test tzmarker::tests::day_from_a_date_value ... ok test tzmarker::tests::eu_summer_time_edges ... ok test tzmarker::tests::marker_at_the_end_or_tight_leaves_no_stray_space ... ok test tzmarker::tests::no_zone_in_the_note_means_strip_only ... ok test tzmarker::tests::not_a_marker_is_left_alone ... ok test tzmarker::tests::same_zone_just_goes ... ok test tzmarker::tests::second_run_changes_nothing ... ok test tzmarker::tests::styles_survive_conversion ... ok test tzmarker::tests::unknown_zone_or_a_non_log_line_is_kept_and_counted ... ok test tests::no_new_markers::nothing_writes_a_tz_marker ... ok test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_notes-deecfda7a8462cc2) running 196 tests test anchor::tests::lines_by_utf16_index ... ok test anchor::tests::hash_is_plain_sha256_hex ... ok test backlinks::tests::snippets_are_the_trimmed_line ... ok test blocks::tests::finds_list_children_and_heading_sections ... ok test backlinks::tests::links_are_fold_keys_and_lines ... ok test blocks::tests::line_edits ... ok test blocks::tests::shapes_keep_markers ... ok test blocks::tests::titles_from_the_first_sentence ... ok test bulk::undo::tests::inverse_restores_the_text ... ok test diff::tests::an_inserted_line_starts_at_a_line_start ... ok test diff::tests::edits_never_split_a_character ... ok test bulk::undo::tests::inverse_roundtrips ... ok test diff::tests::emoji_positions_are_utf16 ... ok test diff::tests::small_change_is_a_small_edit ... ok test frontmatter::tests::h1_skips_code_and_frontmatter ... ok test frontmatter::tests::quoting ... ok test frontmatter::tests::reads_keys ... ok test frontmatter::tests::set_adds_a_line_or_a_block ... ok test frontmatter::tests::set_changes_only_the_value ... ok test frontmatter::tests::set_is_utf16_aware ... ok test history::tests::appends_are_ordered_and_readable ... ok test history::tests::pending_save_promotes_to_base ... ok test index::tests::a_shared_path_answers_with_the_newest_note ... ok test index::tests::a_torn_tail_cannot_swallow_the_next_durable_mapping ... ok test diff::tests::edits_turn_old_into_new ... ok test index::tests::compacts_when_it_grows ... ok test index::tests::directory_counts_match_full_scan_after_moves_and_reload ... ok test index::tests::reload_speed ... ignored test index::tests::survives_reload_renames_and_torn_lines ... ok test index::tests::under_finds_exact_paths_and_descendants_with_folded_names ... ok test index::tests::under_keeps_shadowed_paths_for_watcher_removal ... ok test index::tests::unloads_and_reloads ... ok test links::tests::finds_standard_and_old_style_links ... ok test links::tests::nested_brackets_in_text ... ok test links::tests::relative_paths ... ok test links::tests::resolves_relative_to_the_linking_note ... ok test links::tests::retarget_follows_the_title_and_keeps_custom_text ... ok test links::tests::retarget_from_a_subfolder ... ok test links::tests::retarget_matches_case_and_unicode_forms ... ok test links::tests::skips_code_images_and_the_web ... ok test meta::tests::cursors_round_trip_and_reject_junk ... ok test meta::tests::snippets_skip_frontmatter_and_headings ... ok test rename::tests::clash_numbers ... ok test rename::tests::daily_names ... ok test rename::tests::h1_is_set_or_added ... ok test room::acks::tests::varuints_round_trip ... ok test room::edit::tests::checks_bounds_overlap_and_surrogates ... ok test scan::tests::day_ids_name_their_files ... ok test scan::tests::state_round_trips_and_skips_odd_names ... ok test search::tests::a_note_becomes_a_document ... ok test search::tests::titles_fall_back_to_the_file_name ... ok test smartline::tests::a_plain_line ... ok test smartline::tests::only_tags_are_words ... ok test smartline::tests::trailing_tags_only ... ok test stamp::tests::formats_with_offset ... ok test tags::front::tests::every_way_of_writing_tags ... ok test tags::merge::tests::property_tags_go_with_their_comma_or_line ... ok test tags::merge::tests::text_tags_go_with_one_space ... ok test index::tests::answers_like_plain_maps ... ok test tags::rewrite::tests::nothing_to_do_is_no_edits ... ok test tags::rewrite::tests::merging_keeps_every_tag_once_at_most ... ok test tags::rewrite::tests::positions_count_utf16 ... ok test tags::rewrite::tests::properties_change_name_only ... ok test tags::rewrite::tests::rename_and_back_is_the_same_text ... ok test tags::rewrite::tests::renames_tags_and_nested_tags_only ... ok test tags::rewrite::tests::renaming_onto_an_existing_tag_merges ... ok test tags::rewrite::tests::words_code_links_and_headings ... ok test tags::scan::tests::code_is_never_tags ... ok test tags::scan::tests::headings_and_quotes_keep_their_tags ... ok test tags::scan::tests::link_targets_and_addresses_are_never_tags ... ok test tags::scan::tests::not_tags ... ok test tags::scan::tests::plain_tags ... ok test tags::tests::nesting_and_cleaning ... ok test tags::tests::properties_and_text ... ok test tests::acks::an_older_lineage_is_refused_before_anything_is_sent ... ok test tests::acks::checks_are_answered_in_order ... ok test tests::acks::lineage_survives_a_restart ... ok test tests::acks::saved_means_the_change_is_in_history ... ok test tests::anchors::an_anchor_follows_its_block_when_lines_shift ... ok test tags::rewrite::tests::only_real_tags_change ... ok test tests::anchors::anchors_need_a_hash_and_block_ids_work ... ok test tests::anchors::an_edited_block_is_refused_never_the_wrong_one ... ok test tests::anchors::history_folds_typing_and_names_jobs ... ok test tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text ... ok test tests::anchors::shifting_lines_never_move_the_wrong_block ... ok test tests::fanout::a_crash_between_fan_out_and_disk_loses_nothing ... ok test tests::fanout::a_version_always_matches_its_text ... ok test tests::fanout::a_first_open_does_not_wait_for_the_disk ... ok test tests::fanout::bursts_converge_and_reach_history ... ok test tests::fresh::a_note_made_with_text_opens_with_its_frontmatter ... ok test tests::kill9::child ... ok test tests::kill9::delete_killed_after_its_answer_finishes_once ... ok test tests::kill9::permanent_delete_after_restore_cannot_delete_the_live_note ... ok test tests::kill9::quick_delete_restore_survives_kill ... ok test tests::kill9::quick_restore_delete_survives_kill ... ok test tests::kill9::restore_delete_forget_does_not_resurrect_after_kill ... ok test tests::fanout::collaborators_see_typing_before_the_disk ... ok test tests::kill9::restore_killed_after_its_answer_finishes_once ... ok test tests::listing::filters_by_tag_kind_and_created_range ... ok test tests::listing::pages_cover_every_note_once_in_a_stable_order ... ok test tests::listing::pinning_shows_in_the_list_and_unpinning_leaves_no_trace ... ok test tests::listing::the_first_page_never_waits_for_the_home_to_open ... ok test tests::listing::a_common_tag_pages_the_same_in_every_order ... ok test tests::listing::the_list_stays_live_with_new_notes_saves_and_outside_edits ... ok test tests::opening::a_cold_fill_ends_with_every_index_and_right_answers ... ok test tests::listing::the_kept_count_follows_adds_and_deletes ... ok test tests::opening::a_note_never_typed_in_is_still_forgotten_on_restart ... ok test tests::opening::a_warm_open_announces_only_what_changed_while_closed ... ok test tests::opening::a_cold_home_indexes_every_file_once_with_its_own_id ... ok test tests::opening::identifying_an_already_indexed_file_never_makes_it_a_copy ... ok test tests::opening::shutting_down_leaves_the_list_log_empty ... ok test tests::opening::typing_saved_only_in_history_survives_a_restart_before_the_first_save ... ok test tests::opening::upgrading_without_a_saved_scan_announces_nothing_for_known_notes ... ok test tests::outside::copied_note_gets_a_fresh_id ... ok test tests::outside::edit_while_closed_is_merged_on_open ... ok test tests::outside::missed_watcher_event_is_caught_before_saving ... ok test tests::opening::asking_mid_scan_never_says_not_found_and_never_duplicates_a_day ... ok test tests::outside::outside_edit_while_typing_merges ... ok test tests::outside::outside_create_and_delete ... ok test tests::outside::outside_rename_keeps_the_id ... ok test tests::outside::own_saves_are_not_outside_edits ... ok test tests::peek::an_open_room_answers_with_its_live_text ... ok test tests::peek::reads_files_without_opening_rooms ... ok test tests::peek::returns_at_most_fifty ... ok test tests::pending::apply_places_changes_in_any_order ... ok test tests::pending::changes_out_of_order_all_arrive_and_saved_is_true ... ok test tests::pending::yrs_alone_loses_a_parked_change ... ok test tests::outside::polling_finds_outside_changes ... ok test tests::renames::a_taken_name_gets_a_number_and_daily_notes_keep_theirs ... ok test tests::renames::backlinks_follow_edits_and_deletes ... ok test tests::renames::backlinks_list_linked_and_unlinked_mentions ... ok test tests::renames::make_note_moves_the_block_and_undoes_as_one_step ... ok test tests::renames::move_block_to_another_note_and_back ... ok test tests::renames::rename_moves_the_file_and_repoints_every_link ... ok test tests::renames::typing_a_new_title_renames_the_file_after_a_pause ... ok test tests::renames::typing_in_a_linking_note_during_a_rename_is_kept ... ok test tests::renames::undo_keeps_a_made_note_someone_typed_in ... ok test tests::rooms::fresh_note_opened_by_many_at_once_is_not_doubled ... ok test tests::rooms::late_joiner_gets_full_state ... ok test tests::rooms::patches_use_utf16_positions ... ok test tests::rooms::random_concurrent_editing_converges_without_duplicates ... ok test tests::rooms::retried_change_applies_once ... ok test tests::rooms::retried_create_makes_one_note ... ok test tests::rooms::stale_replace_keeps_newer_typing ... ok test tests::rooms::typing_survives_a_concurrent_delete ... ok test tests::saving::a_write_error_keeps_the_change ... ok test tests::saving::an_error_after_the_write_does_not_double_text ... ok test tests::saving::crash_after_write_does_not_double_text ... ok test tests::saving::crash_before_write_loses_nothing ... ok test tests::saving::failed_save_keeps_the_change ... ok test tests::saving::first_keystroke_creates_the_file ... ok test tests::saving::line_endings_and_bom_are_kept ... ok test tests::renames::a_crash_mid_rename_resumes_and_applies_each_edit_once ... ok test tests::saving::opening_never_writes ... ok test tests::saving::saving_does_not_loop ... ok test tests::saving::title_and_h1_stay_in_step ... ok test tests::saving::nonstop_typing_still_saves ... ok test tests::storm::outside_rewrites_during_a_storm_all_land ... ok test tests::tags::a_big_tag_rename_never_stalls_typing ... ok test tests::tags::bad_names_are_refused ... ok test tests::tags::renames_every_tag_and_undoes_as_one_step ... ok test tests::tags::typing_during_a_tag_rename_is_kept ... ok test tests::trash::a_closed_note_is_trashed_without_opening_it ... ok test tests::trash::a_crash_mid_delete_finishes_on_restart_exactly_once ... ok test tests::trash::a_file_deleted_outside_goes_to_the_trash ... ok test tests::trash::a_never_typed_note_is_simply_forgotten ... ok test tests::trash::a_note_deleted_before_its_first_save_keeps_its_text ... ok test tests::trash::delete_and_restore_answer_once_per_job_id ... ok test tests::trash::delete_moves_to_trash_and_undo_brings_it_back ... ok test tests::trash::delete_replay_with_a_stale_index_keeps_the_only_file ... ok test tests::trash::folder_rename_and_outside_move_bursts_keep_every_descendant ... ok test tests::trash::forget_deletes_file_and_history_forever ... ok test tests::trash::half_written_trash_folders_never_hide_a_live_note ... ok test tests::trash::restore_durably_indexes_a_note_without_an_embedded_id ... ok test tests::trash::restore_keeps_id_and_history_and_takes_a_free_name ... ok test tests::trash::restore_with_a_stale_index_really_moves_the_file_back ... ok test tests::trash::the_sweep_empties_only_notes_older_than_thirty_days ... ok test tests::trash::trash_ids_never_reach_another_home ... ok test tests::trash::trash_pages_newest_first ... ok test tests::trash::trashed_notes_leave_search_lists_and_backlinks_and_come_back ... ok test tests::unloading::a_connected_client_keeps_it ... ok test tests::unloading::an_open_note_keeps_it ... ok test tests::unloading::an_unused_home_unloads_and_answers_after ... ok test tests::tags::a_crash_mid_rename_resumes_and_renames_each_tag_once ... ok test tests::writers::every_writer_at_once_with_the_watcher ... ok test text::tests::mixed_endings_take_the_majority ... ok test text::tests::styles_round_trip ... ok test text::tests::uniform_files_round_trip_exactly ... ok test trash::tests::a_note_without_details_still_reads ... ok test trash::tests::details_without_a_note_are_not_a_note ... ok test trash::tests::missing_details_never_age_trash_from_the_notes_old_mtime ... ok test versions::tests::folds_runs_by_author_kind_and_gap ... ok test ydoc::tests::fork_and_merge_keeps_concurrent_typing ... ok test ydoc::tests::reapplying_an_update_changes_nothing ... ok test ydoc::tests::utf16_offsets ... ok test tests::writers::every_writer_at_once_loses_and_doubles_nothing ... ok test result: ok. 195 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 17.54s Running unittests src/main.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_perf-1052020ed1871574) running 6 tests test args::tests::parses_trash_only_mode ... ok test scenarios::soak::tests::slope_of_a_line ... ok test scenarios::storm::tests::typing_stops_before_the_newline_ahead_of_outside_lines ... ok test stats::tests::medians_of_runs_and_pooled_singles ... ok test live::tests::frames_round_trip_and_keystrokes_stay_whole ... ok test stats::tests::summary_max_is_the_largest_observed_sample_across_runs ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/storage-bench.rs (/home/kayg/Developer/calternal-target-125/debug/deps/storage_bench-aaee1f6d1cd60c74) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_plugin_hello-53ca8ca6107399a0) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_prefs-34d1a5e6c699003e) running 9 tests test tests::a_change_on_one_device_reaches_the_other ... ok test tests::a_retry_with_the_same_key_acts_once ... ok test tests::bad_keys_and_big_values_get_friendly_errors ... ok test tests::keys_are_an_area_then_dotted_parts ... ok test tests::people_do_not_share_preferences ... ok test tests::quick_saves_from_two_devices_all_land ... ok test tests::saving_the_same_value_again_is_quiet ... ok test tests::set_then_get_and_survive_a_restart ... ok test tests::at_most_200_keys_but_existing_ones_can_still_change ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_search-ff67ffa340bd9f12) running 13 tests test fuzzy::tests::distance_counts_swaps_as_one ... ok test fuzzy::tests::common_typos_are_fixed ... ok test query::tests::dates_cover_whole_periods ... ok test query::tests::lone_symbols_are_ignored ... ok test read::tests::block_ids_are_found ... ok test query::tests::words_filters_and_phrases ... ok test read::tests::renumbering_shifts_placeholders ... ok test read::tests::excerpts_mark_matches_in_context ... ok test read::tests::text_matches_like_the_index ... ok test text::tests::bigrams_cover_unspaced_scripts ... ok test text::tests::fold_drops_accents_and_case ... ok test text::tests::words_keep_indic_vowel_signs ... ok test schema::tests::an_older_index_gets_its_titles_filled ... ok test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running tests/search.rs (/home/kayg/Developer/calternal-target-125/debug/deps/search-8eb084de93ee7287) running 12 tests test an_empty_search_shows_recent_things ... ok test a_restart_heals_whatever_was_missed ... ok test behind_answers_at_once_and_catching_up_is_announced_once ... ok test every_script_is_searchable ... ok test filters_by_tag_kind_and_date ... ok test odd_input_never_breaks_search ... ok test prefixes_and_typos_are_forgiven ... ok test people_only_ever_find_their_own_things ... ok test results_show_why_they_matched_and_where ... ok test searches_answer_while_indexing_runs ... ok test titles_first_then_recent_use_then_body ... ok test the_index_follows_changes_live ... ok test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.68s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_server-b018c8f458805a08) running 2 tests test rooms::tests::frames_round_trip ... ok test compress::tests::big_answers_are_compressed_and_small_ones_are_not ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/access.rs (/home/kayg/Developer/calternal-target-125/debug/deps/access-b270c95875ec56fa) running 1 test test one_line_per_request_with_no_secrets ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running tests/live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/live-2ebb72560f7b157e) running 6 tests test a_stranger_token_asks_for_a_refresh ... ok test health_answers_without_signing_in ... ok test errors_carry_codes_not_internals ... ok test http_to_journal_to_websocket ... ok test signed_out_calls_get_a_friendly_refusal ... ok test reconnecting_catches_up_from_a_token ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s Running tests/signout.rs (/home/kayg/Developer/calternal-target-125/debug/deps/signout-3993512dadca5b39) running 1 test test signing_a_device_out_closes_its_live_socket ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s Running tests/web.rs (/home/kayg/Developer/calternal-target-125/debug/deps/web-4c0ff73bf5023b52) running 3 tests test caching_and_security_headers_follow_what_each_file_is ... ok test precompressed_files_are_sent_as_they_are_to_whoever_accepts_them ... ok test files_deep_links_and_the_api_live_side_by_side ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_store-dc5119e9b339ecbc) running 8 tests test tests::a_store_with_a_listener_or_a_copy_is_in_use ... ok test tests::commits_are_read_back_in_order ... ok test tests::idempotency_is_saved_with_the_events_or_not_at_all ... ok test tests::live_entries_arrive_in_journal_order ... ok test tests::old_idempotency_records_are_swept_after_commits ... ok test tests::old_idempotency_records_are_swept_when_the_store_opens ... ok test tests::tokens_survive_a_restart_and_reject_strangers ... ok test tests::reads_are_capped ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_testkit-84605cced32b9d05) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_auth running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_backdrops running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_core running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_daily running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_engine running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_fixtures running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_fsio running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_memory running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_migrate_v0 running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_notes running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_plugin_hello running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_prefs running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_search running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_server running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_store running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_testkit running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s ``` ## Seed-crash test recheck The concurrent run timed out waiting for a client response. It passed alone and in the final two-thread workspace run. Isolated recheck output (verbatim): ```text Compiling calternal-notes v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/notes) Finished `test` profile [unoptimized + debuginfo] target(s) in 10.94s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_notes-6ac741039e501ea4) running 1 test test tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 195 filtered out; finished in 0.11s ``` Earlier timeout output (verbatim excerpt): ```text failures: ---- tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text stdout ---- thread 'tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text' (1839961) panicked at crates/notes/src/tests/clients.rs:298:14: the server never answered: Elapsed(()) note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace failures: tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text test result: FAILED. 193 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 30.22s error: test failed, to rerun pass `-p calternal-notes --lib` ``` ## Missing-details API reproduction Same synthetic note, 1970 mtime, missing Trash details; previous and fixed binaries, respectively (verbatim): ```text {"deleted_ms_from_old_binary": 1000, "retention_cutoff_ms": 1789542450910, "newly_trashed_note_eligible_for_automatic_purge": true} {"deleted_ms_from_review_binary": 1792134743470, "retention_cutoff_ms": 1789542743471, "newly_trashed_note_eligible_for_automatic_purge": false} ``` ## `trash.forget` performance table Five runs per build, 30 samples per run, interleaved on the perf VM HDD. Output (verbatim): ```text | Comparison | Build | Runs × samples | p50 ms | p95 ms | Max ms | |---|---|---:|---:|---:|---:| | initial | Baseline c82161d | 5 × 30 | 32.788 | 91.934 | 164.531 | | initial | Author c37ffe1 | 5 × 30 | 98.529 | 201.999 | 284.030 | | final | Baseline c82161d | 5 × 30 | 33.809 | 71.618 | 131.863 | | final | Review fe53835 | 5 × 30 | 35.835 | 67.174 | 191.339 | ```
Author
Owner

Evidence moved out of the repo (docs/perf/issue-125-delete-remeasure.md):

Issue #125: delete and restore remeasurement

Measured 2026-10-16 on the perf VM, from base c82161d7c6fefcd476d73a92f1fbc2461ef2fef1.

Method

  • SSD: /dev/sda1, ext4, non-rotational. Rotational disk: /dev/sdb1, ext4, mounted at /mnt/b/hdd-ext4.
  • 10k and 100k note Homes; five warm runs per size and disk, with 30 timed samples per operation in each run (150 observations per cell). Each cycle timed delete, restore, then permanent delete; the permanent-delete note was moved to Trash before the timed cycle and allowed to settle.
  • p50 and p95 follow the harness convention: median of each run's quantile. Max is the largest sample across runs. All values below are ms.

Before and after

Disk Notes Operation Before p50 / p95 / max After p50 / p95 / max
SSD 10k delete 21.2 / 32.4 / 58.4 13.4 / 17.1 / 27.9
SSD 10k restore 20.4 / 30.3 / 52.6 13.3 / 18.3 / 30.3
SSD 10k permanent delete 9.27 / 11.3 / 20.3 12.1 / 18.5 / 27.8
SSD 100k delete 21.0 / 38.2 / 608 15.5 / 29.1 / 282
SSD 100k restore 20.6 / 169 / 2711 15.7 / 23.2 / 1341
SSD 100k permanent delete 9.29 / 20.8 / 305 14.0 / 21.4 / 44.1
HDD 10k delete 75.1 / 150 / 360 61.1 / 122 / 851
HDD 10k restore 70.2 / 170 / 472 63.5 / 152 / 226
HDD 10k permanent delete 35.9 / 101 / 183 82.3 / 201 / 264
HDD 100k delete 73.6 / 369 / 831 59.0 / 137 / 536
HDD 100k restore 77.0 / 368 / 1670 54.9 / 145 / 560
HDD 100k permanent delete 38.9 / 82.6 / 713 67.4 / 181 / 420

Delete and restore are now under threshold at all measured SSD points and at 100k on HDD. HDD 10k restore is 152 ms p95, 2 ms over the 150 ms target. Permanent deletion remains slower on HDD and was measured separately from the delete/restore threshold.

Cause breakdown

Baseline debug traces at 100k showed watcher reconciliation dominating the tail. On SSD, watch.reconcile was p50 27.164 ms and p95/max 1892.46 ms (9 spans); index.update remove p95 was 0.031 ms, index.flush p95 10.310 ms, restore rename p95 18.047 ms, and history commit p95 5.759 ms. On HDD, watch.reconcile was p50 33.431 ms, p95 774.786 ms, max 1217.192 ms; index.flush p95 was 65.689 ms, restore rename p95 61.878 ms, and history commit p95 28.586 ms.

The watcher folded every indexed path while holding the index lock. The final build uses a folded parent-directory count to return immediately when a vanished path has no indexed descendants, and retains the full folded lookup for folder removals. At 100k on SSD, watch.index_under dropped to p50 0.001 ms / p95 0.014 ms (33 spans), and watch.reconcile to p50 2.702 ms / p95 15.761 ms (9 spans). At 10k on HDD, watch.index_under was p50 0.000 ms / p95 0.006 ms.

The final job-progress write is queued but its flush is not awaited before the answer; ordinary progress and the durable job plan remain synchronous. history.job_progress enqueue was p95 0.023 ms on SSD at 100k and 0.026 ms on HDD at 10k. Index mutations are in-memory immediate; index.update p95 was at most 0.027 ms on the SSD run and 0.023 ms on the HDD run. The index log and final history update can flush in the background.

The remaining HDD 10k restore tail is explained by two required serialized syncs: the durable history job-plan commit p95 was 66.784 ms, and rename_safely for the restore p95 was 79.607 ms. Their sum is about 146 ms before request overhead, consistent with the 152 ms API p95. On HDD 100k those spans were 45.401 ms and 61.554 ms p95, with 145 ms overall restore p95.

Permanent deletion from Trash has a separate durable path. On HDD, flush.trash_remove p95 was 81.633 ms at 10k and 169.893 ms at 100k; history.purge p95 was about 45 ms. This accounts for the high trash.forget p95 (201 ms and 181 ms). That path was measured and instrumented but not relaxed because both file removal and history purge must be durable before the answer.

Changes and durability

  • Added the interleaved Trash scenario and a max column to the perf harness.
  • Added the folded directory count and lazy index log writes for delete/restore. Skipped an unnecessary history read for already-written notes.
  • Queued only the final bulk-job progress write. The durable plan is committed before applying steps; startup can replay idempotent steps. rename_safely and its directory syncs are unchanged.
  • Added process-level SIGKILL tests for delete and restore. Each test observes the API answer, kills the child before the final history save (the persisted row is still running), restarts on the same data, and verifies replay leaves one correct file and Trash state. Both tests passed in the workspace run.

The implementation and result are committed locally on issue/125-delete-remeasure. No PR was opened because the required GIT_SSH_COMMAND="ssh -i /home/kayg/.ssh/git.kayg.org" git push -u origin issue/125-delete-remeasure was rejected with Permission denied (publickey). Forgejo issue, comment, and pull-request API routes returned HTTP 500 ({"message":"","url":"https://git.kayg.org/api/swagger"}), so the final issue comment could not be posted.

Risks: the HDD 10k restore p95 remains 2 ms above target because of required sync latency. Very large maxima remain under shared-host and rotational-disk load (for example, SSD 100k restore max 1341 ms). HDD permanent-delete p95 increased versus baseline; its synchronous Trash directory removal and history purge dominate the current trace. The directory counter uses memory proportional to distinct indexed parent paths; the measured fixture has 900 nested notes at 100k, and idle RSS remained about 13.2–13.4 MB.

Required gates

cargo fmt --all --check exited 0; stdout/stderr was empty.

cargo clippy --workspace --all-targets -- -D warnings exited 0. Output (verbatim):

    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s

cargo test --workspace exited 0. Final profile line (verbatim):

    Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 55s

Test target summaries (verbatim):

test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.59s
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.51s
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.07s
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s
test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
test result: ok. 18 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.05s
test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s
test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
test result: ok. 183 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 6.55s
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s
test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.08s
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
**Evidence moved out of the repo (`docs/perf/issue-125-delete-remeasure.md`):** # Issue #125: delete and restore remeasurement Measured 2026-10-16 on the perf VM, from base `c82161d7c6fefcd476d73a92f1fbc2461ef2fef1`. ## Method - SSD: `/dev/sda1`, ext4, non-rotational. Rotational disk: `/dev/sdb1`, ext4, mounted at `/mnt/b/hdd-ext4`. - 10k and 100k note Homes; five warm runs per size and disk, with 30 timed samples per operation in each run (150 observations per cell). Each cycle timed delete, restore, then permanent delete; the permanent-delete note was moved to Trash before the timed cycle and allowed to settle. - p50 and p95 follow the harness convention: median of each run's quantile. Max is the largest sample across runs. All values below are ms. ## Before and after | Disk | Notes | Operation | Before p50 / p95 / max | After p50 / p95 / max | |---|---:|---|---:|---:| | SSD | 10k | delete | 21.2 / 32.4 / 58.4 | 13.4 / 17.1 / 27.9 | | SSD | 10k | restore | 20.4 / 30.3 / 52.6 | 13.3 / 18.3 / 30.3 | | SSD | 10k | permanent delete | 9.27 / 11.3 / 20.3 | 12.1 / 18.5 / 27.8 | | SSD | 100k | delete | 21.0 / 38.2 / 608 | 15.5 / 29.1 / 282 | | SSD | 100k | restore | 20.6 / 169 / 2711 | 15.7 / 23.2 / 1341 | | SSD | 100k | permanent delete | 9.29 / 20.8 / 305 | 14.0 / 21.4 / 44.1 | | HDD | 10k | delete | 75.1 / 150 / 360 | 61.1 / 122 / 851 | | HDD | 10k | restore | 70.2 / 170 / 472 | 63.5 / 152 / 226 | | HDD | 10k | permanent delete | 35.9 / 101 / 183 | 82.3 / 201 / 264 | | HDD | 100k | delete | 73.6 / 369 / 831 | 59.0 / 137 / 536 | | HDD | 100k | restore | 77.0 / 368 / 1670 | 54.9 / 145 / 560 | | HDD | 100k | permanent delete | 38.9 / 82.6 / 713 | 67.4 / 181 / 420 | Delete and restore are now under threshold at all measured SSD points and at 100k on HDD. HDD 10k restore is 152 ms p95, 2 ms over the 150 ms target. Permanent deletion remains slower on HDD and was measured separately from the delete/restore threshold. ## Cause breakdown Baseline debug traces at 100k showed watcher reconciliation dominating the tail. On SSD, `watch.reconcile` was p50 27.164 ms and p95/max 1892.46 ms (9 spans); `index.update remove` p95 was 0.031 ms, `index.flush` p95 10.310 ms, restore rename p95 18.047 ms, and history commit p95 5.759 ms. On HDD, `watch.reconcile` was p50 33.431 ms, p95 774.786 ms, max 1217.192 ms; `index.flush` p95 was 65.689 ms, restore rename p95 61.878 ms, and history commit p95 28.586 ms. The watcher folded every indexed path while holding the index lock. The final build uses a folded parent-directory count to return immediately when a vanished path has no indexed descendants, and retains the full folded lookup for folder removals. At 100k on SSD, `watch.index_under` dropped to p50 0.001 ms / p95 0.014 ms (33 spans), and `watch.reconcile` to p50 2.702 ms / p95 15.761 ms (9 spans). At 10k on HDD, `watch.index_under` was p50 0.000 ms / p95 0.006 ms. The final job-progress write is queued but its flush is not awaited before the answer; ordinary progress and the durable job plan remain synchronous. `history.job_progress` enqueue was p95 0.023 ms on SSD at 100k and 0.026 ms on HDD at 10k. Index mutations are in-memory immediate; `index.update` p95 was at most 0.027 ms on the SSD run and 0.023 ms on the HDD run. The index log and final history update can flush in the background. The remaining HDD 10k restore tail is explained by two required serialized syncs: the durable history job-plan commit p95 was 66.784 ms, and `rename_safely` for the restore p95 was 79.607 ms. Their sum is about 146 ms before request overhead, consistent with the 152 ms API p95. On HDD 100k those spans were 45.401 ms and 61.554 ms p95, with 145 ms overall restore p95. Permanent deletion from Trash has a separate durable path. On HDD, `flush.trash_remove` p95 was 81.633 ms at 10k and 169.893 ms at 100k; `history.purge` p95 was about 45 ms. This accounts for the high `trash.forget` p95 (201 ms and 181 ms). That path was measured and instrumented but not relaxed because both file removal and history purge must be durable before the answer. ## Changes and durability - Added the interleaved Trash scenario and a max column to the perf harness. - Added the folded directory count and lazy index log writes for delete/restore. Skipped an unnecessary history read for already-written notes. - Queued only the final bulk-job progress write. The durable plan is committed before applying steps; startup can replay idempotent steps. `rename_safely` and its directory syncs are unchanged. - Added process-level SIGKILL tests for delete and restore. Each test observes the API answer, kills the child before the final history save (the persisted row is still `running`), restarts on the same data, and verifies replay leaves one correct file and Trash state. Both tests passed in the workspace run. The implementation and result are committed locally on `issue/125-delete-remeasure`. No PR was opened because the required `GIT_SSH_COMMAND="ssh -i /home/kayg/.ssh/git.kayg.org" git push -u origin issue/125-delete-remeasure` was rejected with `Permission denied (publickey)`. Forgejo issue, comment, and pull-request API routes returned HTTP 500 (`{"message":"","url":"https://git.kayg.org/api/swagger"}`), so the final issue comment could not be posted. Risks: the HDD 10k restore p95 remains 2 ms above target because of required sync latency. Very large maxima remain under shared-host and rotational-disk load (for example, SSD 100k restore max 1341 ms). HDD permanent-delete p95 increased versus baseline; its synchronous Trash directory removal and history purge dominate the current trace. The directory counter uses memory proportional to distinct indexed parent paths; the measured fixture has 900 nested notes at 100k, and idle RSS remained about 13.2–13.4 MB. ## Required gates `cargo fmt --all --check` exited 0; stdout/stderr was empty. `cargo clippy --workspace --all-targets -- -D warnings` exited 0. Output (verbatim): ```text Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s ``` `cargo test --workspace` exited 0. Final profile line (verbatim): ```text Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 55s ``` Test target summaries (verbatim): ```text test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.59s test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.51s test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.07s test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s test result: ok. 18 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.05s test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s test result: ok. 183 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 6.55s test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.08s test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s ```
Author
Owner

Evidence moved out of the repo (docs/perf/issue-125-delete-review.md):

Independent delete and restore review (#125)

Reviewed c37ffe1031be35e1251eeb070173bd32fa5641e1 against
c82161d7c6fefcd476d73a92f1fbc2461ef2fef1. Fixes build on
issue/125-delete-remeasure in issue/125-delete-review.

Confirmed durability and index findings

  1. Delete replay could remove the only file. A closed-note delete removes
    its index entry lazily and durably renames the file to Trash. Startup scan
    and job replay start concurrently. With the old index entry still present,
    trash::put removed the Trash file as supposedly stale, then failed to open
    the nonexistent source. The stale-index regression failed with NotFound.
    Replay now recognizes the surviving Trash file before removing anything,
    repairs the index, and returns the existing result.

  2. Restore could answer without restoring. The old indexed path was treated
    as proof of an already completed restore, even if that file did not exist.
    The stale-index restore regression failed its file-exists assertion. Restore
    now requires an actual file before taking that shortcut.

  3. Outside markdown could lose its stable ID. Outside files need not carry
    calternal-id. Losing a restore's lazy index put left no durable association
    between that file and its ID; scanning would assign a new ID. The regression
    observed persisted.path_of(id) == None after the answer. Restore now checks
    the file header and awaits the index write when its ID is not recoverable
    from the bytes. Files carrying the correct ID retain the lazy path.

  4. The leaf shortcut omitted shadowed paths. With two IDs at one folded
    path, under returned just the newest spelling. The prior full lookup
    returned both, letting reconciliation remove both IDs. The regression got
    ["same.MD"] instead of ["Same.md", "same.MD"]. The shortcut now falls
    back to the full lookup whenever shadowed IDs exist.

  5. An unterminated log tail swallowed the next durable mapping. Loading
    ignored an incomplete JSON tail, but the next append continued on that
    same line. A fresh mapping acknowledged durable was absent on reload.
    The failing regression covers this exact sequence. Append batches now
    terminate an unterminated previous tail before writing new records, and
    loading skips invalid UTF-8 records as well as malformed JSON. The regression
    also covers a tail cut inside a Unicode character. This bug was
    also present in the comparison baseline.

  6. Lost details could cause immediate retention purge. This pre-existing
    fallback used the markdown's old modification time as its deletion time.
    The 30-day sweep starts 60 seconds after boot, so an old note freshly moved
    to Trash could be purged after a power loss erased its unsynced details.
    A read-only API reproduction against the previous binary returned
    deleted_ms: 1000 for the new Trash entry, making it eligible immediately.
    The regression uses a 1970 mtime and requires a fresh grace period. Recovery
    now grants that grace period and writes recovered details to keep pagination
    and future sweeps stable. If this write fails, future reads renew the grace
    period. Explicit permanent deletion and Empty Trash still apply.

The parent-directory counter itself has no independent update path: set
first unsets the old slot, adds every folded ancestor, and unset removes
those ancestors. File loading and unloading rebuild/reset the same state.
A differential test compares under with a full folded scan across repeated
moves, removals, shared paths, Unicode names, compaction and unload/reload.
A reconciliation test exercises nested folder renames and moves outside Notes
with repeated parent/child event paths.

Crash ordering

The job plan is committed synchronously before execution. Completed final
progress is sent to the history writer before releasing the job lock and
answering. Batches containing restores now await final progress to prevent
that background sync from competing with a following Trash removal. A subsequent
job's synchronous plan write commits preceding queued progress in FIFO order. Permanent deletion's synchronous history purge does
so too. Therefore acknowledged app operations do not replay older deletes or
restores over a later committed plan. File moves still synchronize both source
and destination directories before answering.

The original delete SIGKILL test created an open room and used the synchronous
index-removal path. The revised tests close rooms and explicitly stall the
index writer, as well as holding final history progress. They kill the child
only after its answer, assert the persisted job state (running for a
queued delete, done for a restore), restart and check the files, Trash, index, ordinary list and paged list. Additional cases cover rapid
delete/restore, restore/delete, and restore/delete/permanent-delete. A direct
permanent-delete attempt on a restored live note is rejected and remains rejected across a kill. Direct
stale-index tests force execution before scan repair, independent of scheduling.

SIGKILL tests exercise process death, not loss of the kernel's page cache or a
storage device's write cache. Power-loss reasoning assumes successful filesystem
syncs are honored. Trash details are intentionally not separately synced in the
original implementation; missing details are reconstructed from the markdown,
so original path/title metadata can fall back to the note title after power loss.

Permanent-delete regression investigation

The first comparison alternates baseline and author builds for five runs each
on /mnt/b/hdd-ext4 of root@10.69.69.63. Every invocation uses the author's
--trash-only scenario with 10k notes and 30 timed samples per operation.
Each invocation rebuilds its indexed fixture before one warm run; all ten
runs use the same fixture seed, harness, compiler, release settings and runtime
libraries. Runs alternate their order in each pair. Every VM run holds
flock -o /root/perf-vm.lock and is launched through the shared build-slot
wrapper. No staging or production VM is used.

The comparison reproduces the regression: median run p50/p95/max is
32.788/91.934/164.531 ms for baseline versus 98.529/201.999/284.030 ms for the
author branch. Max here is the largest sample, not the median of run maxima.

The permanent-delete unlink, directory sync and history purge are unchanged
apart from tracing. A separate debug run shows index fsync overlapping Trash
directory sync in 22 of 30 deletes. One 223.496 ms Trash sync overlaps a
208.441 ms index fsync. A control build with only the durability fixes still
measures 98.1 ms p50 / 162 ms p95 for permanent delete in one run.

The fix appends rebuildable lazy index records without background
fsync. The next durable command, compaction or unload synchronizes all earlier
writes, including lazy records written in previous batches. The awaited
mapping for markdown without an embedded ID remains durable before restore.
Note files, directory moves, the job plan, permanent deletion and history
purge retain their required syncs. A no-background-index-fsync control improved
permanent delete to 67.9 ms p50 / 143 ms p95 in one run, but left a remaining
regression. Final progress for batches containing restore steps is therefore
awaited, returning its sync cost to the restore answer. This is stronger
completion durability and leaves other final batches queued. The final
measurement below tests whether this removes the regression. The first fixed
comparison recovered permanent-delete p50/p95 to 35.402/62.987 ms versus
35.239/87.510 ms for baseline, but restore p95 was 304.303 ms versus
163.537 ms. The final variant also removes the 100 ms delay before cache
appends, so cache allocation and write I/O are no longer shifted into a later
operation. Those intermediate results are retained separately.

The timing command for every invocation is:

RUST_LOG=warn calternal-perf --bin <baseline-or-branch-binary> \
  --work /mnt/b/hdd-ext4/issue125-review --sizes 10k --runs 1 \
  --cold-runs 0 --idle-secs 0 --trash-only --json <run>.json --md <run>.md

The source build uses Rust 1.99.0, the repository's release profile (fat LTO,
one codegen unit), its SQLite fdatasync setting, and
CARGO_TARGET_DIR=/home/kayg/Developer/calternal-target-125. Per-run metric
summaries and binary hashes are retained with this report. The trace/control
runs are separate from the five-run comparison tables.

One concurrent workspace gate run timed out in the existing
tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text test after
30 seconds waiting for a client response; 193 other notes tests passed in that
run. Earlier full workspace runs passed it. The failure is retained in the
verification artifact. The final verification reruns that test alone and runs
the full required commands with RUST_TEST_THREADS=2 to reduce contention on
the shared host.

Final result

The permanent-delete regression is real, and the final fixes recover it to
baseline run variation. The original comparison was about 3× slower at p50.
Final p50 is 6.0% above baseline and p95 is 6.2% below baseline. Per-run p50
ranges overlap. The largest sample remains higher, so this does not claim
equal worst-case latency on the shared VM.

Comparison Build Runs × samples p50 ms p95 ms Max ms
initial Baseline c82161d 5 × 30 32.788 91.934 164.531
initial Author c37ffe1 5 × 30 98.529 201.999 284.030
final Baseline c82161d 5 × 30 33.809 71.618 131.863
final Review fe53835 5 × 30 35.835 67.174 191.339

Final delete p50/p95 is 66.233/131.859 ms versus baseline
104.816/232.289 ms. Restore p50/p95 is 103.526/203.345 ms versus baseline
93.288/202.533 ms. Awaiting restore completion returns its sync cost to the
restore response; the final tail is comparable to baseline. The original
150 ms HDD restore target is not met in this review. Permanent-delete
syncs and note durability were preserved.

All final gates pass: format check, workspace Clippy with warnings denied,
and workspace tests (445 passed, two ignored; 195 notes tests passed).
The isolated seed-crash recheck passes too. Full command output is copied
verbatim in the verification artifact.
Per-run metrics and binary hashes include
both the intermediate and final comparisons. The measured and tested code
commit is fe53835; later commits contain review evidence only.

**Evidence moved out of the repo (`docs/perf/issue-125-delete-review.md`):** # Independent delete and restore review (#125) Reviewed `c37ffe1031be35e1251eeb070173bd32fa5641e1` against `c82161d7c6fefcd476d73a92f1fbc2461ef2fef1`. Fixes build on `issue/125-delete-remeasure` in `issue/125-delete-review`. ## Confirmed durability and index findings 1. **Delete replay could remove the only file.** A closed-note delete removes its index entry lazily and durably renames the file to Trash. Startup scan and job replay start concurrently. With the old index entry still present, `trash::put` removed the Trash file as supposedly stale, then failed to open the nonexistent source. The stale-index regression failed with `NotFound`. Replay now recognizes the surviving Trash file before removing anything, repairs the index, and returns the existing result. 2. **Restore could answer without restoring.** The old indexed path was treated as proof of an already completed restore, even if that file did not exist. The stale-index restore regression failed its file-exists assertion. Restore now requires an actual file before taking that shortcut. 3. **Outside markdown could lose its stable ID.** Outside files need not carry `calternal-id`. Losing a restore's lazy index put left no durable association between that file and its ID; scanning would assign a new ID. The regression observed `persisted.path_of(id) == None` after the answer. Restore now checks the file header and awaits the index write when its ID is not recoverable from the bytes. Files carrying the correct ID retain the lazy path. 4. **The leaf shortcut omitted shadowed paths.** With two IDs at one folded path, `under` returned just the newest spelling. The prior full lookup returned both, letting reconciliation remove both IDs. The regression got `["same.MD"]` instead of `["Same.md", "same.MD"]`. The shortcut now falls back to the full lookup whenever shadowed IDs exist. 5. **An unterminated log tail swallowed the next durable mapping.** Loading ignored an incomplete JSON tail, but the next append continued on that same line. A fresh mapping acknowledged durable was absent on reload. The failing regression covers this exact sequence. Append batches now terminate an unterminated previous tail before writing new records, and loading skips invalid UTF-8 records as well as malformed JSON. The regression also covers a tail cut inside a Unicode character. This bug was also present in the comparison baseline. 6. **Lost details could cause immediate retention purge.** This pre-existing fallback used the markdown's old modification time as its deletion time. The 30-day sweep starts 60 seconds after boot, so an old note freshly moved to Trash could be purged after a power loss erased its unsynced details. A read-only API reproduction against the previous binary returned `deleted_ms: 1000` for the new Trash entry, making it eligible immediately. The regression uses a 1970 mtime and requires a fresh grace period. Recovery now grants that grace period and writes recovered details to keep pagination and future sweeps stable. If this write fails, future reads renew the grace period. Explicit permanent deletion and Empty Trash still apply. The parent-directory counter itself has no independent update path: `set` first unsets the old slot, adds every folded ancestor, and `unset` removes those ancestors. File loading and unloading rebuild/reset the same state. A differential test compares `under` with a full folded scan across repeated moves, removals, shared paths, Unicode names, compaction and unload/reload. A reconciliation test exercises nested folder renames and moves outside Notes with repeated parent/child event paths. ## Crash ordering The job plan is committed synchronously before execution. Completed final progress is sent to the history writer before releasing the job lock and answering. Batches containing restores now await final progress to prevent that background sync from competing with a following Trash removal. A subsequent job's synchronous plan write commits preceding queued progress in FIFO order. Permanent deletion's synchronous history purge does so too. Therefore acknowledged app operations do not replay older deletes or restores over a later committed plan. File moves still synchronize both source and destination directories before answering. The original delete SIGKILL test created an open room and used the synchronous index-removal path. The revised tests close rooms and explicitly stall the index writer, as well as holding final history progress. They kill the child only after its answer, assert the persisted job state (`running` for a queued delete, `done` for a restore), restart and check the files, Trash, index, ordinary list and paged list. Additional cases cover rapid delete/restore, restore/delete, and restore/delete/permanent-delete. A direct permanent-delete attempt on a restored live note is rejected and remains rejected across a kill. Direct stale-index tests force execution before scan repair, independent of scheduling. SIGKILL tests exercise process death, not loss of the kernel's page cache or a storage device's write cache. Power-loss reasoning assumes successful filesystem syncs are honored. Trash details are intentionally not separately synced in the original implementation; missing details are reconstructed from the markdown, so original path/title metadata can fall back to the note title after power loss. ## Permanent-delete regression investigation The first comparison alternates baseline and author builds for five runs each on `/mnt/b/hdd-ext4` of `root@10.69.69.63`. Every invocation uses the author's `--trash-only` scenario with 10k notes and 30 timed samples per operation. Each invocation rebuilds its indexed fixture before one warm run; all ten runs use the same fixture seed, harness, compiler, release settings and runtime libraries. Runs alternate their order in each pair. Every VM run holds `flock -o /root/perf-vm.lock` and is launched through the shared build-slot wrapper. No staging or production VM is used. The comparison reproduces the regression: median run p50/p95/max is 32.788/91.934/164.531 ms for baseline versus 98.529/201.999/284.030 ms for the author branch. Max here is the largest sample, not the median of run maxima. The permanent-delete unlink, directory sync and history purge are unchanged apart from tracing. A separate debug run shows index fsync overlapping Trash directory sync in 22 of 30 deletes. One 223.496 ms Trash sync overlaps a 208.441 ms index fsync. A control build with only the durability fixes still measures 98.1 ms p50 / 162 ms p95 for permanent delete in one run. The fix appends rebuildable lazy index records without background fsync. The next durable command, compaction or unload synchronizes all earlier writes, including lazy records written in previous batches. The awaited mapping for markdown without an embedded ID remains durable before restore. Note files, directory moves, the job plan, permanent deletion and history purge retain their required syncs. A no-background-index-fsync control improved permanent delete to 67.9 ms p50 / 143 ms p95 in one run, but left a remaining regression. Final progress for batches containing restore steps is therefore awaited, returning its sync cost to the restore answer. This is stronger completion durability and leaves other final batches queued. The final measurement below tests whether this removes the regression. The first fixed comparison recovered permanent-delete p50/p95 to 35.402/62.987 ms versus 35.239/87.510 ms for baseline, but restore p95 was 304.303 ms versus 163.537 ms. The final variant also removes the 100 ms delay before cache appends, so cache allocation and write I/O are no longer shifted into a later operation. Those intermediate results are retained separately. The timing command for every invocation is: ```sh RUST_LOG=warn calternal-perf --bin <baseline-or-branch-binary> \ --work /mnt/b/hdd-ext4/issue125-review --sizes 10k --runs 1 \ --cold-runs 0 --idle-secs 0 --trash-only --json <run>.json --md <run>.md ``` The source build uses Rust 1.99.0, the repository's release profile (fat LTO, one codegen unit), its SQLite fdatasync setting, and `CARGO_TARGET_DIR=/home/kayg/Developer/calternal-target-125`. Per-run metric summaries and binary hashes are retained with this report. The trace/control runs are separate from the five-run comparison tables. One concurrent workspace gate run timed out in the existing `tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text` test after 30 seconds waiting for a client response; 193 other notes tests passed in that run. Earlier full workspace runs passed it. The failure is retained in the verification artifact. The final verification reruns that test alone and runs the full required commands with `RUST_TEST_THREADS=2` to reduce contention on the shared host. ## Final result The permanent-delete regression is real, and the final fixes recover it to baseline run variation. The original comparison was about 3× slower at p50. Final p50 is 6.0% above baseline and p95 is 6.2% below baseline. Per-run p50 ranges overlap. The largest sample remains higher, so this does not claim equal worst-case latency on the shared VM. | Comparison | Build | Runs × samples | p50 ms | p95 ms | Max ms | |---|---|---:|---:|---:|---:| | initial | Baseline c82161d | 5 × 30 | 32.788 | 91.934 | 164.531 | | initial | Author c37ffe1 | 5 × 30 | 98.529 | 201.999 | 284.030 | | final | Baseline c82161d | 5 × 30 | 33.809 | 71.618 | 131.863 | | final | Review fe53835 | 5 × 30 | 35.835 | 67.174 | 191.339 | Final delete p50/p95 is 66.233/131.859 ms versus baseline 104.816/232.289 ms. Restore p50/p95 is 103.526/203.345 ms versus baseline 93.288/202.533 ms. Awaiting restore completion returns its sync cost to the restore response; the final tail is comparable to baseline. The original 150 ms HDD restore target is **not met** in this review. Permanent-delete syncs and note durability were preserved. All final gates pass: format check, workspace Clippy with warnings denied, and workspace tests (445 passed, two ignored; 195 notes tests passed). The isolated seed-crash recheck passes too. Full command output is copied verbatim in [the verification artifact](issue-125-delete-review-gates.md). [Per-run metrics and binary hashes](issue-125-delete-review-runs.json) include both the intermediate and final comparisons. The measured and tested code commit is `fe53835`; later commits contain review evidence only.
Author
Owner

Evidence moved out of the repo (docs/perf/issue-125-delete-review-gates.md):

Issue #125 review: verification output

Tested code commit: fe53835 (later commits contain review evidence only).
All heavy commands ran through the required build-slot wrapper, with
CARGO_TARGET_DIR=/home/kayg/Developer/calternal-target-125. The final workspace
test command used RUST_TEST_THREADS=2. Compiler and library setup used the
existing Nix GCC/OpenSSL helper; command output below is copied verbatim.

cargo fmt --all --check

Exit status: 0.

Output was empty.

cargo clippy --workspace --all-targets -- -D warnings

Exit status: 0.

    Checking calternal-notes v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/notes)
    Checking calternal-daily v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/daily)
    Checking calternal-perf v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/perf)
    Checking calternal v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/calternal)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.81s

cargo test --workspace

Exit status: 0.

   Compiling calternal-notes v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/notes)
   Compiling calternal-daily v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/daily)
   Compiling calternal v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/calternal)
   Compiling calternal-perf v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/perf)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 16.95s
     Running unittests src/main.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal-0e2524b9e83bd935)

running 11 tests
test args::tests::dev_user_never_on_a_public_address ... ok
test args::tests::defaults_and_flags ... ok
test args::tests::migrate_v0 ... ok
test args::tests::origin_defaults_to_the_local_port ... ok
test args::tests::user_create ... ok
test args::tests::user_recover ... ok
test args::tests::fix_commands ... ok
test args::tests::web_folder ... ok
test isolation::bob_cannot_join_alices_note_room ... ok
test plugins::tests::contract_matches_the_server ... ok
test isolation::bob_reaches_nothing_of_alices_through_any_action ... ok

test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s

     Running tests/fix_tz_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/fix_tz_live-bc5a4bf6584d2af7)

running 2 tests
test fix_without_a_running_server_says_so ... ok
test strip_tz_markers_on_a_live_home_with_a_client_typing ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s

     Running tests/notes_crash.rs (/home/kayg/Developer/calternal-target-125/debug/deps/notes_crash-93cd7b159b871449)

running 2 tests
test kill_nine_mid_tag_rename_renames_each_tag_once ... ok
test kill_nine_never_loses_or_doubles ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.46s

     Running tests/notes_crash_typing.rs (/home/kayg/Developer/calternal-target-125/debug/deps/notes_crash_typing-5a864935c1e5064a)

running 1 test
test kill_nine_while_people_type_loses_and_doubles_nothing ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.85s

     Running tests/notes_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/notes_live-c8da14e6fd2209fb)

running 2 tests
test joining_a_missing_note_fails_politely ... ok
test type_over_the_websocket_and_read_it_back ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s

     Running tests/prefs_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/prefs_live-bdf7e4ca59cd64dc)

running 1 test
test preferences_are_saved_checked_and_kept ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s

     Running tests/search_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/search_live-d2de52bf0874bbe2)

running 1 test
test notes_from_everywhere_are_found ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.13s

     Running tests/startup.rs (/home/kayg/Developer/calternal-target-125/debug/deps/startup-c9f9cd5b7d6ab6fa)

running 5 tests
test answers_within_budget ... ok
test recover_only_knows_real_people ... ok
test refuses_dev_user_on_a_public_address ... ok
test a_new_server_prints_a_setup_token ... ok
test refuses_plain_http_on_a_public_origin ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_auth-5e8eb246e070ea06)

running 12 tests
test config::tests::origins ... ok
test db::tests::a_version_1_database_gets_passkey_names ... ok
test limit::tests::stops_after_the_limit ... ok
test passkeys::tests::ids_round_trip ... ok
test db::tests::opens_twice_and_keeps_schema ... ok
test passkeys::tests::names_are_trimmed_short_and_never_empty ... ok
test session::tests::names_are_cleaned ... ok
test setup::tests::names ... ok
test setup::tests::usernames ... ok
test token::tests::junk_is_not_a_token ... ok
test token::tests::setup_tokens_round_trip_through_pasting ... ok
test setup::tests::recover_needs_a_known_person ... ok

test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running tests/abuse.rs (/home/kayg/Developer/calternal-target-125/debug/deps/abuse-5b62c855d6367504)

running 9 tests
test bad_json_and_unknown_fields_are_refused ... ok
test garbage_credentials_never_crash ... ok
test junk_setup_tokens_are_refused_then_rate_limited ... ok
test non_json_requests_are_refused ... ok
test forged_sessions_get_nowhere ... ok
test open_prompts_are_capped ... ok
test nothing_about_the_server_leaks_before_sign_in ... ok
test oversized_bodies_are_refused ... ok
test other_sites_cannot_act_for_you ... ok

test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s

     Running tests/create.rs (/home/kayg/Developer/calternal-target-125/debug/deps/create-94fcea8192201cea)

running 6 tests
test an_earlier_first_owner_token_stops_working ... ok
test a_created_person_enrolls_their_first_passkey_and_is_the_same_person ... ok
test an_expired_enrolment_token_is_refused ... ok
test names_must_be_usable_and_unique ... ok
test nothing_about_the_person_leaks_before_sign_in ... ok
test an_enrolment_token_works_exactly_once_under_a_storm ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s

     Running tests/isolation.rs (/home/kayg/Developer/calternal-target-125/debug/deps/isolation-e5c44b0d42bee2d9)

running 3 tests
test a_cookie_sent_from_another_sites_page_does_not_count ... ok
test another_persons_passkey_prompt_cannot_be_used_or_cancelled ... ok
test devices_and_passkeys_of_another_person_are_not_found ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s

     Running tests/login.rs (/home/kayg/Developer/calternal-target-125/debug/deps/login-346109f79b33176b)

running 9 tests
test a_sign_in_answer_cannot_be_replayed ... ok
test bearer_tokens_work_like_cookies ... ok
test an_unknown_passkey_is_refused ... ok
test revoking_another_device_signs_it_out ... ok
test sign_in_with_a_passkey_creates_a_new_installation ... ok
test sign_out_ends_the_session_immediately ... ok
test signing_in_shows_up_live_on_another_device ... ok
test signing_out_shows_up_live_on_another_device ... ok
test sessions_expire_when_unused ... ok

test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s

     Running tests/passkeys.rs (/home/kayg/Developer/calternal-target-125/debug/deps/passkeys-841c914424a5e188)

running 7 tests
test a_removed_passkey_that_is_gone_or_unknown_is_not_found ... ok
test add_rename_and_remove_each_leave_a_journal_event ... ok
test an_empty_name_is_refused_and_a_long_one_is_cut ... ok
test adding_needs_a_sign_in_and_an_add_prompt_works_once ... ok
test the_first_passkey_is_listed_with_the_device_it_was_made_on ... ok
test the_same_device_cannot_be_added_twice ... ok
test the_last_passkey_cannot_be_removed ... ok

test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s

     Running tests/setup.rs (/home/kayg/Developer/calternal-target-125/debug/deps/setup-1d2b08d963b28fff)

running 8 tests
test a_restart_replaces_the_first_owner_token ... ok
test a_finished_prompt_cannot_be_replayed ... ok
test a_token_works_exactly_once_under_a_storm ... ok
test first_owner_needs_a_name ... ok
test first_owner_signs_up_with_the_printed_token ... ok
test recovery_adds_a_new_passkey_for_the_same_person ... ok
test session_cookie_is_locked_down ... ok
test an_expired_setup_token_is_refused ... ok

test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_backdrops-e474982e40fe3a4d)

running 19 tests
test tests::an_answer_that_is_not_a_picture_is_refused_and_not_kept ... ok
test tests::a_photo_unknown_to_us_is_looked_up ... ok
test tests::an_upload_is_private_to_the_person_who_made_it ... ok
test tests::bad_ids_never_reach_the_disk_or_the_network ... ok
test tests::an_upload_is_kept_once_and_served_back ... ok
test tests::changes_need_our_own_page_and_a_signed_in_person ... ok
test tests::picking_is_reported_to_unsplash_once ... ok
test tests::nobody_can_read_or_list_someone_elses_uploads ... ok
test tests::pictures_from_other_hosts_are_refused ... ok
test tests::search_lists_photos_with_our_own_addresses_and_credit ... ok
test tests::pictures_are_proxied_cached_and_never_given_the_key ... ok
test tests::the_real_client_sends_the_key_and_caps_the_size ... ok
test tests::the_real_client_speaks_https_to_unsplash ... ignored, needs the internet
test tests::the_same_search_is_answered_once ... ok
test tests::too_many_pixels_are_refused_but_big_files_are_not ... ok
test tests::unsplash_running_out_of_requests_is_a_plain_slow_down ... ok
test tests::the_cache_drops_the_oldest_files_past_its_cap ... ok
test tests::uploads_are_checked_by_content_not_by_what_they_claim ... ok
test tests::without_a_key_photos_are_off_but_uploads_work ... ok

test result: ok. 18 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.05s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_core-22753e58953721f1)

running 7 tests
test action::tests::namespace_is_enforced ... ok
test batch::tests::stops_at_the_first_error ... ok
test batch::tests::visits_everything_once_in_order ... ok
test error::tests::every_code_has_a_friendly_message ... ok
test journal::tests::junk_tokens_ask_for_a_refresh ... ok
test journal::tests::tokens_round_trip ... ok
test plugin::tests::plugins_stay_in_their_namespace ... ok

test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_daily-253fcac5eaa1e5e5)

running 21 tests
test day::tests::daylight_saving_uses_the_offset_the_device_sends ... ok
test day::tests::midnight_follows_the_device_in_ist ... ok
test day::tests::titles_read_like_the_web_app ... ok
test day::tests::names_and_ids ... ok
test tests::an_existing_day_file_is_reused_whatever_its_id ... ok
test tests::any_text_is_safe_to_read_and_plan ... ok
test tests::bad_input_is_refused_kindly ... ok
test tests::add_inserts_exactly_one_entry_and_keeps_the_rest ... ok
test tests::close_turns_one_open_entry_into_a_range ... ok
test tests::log_add_then_close_makes_a_range ... ok
test tests::make_note_on_a_log_line_keeps_times_and_tags ... ok
test tests::opening_the_same_day_at_once_makes_one_note ... ok
test tests::shared_vectors ... ok
test tests::today_follows_the_device_offset ... ok
test tests::two_offline_devices_starting_the_same_day_merge_into_one_note ... ok
test times_tests::a_line_with_only_tags_stays_words ... ok
test times_tests::a_log_line_splits_into_times_words_and_tags ... ok
test times_tests::any_line_is_safe ... ok
test times_tests::only_a_day_note_has_times ... ok
test tests::no_file_until_the_first_keystroke ... ok
test times_tests::trailing_tags_on_any_line ... ok

test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_engine-ff3aa4aa42431a1a)

running 13 tests
test hash::tests::key_order_does_not_matter_but_content_does ... ok
test tests::a_plugin_cannot_write_outside_its_namespace ... ok
test tests::a_retry_runs_once_and_replays_the_result ... ok
test tests::a_huge_job_never_delays_anyone ... ok
test tests::a_user_with_a_live_view_or_a_running_action_is_kept ... ok
test tests::bad_input_and_unknown_actions_are_friendly ... ok
test tests::changes_need_a_key_reads_do_not ... ok
test tests::connected_follows_live_views ... ok
test tests::identical_calls_at_the_same_moment_run_once ... ok
test tests::journal_pages_continue_where_they_stopped ... ok
test tests::no_write_is_lost_while_users_are_released_and_reopened ... ok
test tests::users_never_see_each_other ... ok
test tests::an_idle_user_is_released_and_comes_back_with_nothing_lost ... ok

test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_fixtures-6f98542429b58355)

running 4 tests
test rng::tests::same_seed_same_numbers ... ok
test dates::tests::round_trips_and_formats ... ok
test tests::same_seed_same_bytes_other_seed_other_bytes ... ok
test tests::looks_like_a_real_home ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s

     Running unittests src/main.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_fixtures-f234eac8403fa749)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_fsio-0087f3cf3ed3c80d)

running 9 tests
test tests::atomic_write_replaces_and_leaves_no_temp_files ... ok
test tests::case_only_rename_works_and_other_clashes_are_refused ... ok
test tests::failed_write_keeps_the_old_file ... ok
test tests::names_fold_case_and_unicode_form ... ok
test tests::only_one_process_owns_a_data_folder ... ok
test tests::prepared_writes_land_only_when_placed ... ok
test tests::unique_names_skip_case_and_form_clashes ... ok
test tests::write_unless_changed_keeps_someone_elses_version ... ok
test tests::big_writes_arrive_whole ... ok

test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_memory-3b65467e6e94a530)

running 2 tests
test tests::huge_pages_go_off ... ok
test tests::trimming_is_harmless ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_migrate_v0-bd794bebe756a3e2)

running 36 tests
test tests::rules::dry_run_writes_nothing ... ok
test tests::rules::edited_files_are_never_overwritten_without_asking ... ok
test tests::rules::m10_tz_markers_go_and_other_zones_convert_to_the_notes_zone ... ok
test tests::rules::m1_custom_daily_title_and_heading_stay ... ok
test tests::rules::m1_daily_notes_get_day_names_ids_and_lose_generated_headings ... ok
test tests::rules::m1_titles_come_from_title_then_h1_then_file_name_and_stay_unique ... ok
test tests::rules::m2_attachments_that_exist_are_copied_and_relinked ... ok
test tests::rules::m2_code_is_never_rewritten ... ok
test tests::rules::m2_links_are_repaired_by_name_date_title_and_slug ... ok
test tests::rules::m2_unresolved_links_stay_as_written_and_are_reported ... ok
test tests::rules::m2_wikilinks_always_become_standard_links ... ok
test tests::rules::m3_m5_frontmatter_keys_drop_and_times_convert ... ok
test tests::rules::m4_unreferenced_block_ids_go_and_referenced_ones_stay ... ok
test tests::rules::m5_unreadable_dates_fall_back ... ok
test tests::rules::m6_conflict_copies_are_not_migrated ... ok
test tests::rules::m7_tasks_blocks_are_stripped_and_listed ... ok
test tests::rules::m8_only_notes_and_linked_files_move ... ok
test tests::rules::running_twice_gives_the_same_bytes ... ok
test tests::units::every_v0_time_shape_converts ... ok
test tests::units::file_names_give_titles ... ok
test tests::units::keys_ignore_case_encoding_quotes_and_md ... ok
test tests::units::links_parse_in_every_shape ... ok
test tests::units::unix_times_become_india_time ... ok
test tzmarker::tests::a_conversion_that_leaves_the_day_is_kept_and_reported ... ok
test tzmarker::tests::berlin_converts_inside_the_day ... ok
test tzmarker::tests::code_is_never_touched ... ok
test tzmarker::tests::day_from_a_date_value ... ok
test tzmarker::tests::eu_summer_time_edges ... ok
test tzmarker::tests::marker_at_the_end_or_tight_leaves_no_stray_space ... ok
test tzmarker::tests::no_zone_in_the_note_means_strip_only ... ok
test tzmarker::tests::not_a_marker_is_left_alone ... ok
test tzmarker::tests::same_zone_just_goes ... ok
test tzmarker::tests::second_run_changes_nothing ... ok
test tzmarker::tests::styles_survive_conversion ... ok
test tzmarker::tests::unknown_zone_or_a_non_log_line_is_kept_and_counted ... ok
test tests::no_new_markers::nothing_writes_a_tz_marker ... ok

test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_notes-deecfda7a8462cc2)

running 196 tests
test anchor::tests::lines_by_utf16_index ... ok
test anchor::tests::hash_is_plain_sha256_hex ... ok
test backlinks::tests::snippets_are_the_trimmed_line ... ok
test blocks::tests::finds_list_children_and_heading_sections ... ok
test backlinks::tests::links_are_fold_keys_and_lines ... ok
test blocks::tests::line_edits ... ok
test blocks::tests::shapes_keep_markers ... ok
test blocks::tests::titles_from_the_first_sentence ... ok
test bulk::undo::tests::inverse_restores_the_text ... ok
test diff::tests::an_inserted_line_starts_at_a_line_start ... ok
test diff::tests::edits_never_split_a_character ... ok
test bulk::undo::tests::inverse_roundtrips ... ok
test diff::tests::emoji_positions_are_utf16 ... ok
test diff::tests::small_change_is_a_small_edit ... ok
test frontmatter::tests::h1_skips_code_and_frontmatter ... ok
test frontmatter::tests::quoting ... ok
test frontmatter::tests::reads_keys ... ok
test frontmatter::tests::set_adds_a_line_or_a_block ... ok
test frontmatter::tests::set_changes_only_the_value ... ok
test frontmatter::tests::set_is_utf16_aware ... ok
test history::tests::appends_are_ordered_and_readable ... ok
test history::tests::pending_save_promotes_to_base ... ok
test index::tests::a_shared_path_answers_with_the_newest_note ... ok
test index::tests::a_torn_tail_cannot_swallow_the_next_durable_mapping ... ok
test diff::tests::edits_turn_old_into_new ... ok
test index::tests::compacts_when_it_grows ... ok
test index::tests::directory_counts_match_full_scan_after_moves_and_reload ... ok
test index::tests::reload_speed ... ignored
test index::tests::survives_reload_renames_and_torn_lines ... ok
test index::tests::under_finds_exact_paths_and_descendants_with_folded_names ... ok
test index::tests::under_keeps_shadowed_paths_for_watcher_removal ... ok
test index::tests::unloads_and_reloads ... ok
test links::tests::finds_standard_and_old_style_links ... ok
test links::tests::nested_brackets_in_text ... ok
test links::tests::relative_paths ... ok
test links::tests::resolves_relative_to_the_linking_note ... ok
test links::tests::retarget_follows_the_title_and_keeps_custom_text ... ok
test links::tests::retarget_from_a_subfolder ... ok
test links::tests::retarget_matches_case_and_unicode_forms ... ok
test links::tests::skips_code_images_and_the_web ... ok
test meta::tests::cursors_round_trip_and_reject_junk ... ok
test meta::tests::snippets_skip_frontmatter_and_headings ... ok
test rename::tests::clash_numbers ... ok
test rename::tests::daily_names ... ok
test rename::tests::h1_is_set_or_added ... ok
test room::acks::tests::varuints_round_trip ... ok
test room::edit::tests::checks_bounds_overlap_and_surrogates ... ok
test scan::tests::day_ids_name_their_files ... ok
test scan::tests::state_round_trips_and_skips_odd_names ... ok
test search::tests::a_note_becomes_a_document ... ok
test search::tests::titles_fall_back_to_the_file_name ... ok
test smartline::tests::a_plain_line ... ok
test smartline::tests::only_tags_are_words ... ok
test smartline::tests::trailing_tags_only ... ok
test stamp::tests::formats_with_offset ... ok
test tags::front::tests::every_way_of_writing_tags ... ok
test tags::merge::tests::property_tags_go_with_their_comma_or_line ... ok
test tags::merge::tests::text_tags_go_with_one_space ... ok
test index::tests::answers_like_plain_maps ... ok
test tags::rewrite::tests::nothing_to_do_is_no_edits ... ok
test tags::rewrite::tests::merging_keeps_every_tag_once_at_most ... ok
test tags::rewrite::tests::positions_count_utf16 ... ok
test tags::rewrite::tests::properties_change_name_only ... ok
test tags::rewrite::tests::rename_and_back_is_the_same_text ... ok
test tags::rewrite::tests::renames_tags_and_nested_tags_only ... ok
test tags::rewrite::tests::renaming_onto_an_existing_tag_merges ... ok
test tags::rewrite::tests::words_code_links_and_headings ... ok
test tags::scan::tests::code_is_never_tags ... ok
test tags::scan::tests::headings_and_quotes_keep_their_tags ... ok
test tags::scan::tests::link_targets_and_addresses_are_never_tags ... ok
test tags::scan::tests::not_tags ... ok
test tags::scan::tests::plain_tags ... ok
test tags::tests::nesting_and_cleaning ... ok
test tags::tests::properties_and_text ... ok
test tests::acks::an_older_lineage_is_refused_before_anything_is_sent ... ok
test tests::acks::checks_are_answered_in_order ... ok
test tests::acks::lineage_survives_a_restart ... ok
test tests::acks::saved_means_the_change_is_in_history ... ok
test tests::anchors::an_anchor_follows_its_block_when_lines_shift ... ok
test tags::rewrite::tests::only_real_tags_change ... ok
test tests::anchors::anchors_need_a_hash_and_block_ids_work ... ok
test tests::anchors::an_edited_block_is_refused_never_the_wrong_one ... ok
test tests::anchors::history_folds_typing_and_names_jobs ... ok
test tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text ... ok
test tests::anchors::shifting_lines_never_move_the_wrong_block ... ok
test tests::fanout::a_crash_between_fan_out_and_disk_loses_nothing ... ok
test tests::fanout::a_version_always_matches_its_text ... ok
test tests::fanout::a_first_open_does_not_wait_for_the_disk ... ok
test tests::fanout::bursts_converge_and_reach_history ... ok
test tests::fresh::a_note_made_with_text_opens_with_its_frontmatter ... ok
test tests::kill9::child ... ok
test tests::kill9::delete_killed_after_its_answer_finishes_once ... ok
test tests::kill9::permanent_delete_after_restore_cannot_delete_the_live_note ... ok
test tests::kill9::quick_delete_restore_survives_kill ... ok
test tests::kill9::quick_restore_delete_survives_kill ... ok
test tests::kill9::restore_delete_forget_does_not_resurrect_after_kill ... ok
test tests::fanout::collaborators_see_typing_before_the_disk ... ok
test tests::kill9::restore_killed_after_its_answer_finishes_once ... ok
test tests::listing::filters_by_tag_kind_and_created_range ... ok
test tests::listing::pages_cover_every_note_once_in_a_stable_order ... ok
test tests::listing::pinning_shows_in_the_list_and_unpinning_leaves_no_trace ... ok
test tests::listing::the_first_page_never_waits_for_the_home_to_open ... ok
test tests::listing::a_common_tag_pages_the_same_in_every_order ... ok
test tests::listing::the_list_stays_live_with_new_notes_saves_and_outside_edits ... ok
test tests::opening::a_cold_fill_ends_with_every_index_and_right_answers ... ok
test tests::listing::the_kept_count_follows_adds_and_deletes ... ok
test tests::opening::a_note_never_typed_in_is_still_forgotten_on_restart ... ok
test tests::opening::a_warm_open_announces_only_what_changed_while_closed ... ok
test tests::opening::a_cold_home_indexes_every_file_once_with_its_own_id ... ok
test tests::opening::identifying_an_already_indexed_file_never_makes_it_a_copy ... ok
test tests::opening::shutting_down_leaves_the_list_log_empty ... ok
test tests::opening::typing_saved_only_in_history_survives_a_restart_before_the_first_save ... ok
test tests::opening::upgrading_without_a_saved_scan_announces_nothing_for_known_notes ... ok
test tests::outside::copied_note_gets_a_fresh_id ... ok
test tests::outside::edit_while_closed_is_merged_on_open ... ok
test tests::outside::missed_watcher_event_is_caught_before_saving ... ok
test tests::opening::asking_mid_scan_never_says_not_found_and_never_duplicates_a_day ... ok
test tests::outside::outside_edit_while_typing_merges ... ok
test tests::outside::outside_create_and_delete ... ok
test tests::outside::outside_rename_keeps_the_id ... ok
test tests::outside::own_saves_are_not_outside_edits ... ok
test tests::peek::an_open_room_answers_with_its_live_text ... ok
test tests::peek::reads_files_without_opening_rooms ... ok
test tests::peek::returns_at_most_fifty ... ok
test tests::pending::apply_places_changes_in_any_order ... ok
test tests::pending::changes_out_of_order_all_arrive_and_saved_is_true ... ok
test tests::pending::yrs_alone_loses_a_parked_change ... ok
test tests::outside::polling_finds_outside_changes ... ok
test tests::renames::a_taken_name_gets_a_number_and_daily_notes_keep_theirs ... ok
test tests::renames::backlinks_follow_edits_and_deletes ... ok
test tests::renames::backlinks_list_linked_and_unlinked_mentions ... ok
test tests::renames::make_note_moves_the_block_and_undoes_as_one_step ... ok
test tests::renames::move_block_to_another_note_and_back ... ok
test tests::renames::rename_moves_the_file_and_repoints_every_link ... ok
test tests::renames::typing_a_new_title_renames_the_file_after_a_pause ... ok
test tests::renames::typing_in_a_linking_note_during_a_rename_is_kept ... ok
test tests::renames::undo_keeps_a_made_note_someone_typed_in ... ok
test tests::rooms::fresh_note_opened_by_many_at_once_is_not_doubled ... ok
test tests::rooms::late_joiner_gets_full_state ... ok
test tests::rooms::patches_use_utf16_positions ... ok
test tests::rooms::random_concurrent_editing_converges_without_duplicates ... ok
test tests::rooms::retried_change_applies_once ... ok
test tests::rooms::retried_create_makes_one_note ... ok
test tests::rooms::stale_replace_keeps_newer_typing ... ok
test tests::rooms::typing_survives_a_concurrent_delete ... ok
test tests::saving::a_write_error_keeps_the_change ... ok
test tests::saving::an_error_after_the_write_does_not_double_text ... ok
test tests::saving::crash_after_write_does_not_double_text ... ok
test tests::saving::crash_before_write_loses_nothing ... ok
test tests::saving::failed_save_keeps_the_change ... ok
test tests::saving::first_keystroke_creates_the_file ... ok
test tests::saving::line_endings_and_bom_are_kept ... ok
test tests::renames::a_crash_mid_rename_resumes_and_applies_each_edit_once ... ok
test tests::saving::opening_never_writes ... ok
test tests::saving::saving_does_not_loop ... ok
test tests::saving::title_and_h1_stay_in_step ... ok
test tests::saving::nonstop_typing_still_saves ... ok
test tests::storm::outside_rewrites_during_a_storm_all_land ... ok
test tests::tags::a_big_tag_rename_never_stalls_typing ... ok
test tests::tags::bad_names_are_refused ... ok
test tests::tags::renames_every_tag_and_undoes_as_one_step ... ok
test tests::tags::typing_during_a_tag_rename_is_kept ... ok
test tests::trash::a_closed_note_is_trashed_without_opening_it ... ok
test tests::trash::a_crash_mid_delete_finishes_on_restart_exactly_once ... ok
test tests::trash::a_file_deleted_outside_goes_to_the_trash ... ok
test tests::trash::a_never_typed_note_is_simply_forgotten ... ok
test tests::trash::a_note_deleted_before_its_first_save_keeps_its_text ... ok
test tests::trash::delete_and_restore_answer_once_per_job_id ... ok
test tests::trash::delete_moves_to_trash_and_undo_brings_it_back ... ok
test tests::trash::delete_replay_with_a_stale_index_keeps_the_only_file ... ok
test tests::trash::folder_rename_and_outside_move_bursts_keep_every_descendant ... ok
test tests::trash::forget_deletes_file_and_history_forever ... ok
test tests::trash::half_written_trash_folders_never_hide_a_live_note ... ok
test tests::trash::restore_durably_indexes_a_note_without_an_embedded_id ... ok
test tests::trash::restore_keeps_id_and_history_and_takes_a_free_name ... ok
test tests::trash::restore_with_a_stale_index_really_moves_the_file_back ... ok
test tests::trash::the_sweep_empties_only_notes_older_than_thirty_days ... ok
test tests::trash::trash_ids_never_reach_another_home ... ok
test tests::trash::trash_pages_newest_first ... ok
test tests::trash::trashed_notes_leave_search_lists_and_backlinks_and_come_back ... ok
test tests::unloading::a_connected_client_keeps_it ... ok
test tests::unloading::an_open_note_keeps_it ... ok
test tests::unloading::an_unused_home_unloads_and_answers_after ... ok
test tests::tags::a_crash_mid_rename_resumes_and_renames_each_tag_once ... ok
test tests::writers::every_writer_at_once_with_the_watcher ... ok
test text::tests::mixed_endings_take_the_majority ... ok
test text::tests::styles_round_trip ... ok
test text::tests::uniform_files_round_trip_exactly ... ok
test trash::tests::a_note_without_details_still_reads ... ok
test trash::tests::details_without_a_note_are_not_a_note ... ok
test trash::tests::missing_details_never_age_trash_from_the_notes_old_mtime ... ok
test versions::tests::folds_runs_by_author_kind_and_gap ... ok
test ydoc::tests::fork_and_merge_keeps_concurrent_typing ... ok
test ydoc::tests::reapplying_an_update_changes_nothing ... ok
test ydoc::tests::utf16_offsets ... ok
test tests::writers::every_writer_at_once_loses_and_doubles_nothing ... ok

test result: ok. 195 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 17.54s

     Running unittests src/main.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_perf-1052020ed1871574)

running 6 tests
test args::tests::parses_trash_only_mode ... ok
test scenarios::soak::tests::slope_of_a_line ... ok
test scenarios::storm::tests::typing_stops_before_the_newline_ahead_of_outside_lines ... ok
test stats::tests::medians_of_runs_and_pooled_singles ... ok
test live::tests::frames_round_trip_and_keystrokes_stay_whole ... ok
test stats::tests::summary_max_is_the_largest_observed_sample_across_runs ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/storage-bench.rs (/home/kayg/Developer/calternal-target-125/debug/deps/storage_bench-aaee1f6d1cd60c74)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_plugin_hello-53ca8ca6107399a0)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_prefs-34d1a5e6c699003e)

running 9 tests
test tests::a_change_on_one_device_reaches_the_other ... ok
test tests::a_retry_with_the_same_key_acts_once ... ok
test tests::bad_keys_and_big_values_get_friendly_errors ... ok
test tests::keys_are_an_area_then_dotted_parts ... ok
test tests::people_do_not_share_preferences ... ok
test tests::quick_saves_from_two_devices_all_land ... ok
test tests::saving_the_same_value_again_is_quiet ... ok
test tests::set_then_get_and_survive_a_restart ... ok
test tests::at_most_200_keys_but_existing_ones_can_still_change ... ok

test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_search-ff67ffa340bd9f12)

running 13 tests
test fuzzy::tests::distance_counts_swaps_as_one ... ok
test fuzzy::tests::common_typos_are_fixed ... ok
test query::tests::dates_cover_whole_periods ... ok
test query::tests::lone_symbols_are_ignored ... ok
test read::tests::block_ids_are_found ... ok
test query::tests::words_filters_and_phrases ... ok
test read::tests::renumbering_shifts_placeholders ... ok
test read::tests::excerpts_mark_matches_in_context ... ok
test read::tests::text_matches_like_the_index ... ok
test text::tests::bigrams_cover_unspaced_scripts ... ok
test text::tests::fold_drops_accents_and_case ... ok
test text::tests::words_keep_indic_vowel_signs ... ok
test schema::tests::an_older_index_gets_its_titles_filled ... ok

test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s

     Running tests/search.rs (/home/kayg/Developer/calternal-target-125/debug/deps/search-8eb084de93ee7287)

running 12 tests
test an_empty_search_shows_recent_things ... ok
test a_restart_heals_whatever_was_missed ... ok
test behind_answers_at_once_and_catching_up_is_announced_once ... ok
test every_script_is_searchable ... ok
test filters_by_tag_kind_and_date ... ok
test odd_input_never_breaks_search ... ok
test prefixes_and_typos_are_forgiven ... ok
test people_only_ever_find_their_own_things ... ok
test results_show_why_they_matched_and_where ... ok
test searches_answer_while_indexing_runs ... ok
test titles_first_then_recent_use_then_body ... ok
test the_index_follows_changes_live ... ok

test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.68s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_server-b018c8f458805a08)

running 2 tests
test rooms::tests::frames_round_trip ... ok
test compress::tests::big_answers_are_compressed_and_small_ones_are_not ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/access.rs (/home/kayg/Developer/calternal-target-125/debug/deps/access-b270c95875ec56fa)

running 1 test
test one_line_per_request_with_no_secrets ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running tests/live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/live-2ebb72560f7b157e)

running 6 tests
test a_stranger_token_asks_for_a_refresh ... ok
test health_answers_without_signing_in ... ok
test errors_carry_codes_not_internals ... ok
test http_to_journal_to_websocket ... ok
test signed_out_calls_get_a_friendly_refusal ... ok
test reconnecting_catches_up_from_a_token ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s

     Running tests/signout.rs (/home/kayg/Developer/calternal-target-125/debug/deps/signout-3993512dadca5b39)

running 1 test
test signing_a_device_out_closes_its_live_socket ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s

     Running tests/web.rs (/home/kayg/Developer/calternal-target-125/debug/deps/web-4c0ff73bf5023b52)

running 3 tests
test caching_and_security_headers_follow_what_each_file_is ... ok
test precompressed_files_are_sent_as_they_are_to_whoever_accepts_them ... ok
test files_deep_links_and_the_api_live_side_by_side ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_store-dc5119e9b339ecbc)

running 8 tests
test tests::a_store_with_a_listener_or_a_copy_is_in_use ... ok
test tests::commits_are_read_back_in_order ... ok
test tests::idempotency_is_saved_with_the_events_or_not_at_all ... ok
test tests::live_entries_arrive_in_journal_order ... ok
test tests::old_idempotency_records_are_swept_after_commits ... ok
test tests::old_idempotency_records_are_swept_when_the_store_opens ... ok
test tests::tokens_survive_a_restart_and_reject_strangers ... ok
test tests::reads_are_capped ... ok

test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s

     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_testkit-84605cced32b9d05)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_auth

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_backdrops

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_core

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_daily

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_engine

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_fixtures

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_fsio

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_memory

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_migrate_v0

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_notes

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_plugin_hello

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_prefs

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_search

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_server

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_store

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests calternal_testkit

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

Seed-crash test recheck

The concurrent run timed out waiting for a client response. It passed alone
and in the final two-thread workspace run. Isolated recheck output (verbatim):

   Compiling calternal-notes v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/notes)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 10.94s
     Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_notes-6ac741039e501ea4)

running 1 test
test tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 195 filtered out; finished in 0.11s

Earlier timeout output (verbatim excerpt):

failures:

---- tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text stdout ----

thread 'tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text' (1839961) panicked at crates/notes/src/tests/clients.rs:298:14:
the server never answered: Elapsed(())
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text

test result: FAILED. 193 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 30.22s

error: test failed, to rerun pass `-p calternal-notes --lib`

Missing-details API reproduction

Same synthetic note, 1970 mtime, missing Trash details; previous and fixed
binaries, respectively (verbatim):

{"deleted_ms_from_old_binary": 1000, "retention_cutoff_ms": 1789542450910, "newly_trashed_note_eligible_for_automatic_purge": true}
{"deleted_ms_from_review_binary": 1792134743470, "retention_cutoff_ms": 1789542743471, "newly_trashed_note_eligible_for_automatic_purge": false}

trash.forget performance table

Five runs per build, 30 samples per run, interleaved on the perf VM HDD.
Output (verbatim):

| Comparison | Build | Runs × samples | p50 ms | p95 ms | Max ms |
|---|---|---:|---:|---:|---:|
| initial | Baseline c82161d | 5 × 30 | 32.788 | 91.934 | 164.531 |
| initial | Author c37ffe1 | 5 × 30 | 98.529 | 201.999 | 284.030 |
| final | Baseline c82161d | 5 × 30 | 33.809 | 71.618 | 131.863 |
| final | Review fe53835 | 5 × 30 | 35.835 | 67.174 | 191.339 |
**Evidence moved out of the repo (`docs/perf/issue-125-delete-review-gates.md`):** # Issue #125 review: verification output Tested code commit: `fe53835` (later commits contain review evidence only). All heavy commands ran through the required build-slot wrapper, with `CARGO_TARGET_DIR=/home/kayg/Developer/calternal-target-125`. The final workspace test command used `RUST_TEST_THREADS=2`. Compiler and library setup used the existing Nix GCC/OpenSSL helper; command output below is copied verbatim. ## `cargo fmt --all --check` Exit status: 0. Output was empty. ## `cargo clippy --workspace --all-targets -- -D warnings` Exit status: 0. ```text Checking calternal-notes v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/notes) Checking calternal-daily v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/daily) Checking calternal-perf v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/perf) Checking calternal v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/calternal) Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.81s ``` ## `cargo test --workspace` Exit status: 0. ```text Compiling calternal-notes v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/notes) Compiling calternal-daily v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/daily) Compiling calternal v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/calternal) Compiling calternal-perf v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/perf) Finished `test` profile [unoptimized + debuginfo] target(s) in 16.95s Running unittests src/main.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal-0e2524b9e83bd935) running 11 tests test args::tests::dev_user_never_on_a_public_address ... ok test args::tests::defaults_and_flags ... ok test args::tests::migrate_v0 ... ok test args::tests::origin_defaults_to_the_local_port ... ok test args::tests::user_create ... ok test args::tests::user_recover ... ok test args::tests::fix_commands ... ok test args::tests::web_folder ... ok test isolation::bob_cannot_join_alices_note_room ... ok test plugins::tests::contract_matches_the_server ... ok test isolation::bob_reaches_nothing_of_alices_through_any_action ... ok test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s Running tests/fix_tz_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/fix_tz_live-bc5a4bf6584d2af7) running 2 tests test fix_without_a_running_server_says_so ... ok test strip_tz_markers_on_a_live_home_with_a_client_typing ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s Running tests/notes_crash.rs (/home/kayg/Developer/calternal-target-125/debug/deps/notes_crash-93cd7b159b871449) running 2 tests test kill_nine_mid_tag_rename_renames_each_tag_once ... ok test kill_nine_never_loses_or_doubles ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.46s Running tests/notes_crash_typing.rs (/home/kayg/Developer/calternal-target-125/debug/deps/notes_crash_typing-5a864935c1e5064a) running 1 test test kill_nine_while_people_type_loses_and_doubles_nothing ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.85s Running tests/notes_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/notes_live-c8da14e6fd2209fb) running 2 tests test joining_a_missing_note_fails_politely ... ok test type_over_the_websocket_and_read_it_back ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s Running tests/prefs_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/prefs_live-bdf7e4ca59cd64dc) running 1 test test preferences_are_saved_checked_and_kept ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s Running tests/search_live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/search_live-d2de52bf0874bbe2) running 1 test test notes_from_everywhere_are_found ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.13s Running tests/startup.rs (/home/kayg/Developer/calternal-target-125/debug/deps/startup-c9f9cd5b7d6ab6fa) running 5 tests test answers_within_budget ... ok test recover_only_knows_real_people ... ok test refuses_dev_user_on_a_public_address ... ok test a_new_server_prints_a_setup_token ... ok test refuses_plain_http_on_a_public_origin ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_auth-5e8eb246e070ea06) running 12 tests test config::tests::origins ... ok test db::tests::a_version_1_database_gets_passkey_names ... ok test limit::tests::stops_after_the_limit ... ok test passkeys::tests::ids_round_trip ... ok test db::tests::opens_twice_and_keeps_schema ... ok test passkeys::tests::names_are_trimmed_short_and_never_empty ... ok test session::tests::names_are_cleaned ... ok test setup::tests::names ... ok test setup::tests::usernames ... ok test token::tests::junk_is_not_a_token ... ok test token::tests::setup_tokens_round_trip_through_pasting ... ok test setup::tests::recover_needs_a_known_person ... ok test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running tests/abuse.rs (/home/kayg/Developer/calternal-target-125/debug/deps/abuse-5b62c855d6367504) running 9 tests test bad_json_and_unknown_fields_are_refused ... ok test garbage_credentials_never_crash ... ok test junk_setup_tokens_are_refused_then_rate_limited ... ok test non_json_requests_are_refused ... ok test forged_sessions_get_nowhere ... ok test open_prompts_are_capped ... ok test nothing_about_the_server_leaks_before_sign_in ... ok test oversized_bodies_are_refused ... ok test other_sites_cannot_act_for_you ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s Running tests/create.rs (/home/kayg/Developer/calternal-target-125/debug/deps/create-94fcea8192201cea) running 6 tests test an_earlier_first_owner_token_stops_working ... ok test a_created_person_enrolls_their_first_passkey_and_is_the_same_person ... ok test an_expired_enrolment_token_is_refused ... ok test names_must_be_usable_and_unique ... ok test nothing_about_the_person_leaks_before_sign_in ... ok test an_enrolment_token_works_exactly_once_under_a_storm ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s Running tests/isolation.rs (/home/kayg/Developer/calternal-target-125/debug/deps/isolation-e5c44b0d42bee2d9) running 3 tests test a_cookie_sent_from_another_sites_page_does_not_count ... ok test another_persons_passkey_prompt_cannot_be_used_or_cancelled ... ok test devices_and_passkeys_of_another_person_are_not_found ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s Running tests/login.rs (/home/kayg/Developer/calternal-target-125/debug/deps/login-346109f79b33176b) running 9 tests test a_sign_in_answer_cannot_be_replayed ... ok test bearer_tokens_work_like_cookies ... ok test an_unknown_passkey_is_refused ... ok test revoking_another_device_signs_it_out ... ok test sign_in_with_a_passkey_creates_a_new_installation ... ok test sign_out_ends_the_session_immediately ... ok test signing_in_shows_up_live_on_another_device ... ok test signing_out_shows_up_live_on_another_device ... ok test sessions_expire_when_unused ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s Running tests/passkeys.rs (/home/kayg/Developer/calternal-target-125/debug/deps/passkeys-841c914424a5e188) running 7 tests test a_removed_passkey_that_is_gone_or_unknown_is_not_found ... ok test add_rename_and_remove_each_leave_a_journal_event ... ok test an_empty_name_is_refused_and_a_long_one_is_cut ... ok test adding_needs_a_sign_in_and_an_add_prompt_works_once ... ok test the_first_passkey_is_listed_with_the_device_it_was_made_on ... ok test the_same_device_cannot_be_added_twice ... ok test the_last_passkey_cannot_be_removed ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s Running tests/setup.rs (/home/kayg/Developer/calternal-target-125/debug/deps/setup-1d2b08d963b28fff) running 8 tests test a_restart_replaces_the_first_owner_token ... ok test a_finished_prompt_cannot_be_replayed ... ok test a_token_works_exactly_once_under_a_storm ... ok test first_owner_needs_a_name ... ok test first_owner_signs_up_with_the_printed_token ... ok test recovery_adds_a_new_passkey_for_the_same_person ... ok test session_cookie_is_locked_down ... ok test an_expired_setup_token_is_refused ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_backdrops-e474982e40fe3a4d) running 19 tests test tests::an_answer_that_is_not_a_picture_is_refused_and_not_kept ... ok test tests::a_photo_unknown_to_us_is_looked_up ... ok test tests::an_upload_is_private_to_the_person_who_made_it ... ok test tests::bad_ids_never_reach_the_disk_or_the_network ... ok test tests::an_upload_is_kept_once_and_served_back ... ok test tests::changes_need_our_own_page_and_a_signed_in_person ... ok test tests::picking_is_reported_to_unsplash_once ... ok test tests::nobody_can_read_or_list_someone_elses_uploads ... ok test tests::pictures_from_other_hosts_are_refused ... ok test tests::search_lists_photos_with_our_own_addresses_and_credit ... ok test tests::pictures_are_proxied_cached_and_never_given_the_key ... ok test tests::the_real_client_sends_the_key_and_caps_the_size ... ok test tests::the_real_client_speaks_https_to_unsplash ... ignored, needs the internet test tests::the_same_search_is_answered_once ... ok test tests::too_many_pixels_are_refused_but_big_files_are_not ... ok test tests::unsplash_running_out_of_requests_is_a_plain_slow_down ... ok test tests::the_cache_drops_the_oldest_files_past_its_cap ... ok test tests::uploads_are_checked_by_content_not_by_what_they_claim ... ok test tests::without_a_key_photos_are_off_but_uploads_work ... ok test result: ok. 18 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.05s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_core-22753e58953721f1) running 7 tests test action::tests::namespace_is_enforced ... ok test batch::tests::stops_at_the_first_error ... ok test batch::tests::visits_everything_once_in_order ... ok test error::tests::every_code_has_a_friendly_message ... ok test journal::tests::junk_tokens_ask_for_a_refresh ... ok test journal::tests::tokens_round_trip ... ok test plugin::tests::plugins_stay_in_their_namespace ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_daily-253fcac5eaa1e5e5) running 21 tests test day::tests::daylight_saving_uses_the_offset_the_device_sends ... ok test day::tests::midnight_follows_the_device_in_ist ... ok test day::tests::titles_read_like_the_web_app ... ok test day::tests::names_and_ids ... ok test tests::an_existing_day_file_is_reused_whatever_its_id ... ok test tests::any_text_is_safe_to_read_and_plan ... ok test tests::bad_input_is_refused_kindly ... ok test tests::add_inserts_exactly_one_entry_and_keeps_the_rest ... ok test tests::close_turns_one_open_entry_into_a_range ... ok test tests::log_add_then_close_makes_a_range ... ok test tests::make_note_on_a_log_line_keeps_times_and_tags ... ok test tests::opening_the_same_day_at_once_makes_one_note ... ok test tests::shared_vectors ... ok test tests::today_follows_the_device_offset ... ok test tests::two_offline_devices_starting_the_same_day_merge_into_one_note ... ok test times_tests::a_line_with_only_tags_stays_words ... ok test times_tests::a_log_line_splits_into_times_words_and_tags ... ok test times_tests::any_line_is_safe ... ok test times_tests::only_a_day_note_has_times ... ok test tests::no_file_until_the_first_keystroke ... ok test times_tests::trailing_tags_on_any_line ... ok test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_engine-ff3aa4aa42431a1a) running 13 tests test hash::tests::key_order_does_not_matter_but_content_does ... ok test tests::a_plugin_cannot_write_outside_its_namespace ... ok test tests::a_retry_runs_once_and_replays_the_result ... ok test tests::a_huge_job_never_delays_anyone ... ok test tests::a_user_with_a_live_view_or_a_running_action_is_kept ... ok test tests::bad_input_and_unknown_actions_are_friendly ... ok test tests::changes_need_a_key_reads_do_not ... ok test tests::connected_follows_live_views ... ok test tests::identical_calls_at_the_same_moment_run_once ... ok test tests::journal_pages_continue_where_they_stopped ... ok test tests::no_write_is_lost_while_users_are_released_and_reopened ... ok test tests::users_never_see_each_other ... ok test tests::an_idle_user_is_released_and_comes_back_with_nothing_lost ... ok test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_fixtures-6f98542429b58355) running 4 tests test rng::tests::same_seed_same_numbers ... ok test dates::tests::round_trips_and_formats ... ok test tests::same_seed_same_bytes_other_seed_other_bytes ... ok test tests::looks_like_a_real_home ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s Running unittests src/main.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_fixtures-f234eac8403fa749) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_fsio-0087f3cf3ed3c80d) running 9 tests test tests::atomic_write_replaces_and_leaves_no_temp_files ... ok test tests::case_only_rename_works_and_other_clashes_are_refused ... ok test tests::failed_write_keeps_the_old_file ... ok test tests::names_fold_case_and_unicode_form ... ok test tests::only_one_process_owns_a_data_folder ... ok test tests::prepared_writes_land_only_when_placed ... ok test tests::unique_names_skip_case_and_form_clashes ... ok test tests::write_unless_changed_keeps_someone_elses_version ... ok test tests::big_writes_arrive_whole ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_memory-3b65467e6e94a530) running 2 tests test tests::huge_pages_go_off ... ok test tests::trimming_is_harmless ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_migrate_v0-bd794bebe756a3e2) running 36 tests test tests::rules::dry_run_writes_nothing ... ok test tests::rules::edited_files_are_never_overwritten_without_asking ... ok test tests::rules::m10_tz_markers_go_and_other_zones_convert_to_the_notes_zone ... ok test tests::rules::m1_custom_daily_title_and_heading_stay ... ok test tests::rules::m1_daily_notes_get_day_names_ids_and_lose_generated_headings ... ok test tests::rules::m1_titles_come_from_title_then_h1_then_file_name_and_stay_unique ... ok test tests::rules::m2_attachments_that_exist_are_copied_and_relinked ... ok test tests::rules::m2_code_is_never_rewritten ... ok test tests::rules::m2_links_are_repaired_by_name_date_title_and_slug ... ok test tests::rules::m2_unresolved_links_stay_as_written_and_are_reported ... ok test tests::rules::m2_wikilinks_always_become_standard_links ... ok test tests::rules::m3_m5_frontmatter_keys_drop_and_times_convert ... ok test tests::rules::m4_unreferenced_block_ids_go_and_referenced_ones_stay ... ok test tests::rules::m5_unreadable_dates_fall_back ... ok test tests::rules::m6_conflict_copies_are_not_migrated ... ok test tests::rules::m7_tasks_blocks_are_stripped_and_listed ... ok test tests::rules::m8_only_notes_and_linked_files_move ... ok test tests::rules::running_twice_gives_the_same_bytes ... ok test tests::units::every_v0_time_shape_converts ... ok test tests::units::file_names_give_titles ... ok test tests::units::keys_ignore_case_encoding_quotes_and_md ... ok test tests::units::links_parse_in_every_shape ... ok test tests::units::unix_times_become_india_time ... ok test tzmarker::tests::a_conversion_that_leaves_the_day_is_kept_and_reported ... ok test tzmarker::tests::berlin_converts_inside_the_day ... ok test tzmarker::tests::code_is_never_touched ... ok test tzmarker::tests::day_from_a_date_value ... ok test tzmarker::tests::eu_summer_time_edges ... ok test tzmarker::tests::marker_at_the_end_or_tight_leaves_no_stray_space ... ok test tzmarker::tests::no_zone_in_the_note_means_strip_only ... ok test tzmarker::tests::not_a_marker_is_left_alone ... ok test tzmarker::tests::same_zone_just_goes ... ok test tzmarker::tests::second_run_changes_nothing ... ok test tzmarker::tests::styles_survive_conversion ... ok test tzmarker::tests::unknown_zone_or_a_non_log_line_is_kept_and_counted ... ok test tests::no_new_markers::nothing_writes_a_tz_marker ... ok test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_notes-deecfda7a8462cc2) running 196 tests test anchor::tests::lines_by_utf16_index ... ok test anchor::tests::hash_is_plain_sha256_hex ... ok test backlinks::tests::snippets_are_the_trimmed_line ... ok test blocks::tests::finds_list_children_and_heading_sections ... ok test backlinks::tests::links_are_fold_keys_and_lines ... ok test blocks::tests::line_edits ... ok test blocks::tests::shapes_keep_markers ... ok test blocks::tests::titles_from_the_first_sentence ... ok test bulk::undo::tests::inverse_restores_the_text ... ok test diff::tests::an_inserted_line_starts_at_a_line_start ... ok test diff::tests::edits_never_split_a_character ... ok test bulk::undo::tests::inverse_roundtrips ... ok test diff::tests::emoji_positions_are_utf16 ... ok test diff::tests::small_change_is_a_small_edit ... ok test frontmatter::tests::h1_skips_code_and_frontmatter ... ok test frontmatter::tests::quoting ... ok test frontmatter::tests::reads_keys ... ok test frontmatter::tests::set_adds_a_line_or_a_block ... ok test frontmatter::tests::set_changes_only_the_value ... ok test frontmatter::tests::set_is_utf16_aware ... ok test history::tests::appends_are_ordered_and_readable ... ok test history::tests::pending_save_promotes_to_base ... ok test index::tests::a_shared_path_answers_with_the_newest_note ... ok test index::tests::a_torn_tail_cannot_swallow_the_next_durable_mapping ... ok test diff::tests::edits_turn_old_into_new ... ok test index::tests::compacts_when_it_grows ... ok test index::tests::directory_counts_match_full_scan_after_moves_and_reload ... ok test index::tests::reload_speed ... ignored test index::tests::survives_reload_renames_and_torn_lines ... ok test index::tests::under_finds_exact_paths_and_descendants_with_folded_names ... ok test index::tests::under_keeps_shadowed_paths_for_watcher_removal ... ok test index::tests::unloads_and_reloads ... ok test links::tests::finds_standard_and_old_style_links ... ok test links::tests::nested_brackets_in_text ... ok test links::tests::relative_paths ... ok test links::tests::resolves_relative_to_the_linking_note ... ok test links::tests::retarget_follows_the_title_and_keeps_custom_text ... ok test links::tests::retarget_from_a_subfolder ... ok test links::tests::retarget_matches_case_and_unicode_forms ... ok test links::tests::skips_code_images_and_the_web ... ok test meta::tests::cursors_round_trip_and_reject_junk ... ok test meta::tests::snippets_skip_frontmatter_and_headings ... ok test rename::tests::clash_numbers ... ok test rename::tests::daily_names ... ok test rename::tests::h1_is_set_or_added ... ok test room::acks::tests::varuints_round_trip ... ok test room::edit::tests::checks_bounds_overlap_and_surrogates ... ok test scan::tests::day_ids_name_their_files ... ok test scan::tests::state_round_trips_and_skips_odd_names ... ok test search::tests::a_note_becomes_a_document ... ok test search::tests::titles_fall_back_to_the_file_name ... ok test smartline::tests::a_plain_line ... ok test smartline::tests::only_tags_are_words ... ok test smartline::tests::trailing_tags_only ... ok test stamp::tests::formats_with_offset ... ok test tags::front::tests::every_way_of_writing_tags ... ok test tags::merge::tests::property_tags_go_with_their_comma_or_line ... ok test tags::merge::tests::text_tags_go_with_one_space ... ok test index::tests::answers_like_plain_maps ... ok test tags::rewrite::tests::nothing_to_do_is_no_edits ... ok test tags::rewrite::tests::merging_keeps_every_tag_once_at_most ... ok test tags::rewrite::tests::positions_count_utf16 ... ok test tags::rewrite::tests::properties_change_name_only ... ok test tags::rewrite::tests::rename_and_back_is_the_same_text ... ok test tags::rewrite::tests::renames_tags_and_nested_tags_only ... ok test tags::rewrite::tests::renaming_onto_an_existing_tag_merges ... ok test tags::rewrite::tests::words_code_links_and_headings ... ok test tags::scan::tests::code_is_never_tags ... ok test tags::scan::tests::headings_and_quotes_keep_their_tags ... ok test tags::scan::tests::link_targets_and_addresses_are_never_tags ... ok test tags::scan::tests::not_tags ... ok test tags::scan::tests::plain_tags ... ok test tags::tests::nesting_and_cleaning ... ok test tags::tests::properties_and_text ... ok test tests::acks::an_older_lineage_is_refused_before_anything_is_sent ... ok test tests::acks::checks_are_answered_in_order ... ok test tests::acks::lineage_survives_a_restart ... ok test tests::acks::saved_means_the_change_is_in_history ... ok test tests::anchors::an_anchor_follows_its_block_when_lines_shift ... ok test tags::rewrite::tests::only_real_tags_change ... ok test tests::anchors::anchors_need_a_hash_and_block_ids_work ... ok test tests::anchors::an_edited_block_is_refused_never_the_wrong_one ... ok test tests::anchors::history_folds_typing_and_names_jobs ... ok test tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text ... ok test tests::anchors::shifting_lines_never_move_the_wrong_block ... ok test tests::fanout::a_crash_between_fan_out_and_disk_loses_nothing ... ok test tests::fanout::a_version_always_matches_its_text ... ok test tests::fanout::a_first_open_does_not_wait_for_the_disk ... ok test tests::fanout::bursts_converge_and_reach_history ... ok test tests::fresh::a_note_made_with_text_opens_with_its_frontmatter ... ok test tests::kill9::child ... ok test tests::kill9::delete_killed_after_its_answer_finishes_once ... ok test tests::kill9::permanent_delete_after_restore_cannot_delete_the_live_note ... ok test tests::kill9::quick_delete_restore_survives_kill ... ok test tests::kill9::quick_restore_delete_survives_kill ... ok test tests::kill9::restore_delete_forget_does_not_resurrect_after_kill ... ok test tests::fanout::collaborators_see_typing_before_the_disk ... ok test tests::kill9::restore_killed_after_its_answer_finishes_once ... ok test tests::listing::filters_by_tag_kind_and_created_range ... ok test tests::listing::pages_cover_every_note_once_in_a_stable_order ... ok test tests::listing::pinning_shows_in_the_list_and_unpinning_leaves_no_trace ... ok test tests::listing::the_first_page_never_waits_for_the_home_to_open ... ok test tests::listing::a_common_tag_pages_the_same_in_every_order ... ok test tests::listing::the_list_stays_live_with_new_notes_saves_and_outside_edits ... ok test tests::opening::a_cold_fill_ends_with_every_index_and_right_answers ... ok test tests::listing::the_kept_count_follows_adds_and_deletes ... ok test tests::opening::a_note_never_typed_in_is_still_forgotten_on_restart ... ok test tests::opening::a_warm_open_announces_only_what_changed_while_closed ... ok test tests::opening::a_cold_home_indexes_every_file_once_with_its_own_id ... ok test tests::opening::identifying_an_already_indexed_file_never_makes_it_a_copy ... ok test tests::opening::shutting_down_leaves_the_list_log_empty ... ok test tests::opening::typing_saved_only_in_history_survives_a_restart_before_the_first_save ... ok test tests::opening::upgrading_without_a_saved_scan_announces_nothing_for_known_notes ... ok test tests::outside::copied_note_gets_a_fresh_id ... ok test tests::outside::edit_while_closed_is_merged_on_open ... ok test tests::outside::missed_watcher_event_is_caught_before_saving ... ok test tests::opening::asking_mid_scan_never_says_not_found_and_never_duplicates_a_day ... ok test tests::outside::outside_edit_while_typing_merges ... ok test tests::outside::outside_create_and_delete ... ok test tests::outside::outside_rename_keeps_the_id ... ok test tests::outside::own_saves_are_not_outside_edits ... ok test tests::peek::an_open_room_answers_with_its_live_text ... ok test tests::peek::reads_files_without_opening_rooms ... ok test tests::peek::returns_at_most_fifty ... ok test tests::pending::apply_places_changes_in_any_order ... ok test tests::pending::changes_out_of_order_all_arrive_and_saved_is_true ... ok test tests::pending::yrs_alone_loses_a_parked_change ... ok test tests::outside::polling_finds_outside_changes ... ok test tests::renames::a_taken_name_gets_a_number_and_daily_notes_keep_theirs ... ok test tests::renames::backlinks_follow_edits_and_deletes ... ok test tests::renames::backlinks_list_linked_and_unlinked_mentions ... ok test tests::renames::make_note_moves_the_block_and_undoes_as_one_step ... ok test tests::renames::move_block_to_another_note_and_back ... ok test tests::renames::rename_moves_the_file_and_repoints_every_link ... ok test tests::renames::typing_a_new_title_renames_the_file_after_a_pause ... ok test tests::renames::typing_in_a_linking_note_during_a_rename_is_kept ... ok test tests::renames::undo_keeps_a_made_note_someone_typed_in ... ok test tests::rooms::fresh_note_opened_by_many_at_once_is_not_doubled ... ok test tests::rooms::late_joiner_gets_full_state ... ok test tests::rooms::patches_use_utf16_positions ... ok test tests::rooms::random_concurrent_editing_converges_without_duplicates ... ok test tests::rooms::retried_change_applies_once ... ok test tests::rooms::retried_create_makes_one_note ... ok test tests::rooms::stale_replace_keeps_newer_typing ... ok test tests::rooms::typing_survives_a_concurrent_delete ... ok test tests::saving::a_write_error_keeps_the_change ... ok test tests::saving::an_error_after_the_write_does_not_double_text ... ok test tests::saving::crash_after_write_does_not_double_text ... ok test tests::saving::crash_before_write_loses_nothing ... ok test tests::saving::failed_save_keeps_the_change ... ok test tests::saving::first_keystroke_creates_the_file ... ok test tests::saving::line_endings_and_bom_are_kept ... ok test tests::renames::a_crash_mid_rename_resumes_and_applies_each_edit_once ... ok test tests::saving::opening_never_writes ... ok test tests::saving::saving_does_not_loop ... ok test tests::saving::title_and_h1_stay_in_step ... ok test tests::saving::nonstop_typing_still_saves ... ok test tests::storm::outside_rewrites_during_a_storm_all_land ... ok test tests::tags::a_big_tag_rename_never_stalls_typing ... ok test tests::tags::bad_names_are_refused ... ok test tests::tags::renames_every_tag_and_undoes_as_one_step ... ok test tests::tags::typing_during_a_tag_rename_is_kept ... ok test tests::trash::a_closed_note_is_trashed_without_opening_it ... ok test tests::trash::a_crash_mid_delete_finishes_on_restart_exactly_once ... ok test tests::trash::a_file_deleted_outside_goes_to_the_trash ... ok test tests::trash::a_never_typed_note_is_simply_forgotten ... ok test tests::trash::a_note_deleted_before_its_first_save_keeps_its_text ... ok test tests::trash::delete_and_restore_answer_once_per_job_id ... ok test tests::trash::delete_moves_to_trash_and_undo_brings_it_back ... ok test tests::trash::delete_replay_with_a_stale_index_keeps_the_only_file ... ok test tests::trash::folder_rename_and_outside_move_bursts_keep_every_descendant ... ok test tests::trash::forget_deletes_file_and_history_forever ... ok test tests::trash::half_written_trash_folders_never_hide_a_live_note ... ok test tests::trash::restore_durably_indexes_a_note_without_an_embedded_id ... ok test tests::trash::restore_keeps_id_and_history_and_takes_a_free_name ... ok test tests::trash::restore_with_a_stale_index_really_moves_the_file_back ... ok test tests::trash::the_sweep_empties_only_notes_older_than_thirty_days ... ok test tests::trash::trash_ids_never_reach_another_home ... ok test tests::trash::trash_pages_newest_first ... ok test tests::trash::trashed_notes_leave_search_lists_and_backlinks_and_come_back ... ok test tests::unloading::a_connected_client_keeps_it ... ok test tests::unloading::an_open_note_keeps_it ... ok test tests::unloading::an_unused_home_unloads_and_answers_after ... ok test tests::tags::a_crash_mid_rename_resumes_and_renames_each_tag_once ... ok test tests::writers::every_writer_at_once_with_the_watcher ... ok test text::tests::mixed_endings_take_the_majority ... ok test text::tests::styles_round_trip ... ok test text::tests::uniform_files_round_trip_exactly ... ok test trash::tests::a_note_without_details_still_reads ... ok test trash::tests::details_without_a_note_are_not_a_note ... ok test trash::tests::missing_details_never_age_trash_from_the_notes_old_mtime ... ok test versions::tests::folds_runs_by_author_kind_and_gap ... ok test ydoc::tests::fork_and_merge_keeps_concurrent_typing ... ok test ydoc::tests::reapplying_an_update_changes_nothing ... ok test ydoc::tests::utf16_offsets ... ok test tests::writers::every_writer_at_once_loses_and_doubles_nothing ... ok test result: ok. 195 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 17.54s Running unittests src/main.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_perf-1052020ed1871574) running 6 tests test args::tests::parses_trash_only_mode ... ok test scenarios::soak::tests::slope_of_a_line ... ok test scenarios::storm::tests::typing_stops_before_the_newline_ahead_of_outside_lines ... ok test stats::tests::medians_of_runs_and_pooled_singles ... ok test live::tests::frames_round_trip_and_keystrokes_stay_whole ... ok test stats::tests::summary_max_is_the_largest_observed_sample_across_runs ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/storage-bench.rs (/home/kayg/Developer/calternal-target-125/debug/deps/storage_bench-aaee1f6d1cd60c74) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_plugin_hello-53ca8ca6107399a0) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_prefs-34d1a5e6c699003e) running 9 tests test tests::a_change_on_one_device_reaches_the_other ... ok test tests::a_retry_with_the_same_key_acts_once ... ok test tests::bad_keys_and_big_values_get_friendly_errors ... ok test tests::keys_are_an_area_then_dotted_parts ... ok test tests::people_do_not_share_preferences ... ok test tests::quick_saves_from_two_devices_all_land ... ok test tests::saving_the_same_value_again_is_quiet ... ok test tests::set_then_get_and_survive_a_restart ... ok test tests::at_most_200_keys_but_existing_ones_can_still_change ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_search-ff67ffa340bd9f12) running 13 tests test fuzzy::tests::distance_counts_swaps_as_one ... ok test fuzzy::tests::common_typos_are_fixed ... ok test query::tests::dates_cover_whole_periods ... ok test query::tests::lone_symbols_are_ignored ... ok test read::tests::block_ids_are_found ... ok test query::tests::words_filters_and_phrases ... ok test read::tests::renumbering_shifts_placeholders ... ok test read::tests::excerpts_mark_matches_in_context ... ok test read::tests::text_matches_like_the_index ... ok test text::tests::bigrams_cover_unspaced_scripts ... ok test text::tests::fold_drops_accents_and_case ... ok test text::tests::words_keep_indic_vowel_signs ... ok test schema::tests::an_older_index_gets_its_titles_filled ... ok test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running tests/search.rs (/home/kayg/Developer/calternal-target-125/debug/deps/search-8eb084de93ee7287) running 12 tests test an_empty_search_shows_recent_things ... ok test a_restart_heals_whatever_was_missed ... ok test behind_answers_at_once_and_catching_up_is_announced_once ... ok test every_script_is_searchable ... ok test filters_by_tag_kind_and_date ... ok test odd_input_never_breaks_search ... ok test prefixes_and_typos_are_forgiven ... ok test people_only_ever_find_their_own_things ... ok test results_show_why_they_matched_and_where ... ok test searches_answer_while_indexing_runs ... ok test titles_first_then_recent_use_then_body ... ok test the_index_follows_changes_live ... ok test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.68s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_server-b018c8f458805a08) running 2 tests test rooms::tests::frames_round_trip ... ok test compress::tests::big_answers_are_compressed_and_small_ones_are_not ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/access.rs (/home/kayg/Developer/calternal-target-125/debug/deps/access-b270c95875ec56fa) running 1 test test one_line_per_request_with_no_secrets ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running tests/live.rs (/home/kayg/Developer/calternal-target-125/debug/deps/live-2ebb72560f7b157e) running 6 tests test a_stranger_token_asks_for_a_refresh ... ok test health_answers_without_signing_in ... ok test errors_carry_codes_not_internals ... ok test http_to_journal_to_websocket ... ok test signed_out_calls_get_a_friendly_refusal ... ok test reconnecting_catches_up_from_a_token ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s Running tests/signout.rs (/home/kayg/Developer/calternal-target-125/debug/deps/signout-3993512dadca5b39) running 1 test test signing_a_device_out_closes_its_live_socket ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s Running tests/web.rs (/home/kayg/Developer/calternal-target-125/debug/deps/web-4c0ff73bf5023b52) running 3 tests test caching_and_security_headers_follow_what_each_file_is ... ok test precompressed_files_are_sent_as_they_are_to_whoever_accepts_them ... ok test files_deep_links_and_the_api_live_side_by_side ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_store-dc5119e9b339ecbc) running 8 tests test tests::a_store_with_a_listener_or_a_copy_is_in_use ... ok test tests::commits_are_read_back_in_order ... ok test tests::idempotency_is_saved_with_the_events_or_not_at_all ... ok test tests::live_entries_arrive_in_journal_order ... ok test tests::old_idempotency_records_are_swept_after_commits ... ok test tests::old_idempotency_records_are_swept_when_the_store_opens ... ok test tests::tokens_survive_a_restart_and_reject_strangers ... ok test tests::reads_are_capped ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_testkit-84605cced32b9d05) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_auth running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_backdrops running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_core running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_daily running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_engine running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_fixtures running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_fsio running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_memory running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_migrate_v0 running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_notes running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_plugin_hello running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_prefs running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_search running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_server running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_store running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests calternal_testkit running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s ``` ## Seed-crash test recheck The concurrent run timed out waiting for a client response. It passed alone and in the final two-thread workspace run. Isolated recheck output (verbatim): ```text Compiling calternal-notes v0.1.0 (/home/kayg/Developer/calternal-wt-125/crates/notes) Finished `test` profile [unoptimized + debuginfo] target(s) in 10.94s Running unittests src/lib.rs (/home/kayg/Developer/calternal-target-125/debug/deps/calternal_notes-6ac741039e501ea4) running 1 test test tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 195 filtered out; finished in 0.11s ``` Earlier timeout output (verbatim excerpt): ```text failures: ---- tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text stdout ---- thread 'tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text' (1839961) panicked at crates/notes/src/tests/clients.rs:298:14: the server never answered: Elapsed(()) note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace failures: tests::fanout::a_crash_before_the_seed_is_durable_never_doubles_text test result: FAILED. 193 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 30.22s error: test failed, to rerun pass `-p calternal-notes --lib` ``` ## Missing-details API reproduction Same synthetic note, 1970 mtime, missing Trash details; previous and fixed binaries, respectively (verbatim): ```text {"deleted_ms_from_old_binary": 1000, "retention_cutoff_ms": 1789542450910, "newly_trashed_note_eligible_for_automatic_purge": true} {"deleted_ms_from_review_binary": 1792134743470, "retention_cutoff_ms": 1789542743471, "newly_trashed_note_eligible_for_automatic_purge": false} ``` ## `trash.forget` performance table Five runs per build, 30 samples per run, interleaved on the perf VM HDD. Output (verbatim): ```text | Comparison | Build | Runs × samples | p50 ms | p95 ms | Max ms | |---|---|---:|---:|---:|---:| | initial | Baseline c82161d | 5 × 30 | 32.788 | 91.934 | 164.531 | | initial | Author c37ffe1 | 5 × 30 | 98.529 | 201.999 | 284.030 | | final | Baseline c82161d | 5 × 30 | 33.809 | 71.618 | 131.863 | | final | Review fe53835 | 5 × 30 | 35.835 | 67.174 | 191.339 | ```
Author
Owner

Raw runs (docs/perf/issue-125-delete-review-runs.json), moved out of the repo:

{
  "method": "Median of five run quantiles; max is the largest sample; each run has 30 samples. Same harness and seed; alternating baseline/branch order in each pair.",
  "binaries": {
    "baseline": "d5376a6ad71749a486c8317f75a0f559f9cce52a2095667b222cb286188a70f9",
    "author": "a31dad966480ec110838aea20480b79431dc9b2b4c6cb565023d2b3e8d0e2267",
    "intermediate_review": "e0eb2a90699eaf5bcab761e1078d0f4e9a3f0c628465e3fd62db148c92365bbf",
    "final_review": "23af8ceab029922e50072b95d309d3867e4def643e622970f8d4c8ce4ffd38b8"
  },
  "summaries": {
    "baseline": {
      "trash.delete": {
        "p50": 99.813712,
        "p95": 177.409999,
        "max": 452.267928,
        "run_p50_min": 83.690661,
        "run_p50_max": 108.08744200000001
      },
      "trash.restore": {
        "p50": 94.421284,
        "p95": 279.758702,
        "max": 405.11528000000004,
        "run_p50_min": 80.607656,
        "run_p50_max": 108.940278
      },
      "trash.forget": {
        "p50": 32.788443,
        "p95": 91.934335,
        "max": 164.53130299999998,
        "run_p50_min": 31.497216,
        "run_p50_max": 36.477014000000004
      }
    },
    "author": {
      "trash.delete": {
        "p50": 67.88672199999999,
        "p95": 121.39749599999999,
        "max": 296.743899,
        "run_p50_min": 60.946501,
        "run_p50_max": 78.778251
      },
      "trash.restore": {
        "p50": 61.408576,
        "p95": 133.812035,
        "max": 405.755868,
        "run_p50_min": 55.303967,
        "run_p50_max": 70.18816799999999
      },
      "trash.forget": {
        "p50": 98.529031,
        "p95": 201.999425,
        "max": 284.029602,
        "run_p50_min": 93.050459,
        "run_p50_max": 105.030444
      }
    },
    "baseline-final": {
      "trash.delete": {
        "p50": 97.04610299999999,
        "p95": 201.981944,
        "max": 538.670379,
        "run_p50_min": 94.367581,
        "run_p50_max": 101.01594
      },
      "trash.restore": {
        "p50": 84.50880500000001,
        "p95": 163.53651499999998,
        "max": 414.49308,
        "run_p50_min": 83.732325,
        "run_p50_max": 103.92791999999999
      },
      "trash.forget": {
        "p50": 35.238752,
        "p95": 87.509553,
        "max": 119.258528,
        "run_p50_min": 30.509983000000002,
        "run_p50_max": 36.146993
      }
    },
    "review": {
      "trash.delete": {
        "p50": 63.851051000000005,
        "p95": 139.765233,
        "max": 419.412393,
        "run_p50_min": 60.130072,
        "run_p50_max": 74.68163799999999
      },
      "trash.restore": {
        "p50": 99.35440399999999,
        "p95": 304.30293,
        "max": 481.93354,
        "run_p50_min": 91.882265,
        "run_p50_max": 100.24266
      },
      "trash.forget": {
        "p50": 35.401856,
        "p95": 62.987473,
        "max": 184.608097,
        "run_p50_min": 33.857273,
        "run_p50_max": 36.736484
      }
    },
    "baseline-last": {
      "trash.delete": {
        "p50": 104.815505,
        "p95": 232.289155,
        "max": 397.301884,
        "run_p50_min": 84.524004,
        "run_p50_max": 109.06332
      },
      "trash.restore": {
        "p50": 93.287623,
        "p95": 202.53274199999998,
        "max": 385.032313,
        "run_p50_min": 86.0667,
        "run_p50_max": 98.51323
      },
      "trash.forget": {
        "p50": 33.808721999999996,
        "p95": 71.617568,
        "max": 131.862884,
        "run_p50_min": 32.170692,
        "run_p50_max": 36.982303
      }
    },
    "review-last": {
      "trash.delete": {
        "p50": 66.233272,
        "p95": 131.859286,
        "max": 400.587962,
        "run_p50_min": 62.71997999999999,
        "run_p50_max": 70.144075
      },
      "trash.restore": {
        "p50": 103.526417,
        "p95": 203.344735,
        "max": 403.43172599999997,
        "run_p50_min": 97.946472,
        "run_p50_max": 109.221239
      },
      "trash.forget": {
        "p50": 35.834927,
        "p95": 67.173526,
        "max": 191.338942,
        "run_p50_min": 33.815971,
        "run_p50_max": 37.867098
      }
    }
  },
  "runs": [
    {
      "phase": "initial",
      "variant": "baseline",
      "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1",
      "run": 1,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 150.55132700000001,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 104.86061600000001,
          "p95": 150.122747,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 117.132119,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 32.71025,
          "p95": 113.135913,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 405.11528000000004,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 97.865045,
          "p95": 268.511434,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "initial",
      "variant": "baseline",
      "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1",
      "run": 2,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 424.595905,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 83.690661,
          "p95": 177.409999,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 164.53130299999998,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 36.477014000000004,
          "p95": 145.008136,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 155.825925,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 108.940278,
          "p95": 154.50118099999997,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "initial",
      "variant": "baseline",
      "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1",
      "run": 3,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 253.099641,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 99.2208,
          "p95": 134.817829,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 62.524725000000004,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 32.788443,
          "p95": 53.316100999999996,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 336.354179,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 80.607656,
          "p95": 326.493003,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "initial",
      "variant": "baseline",
      "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1",
      "run": 4,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 188.666587,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 108.08744200000001,
          "p95": 180.91086,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 156.730136,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 34.710468,
          "p95": 91.934335,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 330.056757,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 87.53781,
          "p95": 292.714569,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "initial",
      "variant": "baseline",
      "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1",
      "run": 5,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 452.267928,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 99.813712,
          "p95": 256.446263,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 112.49458299999999,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 31.497216,
          "p95": 75.177122,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 289.299919,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 94.421284,
          "p95": 279.758702,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "initial",
      "variant": "author",
      "code": "c37ffe1031be35e1251eeb070173bd32fa5641e1",
      "run": 1,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 140.759425,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 62.302968,
          "p95": 106.252182,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 284.029602,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 105.030444,
          "p95": 207.008352,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 185.404324,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 60.925009,
          "p95": 170.954496,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "initial",
      "variant": "author",
      "code": "c37ffe1031be35e1251eeb070173bd32fa5641e1",
      "run": 2,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 158.233109,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 68.408619,
          "p95": 155.194408,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 228.200397,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 102.853295,
          "p95": 201.999425,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 109.776658,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 63.112387000000005,
          "p95": 108.938025,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "initial",
      "variant": "author",
      "code": "c37ffe1031be35e1251eeb070173bd32fa5641e1",
      "run": 3,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 296.743899,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 67.88672199999999,
          "p95": 119.761306,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 265.789583,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 93.050459,
          "p95": 226.02503099999998,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 186.83809000000002,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 55.303967,
          "p95": 131.35988,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "initial",
      "variant": "author",
      "code": "c37ffe1031be35e1251eeb070173bd32fa5641e1",
      "run": 4,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 132.61086799999998,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 60.946501,
          "p95": 121.39749599999999,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 232.88837700000002,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 94.01182399999999,
          "p95": 148.991023,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 405.755868,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 70.18816799999999,
          "p95": 207.087072,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "initial",
      "variant": "author",
      "code": "c37ffe1031be35e1251eeb070173bd32fa5641e1",
      "run": 5,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 269.705855,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 78.778251,
          "p95": 239.328366,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 195.291963,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 98.529031,
          "p95": 173.779383,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 138.324738,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 61.408576,
          "p95": 133.812035,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "intermediate",
      "variant": "baseline-final",
      "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1",
      "run": 1,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 315.30987,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 94.61628499999999,
          "p95": 201.981944,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 119.258528,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 36.146993,
          "p95": 104.045973,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 170.66424999999998,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 83.732325,
          "p95": 159.89800000000002,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "intermediate",
      "variant": "baseline-final",
      "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1",
      "run": 2,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 417.231122,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 101.01594,
          "p95": 352.289151,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 58.983149999999995,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 30.509983000000002,
          "p95": 58.729867,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 414.49308,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 103.92791999999999,
          "p95": 366.644726,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "intermediate",
      "variant": "baseline-final",
      "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1",
      "run": 3,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 538.670379,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 94.367581,
          "p95": 159.638033,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 117.537275,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 35.142027999999996,
          "p95": 108.48066100000001,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 286.13966,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 84.50880500000001,
          "p95": 131.108592,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "intermediate",
      "variant": "baseline-final",
      "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1",
      "run": 4,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 304.155246,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 97.04610299999999,
          "p95": 200.019398,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 110.872929,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 35.263214,
          "p95": 87.509553,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 286.49192600000003,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 84.508227,
          "p95": 163.53651499999998,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "intermediate",
      "variant": "baseline-final",
      "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1",
      "run": 5,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 342.318193,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 98.49985799999999,
          "p95": 248.736343,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 104.33013100000001,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 35.238752,
          "p95": 62.934625999999994,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 359.81107499999996,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 102.640438,
          "p95": 304.830074,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "intermediate",
      "variant": "review",
      "code": "5f324078cf7f6dd2a23847daeb24460cca43d72d",
      "run": 1,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 370.438347,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 67.097511,
          "p95": 151.521138,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 173.992753,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 36.736484,
          "p95": 65.709897,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 359.86807799999997,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 99.683498,
          "p95": 140.389355,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "intermediate",
      "variant": "review",
      "code": "5f324078cf7f6dd2a23847daeb24460cca43d72d",
      "run": 2,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 124.11167900000001,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 63.000063,
          "p95": 111.107994,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 94.155286,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 35.392161,
          "p95": 58.587526000000004,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 332.157005,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 100.24266,
          "p95": 304.30293,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "intermediate",
      "variant": "review",
      "code": "5f324078cf7f6dd2a23847daeb24460cca43d72d",
      "run": 3,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 233.57392199999998,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 74.68163799999999,
          "p95": 139.765233,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 184.608097,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 35.950979000000004,
          "p95": 62.987473,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 402.937672,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 99.209342,
          "p95": 328.612215,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "intermediate",
      "variant": "review",
      "code": "5f324078cf7f6dd2a23847daeb24460cca43d72d",
      "run": 4,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 154.991296,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 63.851051000000005,
          "p95": 83.2,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 94.016019,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 35.401856,
          "p95": 78.857302,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 291.379773,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 91.882265,
          "p95": 261.710968,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "intermediate",
      "variant": "review",
      "code": "5f324078cf7f6dd2a23847daeb24460cca43d72d",
      "run": 5,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 419.412393,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 60.130072,
          "p95": 207.883874,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 91.579016,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 33.857273,
          "p95": 58.664155,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 481.93354,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 99.35440399999999,
          "p95": 322.728346,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "final",
      "variant": "baseline-last",
      "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1",
      "run": 1,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 256.409987,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 84.524004,
          "p95": 254.64253300000001,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 92.830961,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 36.982303,
          "p95": 82.88076099999999,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 282.210063,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 86.0667,
          "p95": 174.111599,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "final",
      "variant": "baseline-last",
      "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1",
      "run": 2,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 397.301884,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 106.808159,
          "p95": 232.289155,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 56.529315,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 35.125799,
          "p95": 51.275456,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 377.58128899999997,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 97.415221,
          "p95": 292.52849,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "final",
      "variant": "baseline-last",
      "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1",
      "run": 3,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 272.302911,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 98.487836,
          "p95": 239.40765,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 122.079647,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 32.170692,
          "p95": 109.334036,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 247.722157,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 92.64323900000001,
          "p95": 166.132002,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "final",
      "variant": "baseline-last",
      "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1",
      "run": 4,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 214.21828000000002,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 109.06332,
          "p95": 145.130976,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 131.862884,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 32.611977,
          "p95": 71.617568,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 385.032313,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 93.287623,
          "p95": 202.53274199999998,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "final",
      "variant": "baseline-last",
      "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1",
      "run": 5,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 189.777998,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 104.815505,
          "p95": 150.720224,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 64.196083,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 33.808721999999996,
          "p95": 53.472522000000005,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 316.317947,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 98.51323,
          "p95": 263.080281,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "final",
      "variant": "review-last",
      "code": "fe53835790ccff921af1d3723e2c0cdb5f34579a",
      "run": 1,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 286.004811,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 70.144075,
          "p95": 91.382243,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 89.526688,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 34.4679,
          "p95": 59.318421,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 366.616768,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 105.928538,
          "p95": 328.68199500000003,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "final",
      "variant": "review-last",
      "code": "fe53835790ccff921af1d3723e2c0cdb5f34579a",
      "run": 2,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 400.587962,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 66.926687,
          "p95": 210.591521,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 97.390635,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 35.834927,
          "p95": 67.173526,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 260.187607,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 103.526417,
          "p95": 176.332525,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "final",
      "variant": "review-last",
      "code": "fe53835790ccff921af1d3723e2c0cdb5f34579a",
      "run": 3,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 236.22448300000002,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 62.71997999999999,
          "p95": 170.30595100000002,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 111.531257,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 37.867098,
          "p95": 67.37809899999999,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 243.411178,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 102.68171600000001,
          "p95": 199.52613499999998,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "final",
      "variant": "review-last",
      "code": "fe53835790ccff921af1d3723e2c0cdb5f34579a",
      "run": 4,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 239.85116000000002,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 66.233272,
          "p95": 131.859286,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 132.82765999999998,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 33.815971,
          "p95": 70.46928299999999,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 219.298414,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 109.221239,
          "p95": 203.344735,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    },
    {
      "phase": "final",
      "variant": "review-last",
      "code": "fe53835790ccff921af1d3723e2c0cdb5f34579a",
      "run": 5,
      "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)",
      "metrics": [
        {
          "max": 230.355172,
          "metric": "trash.delete",
          "noise_pct": 0.0,
          "p50": 64.335884,
          "p95": 116.55821399999999,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 191.338942,
          "metric": "trash.forget",
          "noise_pct": 0.0,
          "p50": 35.908526,
          "p95": 49.888408000000005,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        },
        {
          "max": 403.43172599999997,
          "metric": "trash.restore",
          "noise_pct": 0.0,
          "p50": 97.946472,
          "p95": 383.187989,
          "runs": 1,
          "samples": 30,
          "unit": "ms"
        }
      ],
      "failures": []
    }
  ]
}

**Raw runs (`docs/perf/issue-125-delete-review-runs.json`), moved out of the repo:** ```json { "method": "Median of five run quantiles; max is the largest sample; each run has 30 samples. Same harness and seed; alternating baseline/branch order in each pair.", "binaries": { "baseline": "d5376a6ad71749a486c8317f75a0f559f9cce52a2095667b222cb286188a70f9", "author": "a31dad966480ec110838aea20480b79431dc9b2b4c6cb565023d2b3e8d0e2267", "intermediate_review": "e0eb2a90699eaf5bcab761e1078d0f4e9a3f0c628465e3fd62db148c92365bbf", "final_review": "23af8ceab029922e50072b95d309d3867e4def643e622970f8d4c8ce4ffd38b8" }, "summaries": { "baseline": { "trash.delete": { "p50": 99.813712, "p95": 177.409999, "max": 452.267928, "run_p50_min": 83.690661, "run_p50_max": 108.08744200000001 }, "trash.restore": { "p50": 94.421284, "p95": 279.758702, "max": 405.11528000000004, "run_p50_min": 80.607656, "run_p50_max": 108.940278 }, "trash.forget": { "p50": 32.788443, "p95": 91.934335, "max": 164.53130299999998, "run_p50_min": 31.497216, "run_p50_max": 36.477014000000004 } }, "author": { "trash.delete": { "p50": 67.88672199999999, "p95": 121.39749599999999, "max": 296.743899, "run_p50_min": 60.946501, "run_p50_max": 78.778251 }, "trash.restore": { "p50": 61.408576, "p95": 133.812035, "max": 405.755868, "run_p50_min": 55.303967, "run_p50_max": 70.18816799999999 }, "trash.forget": { "p50": 98.529031, "p95": 201.999425, "max": 284.029602, "run_p50_min": 93.050459, "run_p50_max": 105.030444 } }, "baseline-final": { "trash.delete": { "p50": 97.04610299999999, "p95": 201.981944, "max": 538.670379, "run_p50_min": 94.367581, "run_p50_max": 101.01594 }, "trash.restore": { "p50": 84.50880500000001, "p95": 163.53651499999998, "max": 414.49308, "run_p50_min": 83.732325, "run_p50_max": 103.92791999999999 }, "trash.forget": { "p50": 35.238752, "p95": 87.509553, "max": 119.258528, "run_p50_min": 30.509983000000002, "run_p50_max": 36.146993 } }, "review": { "trash.delete": { "p50": 63.851051000000005, "p95": 139.765233, "max": 419.412393, "run_p50_min": 60.130072, "run_p50_max": 74.68163799999999 }, "trash.restore": { "p50": 99.35440399999999, "p95": 304.30293, "max": 481.93354, "run_p50_min": 91.882265, "run_p50_max": 100.24266 }, "trash.forget": { "p50": 35.401856, "p95": 62.987473, "max": 184.608097, "run_p50_min": 33.857273, "run_p50_max": 36.736484 } }, "baseline-last": { "trash.delete": { "p50": 104.815505, "p95": 232.289155, "max": 397.301884, "run_p50_min": 84.524004, "run_p50_max": 109.06332 }, "trash.restore": { "p50": 93.287623, "p95": 202.53274199999998, "max": 385.032313, "run_p50_min": 86.0667, "run_p50_max": 98.51323 }, "trash.forget": { "p50": 33.808721999999996, "p95": 71.617568, "max": 131.862884, "run_p50_min": 32.170692, "run_p50_max": 36.982303 } }, "review-last": { "trash.delete": { "p50": 66.233272, "p95": 131.859286, "max": 400.587962, "run_p50_min": 62.71997999999999, "run_p50_max": 70.144075 }, "trash.restore": { "p50": 103.526417, "p95": 203.344735, "max": 403.43172599999997, "run_p50_min": 97.946472, "run_p50_max": 109.221239 }, "trash.forget": { "p50": 35.834927, "p95": 67.173526, "max": 191.338942, "run_p50_min": 33.815971, "run_p50_max": 37.867098 } } }, "runs": [ { "phase": "initial", "variant": "baseline", "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1", "run": 1, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 150.55132700000001, "metric": "trash.delete", "noise_pct": 0.0, "p50": 104.86061600000001, "p95": 150.122747, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 117.132119, "metric": "trash.forget", "noise_pct": 0.0, "p50": 32.71025, "p95": 113.135913, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 405.11528000000004, "metric": "trash.restore", "noise_pct": 0.0, "p50": 97.865045, "p95": 268.511434, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "initial", "variant": "baseline", "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1", "run": 2, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 424.595905, "metric": "trash.delete", "noise_pct": 0.0, "p50": 83.690661, "p95": 177.409999, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 164.53130299999998, "metric": "trash.forget", "noise_pct": 0.0, "p50": 36.477014000000004, "p95": 145.008136, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 155.825925, "metric": "trash.restore", "noise_pct": 0.0, "p50": 108.940278, "p95": 154.50118099999997, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "initial", "variant": "baseline", "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1", "run": 3, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 253.099641, "metric": "trash.delete", "noise_pct": 0.0, "p50": 99.2208, "p95": 134.817829, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 62.524725000000004, "metric": "trash.forget", "noise_pct": 0.0, "p50": 32.788443, "p95": 53.316100999999996, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 336.354179, "metric": "trash.restore", "noise_pct": 0.0, "p50": 80.607656, "p95": 326.493003, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "initial", "variant": "baseline", "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1", "run": 4, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 188.666587, "metric": "trash.delete", "noise_pct": 0.0, "p50": 108.08744200000001, "p95": 180.91086, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 156.730136, "metric": "trash.forget", "noise_pct": 0.0, "p50": 34.710468, "p95": 91.934335, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 330.056757, "metric": "trash.restore", "noise_pct": 0.0, "p50": 87.53781, "p95": 292.714569, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "initial", "variant": "baseline", "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1", "run": 5, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 452.267928, "metric": "trash.delete", "noise_pct": 0.0, "p50": 99.813712, "p95": 256.446263, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 112.49458299999999, "metric": "trash.forget", "noise_pct": 0.0, "p50": 31.497216, "p95": 75.177122, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 289.299919, "metric": "trash.restore", "noise_pct": 0.0, "p50": 94.421284, "p95": 279.758702, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "initial", "variant": "author", "code": "c37ffe1031be35e1251eeb070173bd32fa5641e1", "run": 1, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 140.759425, "metric": "trash.delete", "noise_pct": 0.0, "p50": 62.302968, "p95": 106.252182, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 284.029602, "metric": "trash.forget", "noise_pct": 0.0, "p50": 105.030444, "p95": 207.008352, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 185.404324, "metric": "trash.restore", "noise_pct": 0.0, "p50": 60.925009, "p95": 170.954496, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "initial", "variant": "author", "code": "c37ffe1031be35e1251eeb070173bd32fa5641e1", "run": 2, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 158.233109, "metric": "trash.delete", "noise_pct": 0.0, "p50": 68.408619, "p95": 155.194408, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 228.200397, "metric": "trash.forget", "noise_pct": 0.0, "p50": 102.853295, "p95": 201.999425, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 109.776658, "metric": "trash.restore", "noise_pct": 0.0, "p50": 63.112387000000005, "p95": 108.938025, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "initial", "variant": "author", "code": "c37ffe1031be35e1251eeb070173bd32fa5641e1", "run": 3, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 296.743899, "metric": "trash.delete", "noise_pct": 0.0, "p50": 67.88672199999999, "p95": 119.761306, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 265.789583, "metric": "trash.forget", "noise_pct": 0.0, "p50": 93.050459, "p95": 226.02503099999998, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 186.83809000000002, "metric": "trash.restore", "noise_pct": 0.0, "p50": 55.303967, "p95": 131.35988, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "initial", "variant": "author", "code": "c37ffe1031be35e1251eeb070173bd32fa5641e1", "run": 4, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 132.61086799999998, "metric": "trash.delete", "noise_pct": 0.0, "p50": 60.946501, "p95": 121.39749599999999, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 232.88837700000002, "metric": "trash.forget", "noise_pct": 0.0, "p50": 94.01182399999999, "p95": 148.991023, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 405.755868, "metric": "trash.restore", "noise_pct": 0.0, "p50": 70.18816799999999, "p95": 207.087072, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "initial", "variant": "author", "code": "c37ffe1031be35e1251eeb070173bd32fa5641e1", "run": 5, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 269.705855, "metric": "trash.delete", "noise_pct": 0.0, "p50": 78.778251, "p95": 239.328366, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 195.291963, "metric": "trash.forget", "noise_pct": 0.0, "p50": 98.529031, "p95": 173.779383, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 138.324738, "metric": "trash.restore", "noise_pct": 0.0, "p50": 61.408576, "p95": 133.812035, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "intermediate", "variant": "baseline-final", "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1", "run": 1, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 315.30987, "metric": "trash.delete", "noise_pct": 0.0, "p50": 94.61628499999999, "p95": 201.981944, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 119.258528, "metric": "trash.forget", "noise_pct": 0.0, "p50": 36.146993, "p95": 104.045973, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 170.66424999999998, "metric": "trash.restore", "noise_pct": 0.0, "p50": 83.732325, "p95": 159.89800000000002, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "intermediate", "variant": "baseline-final", "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1", "run": 2, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 417.231122, "metric": "trash.delete", "noise_pct": 0.0, "p50": 101.01594, "p95": 352.289151, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 58.983149999999995, "metric": "trash.forget", "noise_pct": 0.0, "p50": 30.509983000000002, "p95": 58.729867, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 414.49308, "metric": "trash.restore", "noise_pct": 0.0, "p50": 103.92791999999999, "p95": 366.644726, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "intermediate", "variant": "baseline-final", "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1", "run": 3, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 538.670379, "metric": "trash.delete", "noise_pct": 0.0, "p50": 94.367581, "p95": 159.638033, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 117.537275, "metric": "trash.forget", "noise_pct": 0.0, "p50": 35.142027999999996, "p95": 108.48066100000001, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 286.13966, "metric": "trash.restore", "noise_pct": 0.0, "p50": 84.50880500000001, "p95": 131.108592, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "intermediate", "variant": "baseline-final", "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1", "run": 4, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 304.155246, "metric": "trash.delete", "noise_pct": 0.0, "p50": 97.04610299999999, "p95": 200.019398, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 110.872929, "metric": "trash.forget", "noise_pct": 0.0, "p50": 35.263214, "p95": 87.509553, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 286.49192600000003, "metric": "trash.restore", "noise_pct": 0.0, "p50": 84.508227, "p95": 163.53651499999998, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "intermediate", "variant": "baseline-final", "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1", "run": 5, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 342.318193, "metric": "trash.delete", "noise_pct": 0.0, "p50": 98.49985799999999, "p95": 248.736343, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 104.33013100000001, "metric": "trash.forget", "noise_pct": 0.0, "p50": 35.238752, "p95": 62.934625999999994, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 359.81107499999996, "metric": "trash.restore", "noise_pct": 0.0, "p50": 102.640438, "p95": 304.830074, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "intermediate", "variant": "review", "code": "5f324078cf7f6dd2a23847daeb24460cca43d72d", "run": 1, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 370.438347, "metric": "trash.delete", "noise_pct": 0.0, "p50": 67.097511, "p95": 151.521138, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 173.992753, "metric": "trash.forget", "noise_pct": 0.0, "p50": 36.736484, "p95": 65.709897, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 359.86807799999997, "metric": "trash.restore", "noise_pct": 0.0, "p50": 99.683498, "p95": 140.389355, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "intermediate", "variant": "review", "code": "5f324078cf7f6dd2a23847daeb24460cca43d72d", "run": 2, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 124.11167900000001, "metric": "trash.delete", "noise_pct": 0.0, "p50": 63.000063, "p95": 111.107994, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 94.155286, "metric": "trash.forget", "noise_pct": 0.0, "p50": 35.392161, "p95": 58.587526000000004, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 332.157005, "metric": "trash.restore", "noise_pct": 0.0, "p50": 100.24266, "p95": 304.30293, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "intermediate", "variant": "review", "code": "5f324078cf7f6dd2a23847daeb24460cca43d72d", "run": 3, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 233.57392199999998, "metric": "trash.delete", "noise_pct": 0.0, "p50": 74.68163799999999, "p95": 139.765233, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 184.608097, "metric": "trash.forget", "noise_pct": 0.0, "p50": 35.950979000000004, "p95": 62.987473, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 402.937672, "metric": "trash.restore", "noise_pct": 0.0, "p50": 99.209342, "p95": 328.612215, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "intermediate", "variant": "review", "code": "5f324078cf7f6dd2a23847daeb24460cca43d72d", "run": 4, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 154.991296, "metric": "trash.delete", "noise_pct": 0.0, "p50": 63.851051000000005, "p95": 83.2, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 94.016019, "metric": "trash.forget", "noise_pct": 0.0, "p50": 35.401856, "p95": 78.857302, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 291.379773, "metric": "trash.restore", "noise_pct": 0.0, "p50": 91.882265, "p95": 261.710968, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "intermediate", "variant": "review", "code": "5f324078cf7f6dd2a23847daeb24460cca43d72d", "run": 5, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 419.412393, "metric": "trash.delete", "noise_pct": 0.0, "p50": 60.130072, "p95": 207.883874, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 91.579016, "metric": "trash.forget", "noise_pct": 0.0, "p50": 33.857273, "p95": 58.664155, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 481.93354, "metric": "trash.restore", "noise_pct": 0.0, "p50": 99.35440399999999, "p95": 322.728346, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "final", "variant": "baseline-last", "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1", "run": 1, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 256.409987, "metric": "trash.delete", "noise_pct": 0.0, "p50": 84.524004, "p95": 254.64253300000001, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 92.830961, "metric": "trash.forget", "noise_pct": 0.0, "p50": 36.982303, "p95": 82.88076099999999, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 282.210063, "metric": "trash.restore", "noise_pct": 0.0, "p50": 86.0667, "p95": 174.111599, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "final", "variant": "baseline-last", "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1", "run": 2, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 397.301884, "metric": "trash.delete", "noise_pct": 0.0, "p50": 106.808159, "p95": 232.289155, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 56.529315, "metric": "trash.forget", "noise_pct": 0.0, "p50": 35.125799, "p95": 51.275456, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 377.58128899999997, "metric": "trash.restore", "noise_pct": 0.0, "p50": 97.415221, "p95": 292.52849, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "final", "variant": "baseline-last", "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1", "run": 3, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 272.302911, "metric": "trash.delete", "noise_pct": 0.0, "p50": 98.487836, "p95": 239.40765, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 122.079647, "metric": "trash.forget", "noise_pct": 0.0, "p50": 32.170692, "p95": 109.334036, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 247.722157, "metric": "trash.restore", "noise_pct": 0.0, "p50": 92.64323900000001, "p95": 166.132002, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "final", "variant": "baseline-last", "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1", "run": 4, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 214.21828000000002, "metric": "trash.delete", "noise_pct": 0.0, "p50": 109.06332, "p95": 145.130976, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 131.862884, "metric": "trash.forget", "noise_pct": 0.0, "p50": 32.611977, "p95": 71.617568, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 385.032313, "metric": "trash.restore", "noise_pct": 0.0, "p50": 93.287623, "p95": 202.53274199999998, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "final", "variant": "baseline-last", "code": "c82161d7c6fefcd476d73a92f1fbc2461ef2fef1", "run": 5, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 189.777998, "metric": "trash.delete", "noise_pct": 0.0, "p50": 104.815505, "p95": 150.720224, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 64.196083, "metric": "trash.forget", "noise_pct": 0.0, "p50": 33.808721999999996, "p95": 53.472522000000005, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 316.317947, "metric": "trash.restore", "noise_pct": 0.0, "p50": 98.51323, "p95": 263.080281, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "final", "variant": "review-last", "code": "fe53835790ccff921af1d3723e2c0cdb5f34579a", "run": 1, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 286.004811, "metric": "trash.delete", "noise_pct": 0.0, "p50": 70.144075, "p95": 91.382243, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 89.526688, "metric": "trash.forget", "noise_pct": 0.0, "p50": 34.4679, "p95": 59.318421, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 366.616768, "metric": "trash.restore", "noise_pct": 0.0, "p50": 105.928538, "p95": 328.68199500000003, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "final", "variant": "review-last", "code": "fe53835790ccff921af1d3723e2c0cdb5f34579a", "run": 2, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 400.587962, "metric": "trash.delete", "noise_pct": 0.0, "p50": 66.926687, "p95": 210.591521, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 97.390635, "metric": "trash.forget", "noise_pct": 0.0, "p50": 35.834927, "p95": 67.173526, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 260.187607, "metric": "trash.restore", "noise_pct": 0.0, "p50": 103.526417, "p95": 176.332525, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "final", "variant": "review-last", "code": "fe53835790ccff921af1d3723e2c0cdb5f34579a", "run": 3, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 236.22448300000002, "metric": "trash.delete", "noise_pct": 0.0, "p50": 62.71997999999999, "p95": 170.30595100000002, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 111.531257, "metric": "trash.forget", "noise_pct": 0.0, "p50": 37.867098, "p95": 67.37809899999999, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 243.411178, "metric": "trash.restore", "noise_pct": 0.0, "p50": 102.68171600000001, "p95": 199.52613499999998, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "final", "variant": "review-last", "code": "fe53835790ccff921af1d3723e2c0cdb5f34579a", "run": 4, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 239.85116000000002, "metric": "trash.delete", "noise_pct": 0.0, "p50": 66.233272, "p95": 131.859286, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 132.82765999999998, "metric": "trash.forget", "noise_pct": 0.0, "p50": 33.815971, "p95": 70.46928299999999, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 219.298414, "metric": "trash.restore", "noise_pct": 0.0, "p50": 109.221239, "p95": 203.344735, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] }, { "phase": "final", "variant": "review-last", "code": "fe53835790ccff921af1d3723e2c0cdb5f34579a", "run": 5, "machine": "Linux 6.12.111+deb13-amd64 \u00b7 4 CPUs \u00b7 7.7Gi RAM \u00b7 disk /dev/sdb1 ext4 (rotational)", "metrics": [ { "max": 230.355172, "metric": "trash.delete", "noise_pct": 0.0, "p50": 64.335884, "p95": 116.55821399999999, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 191.338942, "metric": "trash.forget", "noise_pct": 0.0, "p50": 35.908526, "p95": 49.888408000000005, "runs": 1, "samples": 30, "unit": "ms" }, { "max": 403.43172599999997, "metric": "trash.restore", "noise_pct": 0.0, "p50": 97.946472, "p95": 383.187989, "runs": 1, "samples": 30, "unit": "ms" } ], "failures": [] } ] } ```
Author
Owner

Closing during the 26 Oct handover cleanup: The delete/restore fixes landed in dev (PRs #477, #498).

Closing during the 26 Oct handover cleanup: The delete/restore fixes landed in dev (PRs #477, #498).
kayg closed this issue 2026-10-26 08:46:00 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#125
No description provided.