Merge branch 't3/fix-linux-ci-failures'

This commit is contained in:
swaits committed 2026-11-20 22:43:10 -07:00
commit 40d818fb5e
18 files changed
+238 -39

No files matched your search

Generated
+28 -13
View File
@@ -142,6 +142,7 @@ dependencies = [
"cipher 0.5.2", "cipher 0.5.2",
"cpubits", "cpubits",
"cpufeatures 0.3.1", "cpufeatures 0.3.1",
"zeroize",
] ]
[[package]] [[package]]
@@ -4263,9 +4264,9 @@ checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f"
[[package]] [[package]]
name = "lzma-rust2" name = "lzma-rust2"
version = "0.21.0" version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fde178a3caf126c440fa15628147772d8ee590a39477d711353fbe2e58a73a5b" checksum = "ef1d73c59a56771343712b22ea5615092c612c16ba291c0979e3105dfeec4890"
dependencies = [ dependencies = [
"sha2 0.11.0", "sha2 0.11.0",
] ]
@@ -7080,7 +7081,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
dependencies = [ dependencies = [
"fastrand", "fastrand",
"getrandom 0.4.3", "getrandom 0.3.4",
"once_cell", "once_cell",
"rustix 1.1.5", "rustix 1.1.5",
"windows-sys 0.61.2", "windows-sys 0.61.2",
@@ -7515,9 +7516,9 @@ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
[[package]] [[package]]
name = "typed-path" name = "typed-path"
version = "0.12.3" version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e28f89b80c87b8fb0cf04ab448d5dd0dd0ade2f8891bae878de66a75a28600e" checksum = "9ce898823d8cd0f028662d2f349694b1af0a5cc9be83f1d213a00d3147445e1e"
[[package]] [[package]]
name = "typeid" name = "typeid"
@@ -9426,6 +9427,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879"
dependencies = [ dependencies = [
"serde", "serde",
"zeroize_derive",
]
[[package]]
name = "zeroize_derive"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.119",
] ]
[[package]] [[package]]
@@ -9467,9 +9480,9 @@ dependencies = [
[[package]] [[package]]
name = "zip" name = "zip"
version = "9.0.2" version = "9.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e2fc56a6707efb066c40aead2409ebb1224e6dde24a074e9fbc78ced500507b" checksum = "a9534624d547e3f516ecde0ed9a70d37788f01d340efcfdd03bf3ea8e163c1d0"
dependencies = [ dependencies = [
"aes", "aes",
"bzip2", "bzip2",
@@ -9480,6 +9493,7 @@ dependencies = [
"getrandom 0.4.3", "getrandom 0.4.3",
"hmac 0.13.0", "hmac 0.13.0",
"indexmap", "indexmap",
"libc",
"lzma-rust2", "lzma-rust2",
"memchr", "memchr",
"nix", "nix",
@@ -9488,6 +9502,7 @@ dependencies = [
"sha1", "sha1",
"time", "time",
"typed-path", "typed-path",
"windows-sys 0.60.2",
"zeroize", "zeroize",
"zopfli", "zopfli",
"zstd", "zstd",
@@ -9519,27 +9534,27 @@ dependencies = [
[[package]] [[package]]
name = "zstd" name = "zstd"
version = "0.14.3" version = "0.14.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db3ae9bf90af6e40197bef767eeefc46ad6397420fe873830bd85e5fbbfb3c70" checksum = "ad5020ab8f27bfc0024ad0a07aed6bf022a16208f479686fbed4fdd0c85eb0b3"
dependencies = [ dependencies = [
"zstd-safe", "zstd-safe",
] ]
[[package]] [[package]]
name = "zstd-safe" name = "zstd-safe"
version = "8.2.0" version = "8.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ded520f16b29e1a9b771c722221b2b0a0398c2316d9bb3c42b458a5414d7434b" checksum = "5a9ea9cc2576c2fcc104e9cec04f46e3ede564f4fbc206831e4ef7e859a4140d"
dependencies = [ dependencies = [
"zstd-sys", "zstd-sys",
] ]
[[package]] [[package]]
name = "zstd-sys" name = "zstd-sys"
version = "2.1.2+zstd.1.5.7" version = "2.1.3+zstd.1.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "481ada9c543b2323cbb7bbdbb5249177fbf0188ed959ed2c15e4b22421c84ed3" checksum = "f729a06d0257428fd9d997ac8db7e1407bd0262ab016b085b36bc52957c0052d"
dependencies = [ dependencies = [
"cc", "cc",
"pkg-config", "pkg-config",
+47 -8
View File
@@ -661,7 +661,7 @@ Apache License 2.0
================================================================================ ================================================================================
Used by: Used by:
lzma-rust2 0.21.0 lzma-rust2 0.25.0
Apache License Apache License
Version 2.0, January 2004 Version 2.0, January 2004
@@ -2522,6 +2522,44 @@ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE. SUCH DAMAGE.
================================================================================
BSD 2-Clause "Simplified" License
================================================================================
Used by:
zstd-sys 2.1.3+zstd.1.5.7
The decoders for legacy formats, in zstd/lib/legacy/, include code under the
2-clause BSD license:
BSD 2-Clause License
Copyright (C) 2013-2016, Yann Collet.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
================================================================================ ================================================================================
BSD 3-Clause "New" or "Revised" License BSD 3-Clause "New" or "Revised" License
================================================================================ ================================================================================
@@ -2628,9 +2666,9 @@ BSD 3-Clause "New" or "Revised" License
================================================================================ ================================================================================
Used by: Used by:
zstd-safe 8.2.0 zstd-safe 8.3.0
zstd-sys 2.1.2+zstd.1.5.7 zstd-sys 2.1.3+zstd.1.5.7
zstd 0.14.3 zstd 0.14.4
BSD 3-Clause License BSD 3-Clause License
@@ -2667,7 +2705,7 @@ BSD 3-Clause "New" or "Revised" License
================================================================================ ================================================================================
Used by: Used by:
zstd-sys 2.1.2+zstd.1.5.7 zstd-sys 2.1.3+zstd.1.5.7
BSD License BSD License
@@ -2897,7 +2935,7 @@ BSD 3-Clause "New" or "Revised" License
================================================================================ ================================================================================
Used by: Used by:
zstd-sys 2.1.2+zstd.1.5.7 zstd-sys 2.1.3+zstd.1.5.7
The auto-generated bindings are under the 3-clause BSD license: The auto-generated bindings are under the 3-clause BSD license:
@@ -6560,6 +6598,7 @@ MIT License
Used by: Used by:
chacha20 0.10.2 chacha20 0.10.2
chacha20poly1305 0.11.0 chacha20poly1305 0.11.0
zeroize_derive 1.5.0
Copyright (c) 2019-2026 The RustCrypto Project Developers Copyright (c) 2019-2026 The RustCrypto Project Developers
@@ -9765,7 +9804,7 @@ Used by:
thiserror-impl 2.0.21 thiserror-impl 2.0.21
thiserror 1.0.69 thiserror 1.0.69
thiserror 2.0.21 thiserror 2.0.21
typed-path 0.12.3 typed-path 0.13.0
typeid 1.0.3 typeid 1.0.3
unic-langid-impl 0.9.6 unic-langid-impl 0.9.6
unic-langid-macros-impl 0.9.6 unic-langid-macros-impl 0.9.6
@@ -10061,7 +10100,7 @@ MIT License
Used by: Used by:
tracing-core 0.1.36 tracing-core 0.1.36
zip 9.0.2 zip 9.8.1
The MIT License (MIT) The MIT License (MIT)
+4 -3
View File
@@ -7,9 +7,10 @@
//! when every one of them has ended; and a job that must not be cut //! when every one of them has ended; and a job that must not be cut
//! off (an owner's change to the books) holds the tab and the window //! off (an owner's change to the books) holds the tab and the window
//! open until it is done. //! open until it is done.
//! SOURCE: plan/p15-app-and-relay.md 3.2 (closing a tab ends what the tab //! SOURCE: plan/p15-app-and-relay.md 3.2 (D-78: a tab per open company,
//! started); WB-GUI-2 (the viewer never abandons a change to the //! and what the tab started ends with it); CONVENTION (a change
//! books). //! an owner has begun on the books is never cut off half-way: the
//! tab and the window wait for it).
//! INVARIANTS: //! INVARIANTS:
//! 1. Every thread started through a [`Spawner`] is counted from before //! 1. Every thread started through a [`Spawner`] is counted from before
//! it starts until it has ended, however it ends (a panic too): the //! it starts until it has ended, however it ends (a panic too): the
+4 -2
View File
@@ -176,8 +176,10 @@ impl TabBar {
// when they don't fit, the "+" stays at the right edge // when they don't fit, the "+" stays at the right edge
// and the tabs scroll. // and the tabs scroll.
let widths: Vec<f32> = tabs.iter().map(|t| tab_width(ui, t)).collect(); let widths: Vec<f32> = tabs.iter().map(|t| tab_width(ui, t)).collect();
let total: f32 = // A fold, not `sum`: the kernel-only check refuses an
widths.iter().sum::<f32>() + widths.len().saturating_sub(1) as f32 * TAB_GAP; // `Iterator::sum` of any type, and these are widths.
let total: f32 = widths.iter().fold(0.0, |w, t| w + t)
+ widths.len().saturating_sub(1) as f32 * TAB_GAP;
let room = (ui.available_width() - PLUS_W - PLUS_GAP).max(0.0); let room = (ui.available_width() - PLUS_W - PLUS_GAP).max(0.0);
let strip_w = total.min(room); let strip_w = total.min(room);
let strip = egui::Rect::from_min_size(bar.min, vec2(strip_w, bar.height())); let strip = egui::Rect::from_min_size(bar.min, vec2(strip_w, bar.height()));
+9 -4
View File
@@ -104,6 +104,7 @@ const FOOTERS: [Footer; 9] = [
/// menu), about 560 events and 110 stored receipts. Removed when dropped. /// menu), about 560 events and 110 stored receipts. Removed when dropped.
struct Fixture { struct Fixture {
_dir: tempfile::TempDir, _dir: tempfile::TempDir,
_plain_dir: tempfile::TempDir,
root: PathBuf, root: PathBuf,
plain: PathBuf, plain: PathBuf,
} }
@@ -153,15 +154,19 @@ impl Fixture {
std::fs::create_dir_all(&root).unwrap(); std::fs::create_dir_all(&root).unwrap();
fill(&root); fill(&root);
// The same books outside the root: no Books menu. // The same books outside the root: no Books menu.
let plain = tempfile::Builder::new() // Outside a data root a company's badge hue is chosen from its
// folder's name (company.rs `hue_key`), so that folder has a fixed
// name here, never the temporary folder's random one: the same
// picture on every machine and every run.
let plain_dir = tempfile::Builder::new()
.prefix("wb-gui-sidenav-plain-") .prefix("wb-gui-sidenav-plain-")
.tempdir() .tempdir()
.unwrap() .unwrap();
.keep(); let plain_book = plain_dir.path().join("wanderland-copy").join("books-data");
let plain_book = plain.join("books-data");
copy_dir(&root, &plain_book); copy_dir(&root, &plain_book);
Fixture { Fixture {
_dir: dir, _dir: dir,
_plain_dir: plain_dir,
root, root,
plain: plain_book, plain: plain_book,
} }
@@ -0,0 +1 @@
264f46e9e8e6513b
@@ -0,0 +1 @@
3a01e3d1c17e7a42
@@ -0,0 +1 @@
d3c3cc6f9e97b02b
@@ -0,0 +1 @@
19867322b240d3af
@@ -0,0 +1 @@
36b4501433dfff25
@@ -0,0 +1 @@
216c4495455951ef
@@ -0,0 +1 @@
e81f5a809e024c55
@@ -0,0 +1 @@
aeace623f1babf2b
@@ -0,0 +1 @@
057c55da25ed99a6
@@ -0,0 +1 @@
43e2533dd7ebc46b
+134 -7
View File
@@ -89,10 +89,12 @@ struct Co {
impl World { impl World {
fn new() -> World { fn new() -> World {
let dir = tempfile::Builder::new() World::named("wb-gui-tabs-")
.prefix("wb-gui-tabs-") }
.tempdir()
.unwrap(); /// A world whose temporary folder's name starts with `prefix`.
fn named(prefix: &str) -> World {
let dir = tempfile::Builder::new().prefix(prefix).tempdir().unwrap();
let home = dir.path().join("home"); let home = dir.path().join("home");
std::fs::create_dir_all(&home).unwrap(); std::fs::create_dir_all(&home).unwrap();
let root = dir.path().join("root"); let root = dir.path().join("root");
@@ -1298,11 +1300,101 @@ fn every_tab_never_writes_into_its_books_in_front_or_not() {
// ---- 8: how the bar looks ---------------------------------------------------- // ---- 8: how the bar looks ----------------------------------------------------
/// Pixels compared where there is a renderer; tolerant of antialiasing /// A shape in words, without where its glyphs happen to lie in egui's font
/// (as the sidebar's are: sidenav.rs). /// atlas: that depends on which text this process laid out first (other
/// tests, in other threads), and no picture shows it. Positions, colours,
/// the text and each glyph's place are all here.
fn describe(shape: &egui::epaint::Shape) -> String {
use egui::epaint::Shape;
match shape {
Shape::Text(t) => {
let mut out = format!(
"Text pos={:?} under={:?} fallback={:?} over={:?} opacity={:?} angle={:?} text={:?}",
t.pos,
t.underline,
t.fallback_color,
t.override_text_color,
t.opacity_factor,
t.angle,
t.galley.job.text,
);
for placed in &t.galley.rows {
out.push_str(&format!(" row@{:?} size={:?}", placed.pos, placed.row.size));
for g in &placed.row.glyphs {
out.push_str(&format!(" {}@{:?}+{:?}", g.chr, g.pos, g.advance_width));
}
for v in &placed.row.visuals.mesh.vertices {
out.push_str(&format!(" v{:?}{:?}", v.pos, v.color));
}
}
out
}
Shape::Vec(v) => v.iter().map(describe).collect::<Vec<_>>().join(" | "),
Shape::Mesh(m) => {
let mut out = String::from("Mesh");
for v in &m.vertices {
out.push_str(&format!(" v{:?}{:?}", v.pos, v.color));
}
out
}
other => format!("{other:?}"),
}
}
/// The shapes the window paints where it can be seen: those whose clip
/// reaches into the window. (The page under a short bar is laid out far
/// below it and holds the time now, "Nov 21 2026 04:26 UTC", which no
/// picture shows: it is clipped away.)
fn shown_shapes(h: &Harness<'_, App>) -> Vec<String> {
let screen = h.ctx.content_rect();
h.output()
.shapes
.iter()
.filter(|s| s.clip_rect.intersects(screen))
.map(|s| format!("{:?} {}", s.clip_rect, describe(&s.shape)))
.collect()
}
/// A hash of every shape the window paints where it can be seen (FNV-1a
/// over their debug form): the same shapes paint the same pixels, on any
/// renderer. What the picture shows (colours, text and where each lies) is
/// in them; how a renderer rasterizes their edges is not.
fn shapes_of(h: &Harness<'_, App>) -> u64 {
let mut hash: u64 = 0xcbf2_9ce4_8422_2325;
for shape in shown_shapes(h) {
for b in shape.bytes() {
hash ^= b as u64;
hash = hash.wrapping_mul(0x100_0000_01b3);
}
}
hash
}
/// The look of the window, compared as sidenav.rs compares its sidebar's:
/// the shapes painted are the check everywhere
/// (`tests/snapshots/<name>.shapes`; `TABS_BLESS=1` writes them), for
/// another renderer rasterizes the same shapes differently (CI's software
/// one differs from a GPU in antialiasing, by thousands of faint pixels
/// and some dozens of strong ones along glyph edges). The pixels
/// (`tests/snapshots/<name>.png`, tolerant of antialiasing) are compared
/// as well on the machine that made them and any with its renderer:
/// `TABS_PIXELS=1`.
fn picture(h: &mut Harness<'_, App>, name: &str) { fn picture(h: &mut Harness<'_, App>, name: &str) {
let dir = Path::new(env!("CARGO_MANIFEST_DIR")).join("tests/snapshots");
let file = dir.join(format!("{name}.shapes"));
let shapes = format!("{:016x}", shapes_of(h));
if std::env::var("TABS_BLESS").is_ok() {
std::fs::write(&file, format!("{shapes}\n")).unwrap();
} else {
let want = std::fs::read_to_string(&file)
.unwrap_or_else(|e| panic!("{}: {e} (TABS_BLESS=1 writes it)", file.display()));
assert_eq!(shapes, want.trim(), "the shapes of {name} changed");
}
if std::env::var("TABS_PIXELS").is_err() {
return;
}
if h.render().is_err() { if h.render().is_err() {
eprintln!("no renderer: {name} not compared"); eprintln!("no renderer: {name} pixels not compared");
return; return;
} }
let options = egui_kittest::SnapshotOptions::new() let options = egui_kittest::SnapshotOptions::new()
@@ -1390,6 +1482,41 @@ fn the_tab_bar_with_one_two_and_many_tabs() {
} }
} }
/// What the window shows depends on the books and the theme alone: not on
/// the name of the temporary folder they sit in, the clock, or the
/// machine. The same companies made in two worlds whose folders are named
/// unlike paint the same shapes and the same pixels (where there is a
/// renderer), with the badge hue chosen from the id of the books.
#[test]
fn the_bar_is_the_same_from_differently_named_folders() {
let names = ["Wanderland Labs LLC", "Fernhill Studio"];
let mut seen: Vec<(u64, Option<Vec<u8>>, Vec<String>)> = Vec::new();
for (prefix, dark) in [
("a-", false),
("zzzz-a-much-longer-name-", false),
("a-", true),
("zzzz-a-much-longer-name-", true),
] {
let w = World::named(prefix);
let mut h = shown(&w, &names, dark, BAR_SIZE);
let keys: Vec<String> = (0..names.len())
.map(|i| h.state().views()[i].hue_key())
.collect();
let pixels = h.render().ok().map(|img| img.into_raw());
seen.push((shapes_of(&h), pixels, keys));
}
for pair in [(0, 1), (2, 3)] {
let (a, b) = (&seen[pair.0], &seen[pair.1]);
assert_eq!(a.2, ["co-0", "co-1"], "a company's hue key is its book id");
assert_eq!(
a.2, b.2,
"the hue key is the book id, not the folder's name"
);
assert_eq!(a.0, b.0, "the shapes differ with the folder's name");
assert!(a.1 == b.1, "the pixels differ with the folder's name");
}
}
#[test] #[test]
fn the_empty_window_and_the_plus_list() { fn the_empty_window_and_the_plus_list() {
for dark in [false, true] { for dark in [false, true] {
+1 -1
View File
@@ -337,7 +337,7 @@ impl Git {
} }
/// This git, sharing `sink` for the lock files it deals with /// This git, sharing `sink` for the lock files it deals with
/// (INVARIANT 5), which the caller takes with [`take_lock_notes`]: /// (INVARIANT 5), which the caller takes with [`Self::take_lock_notes`]:
/// every git made from the same sink reports into it. /// every git made from the same sink reports into it.
#[must_use] #[must_use]
pub fn with_lock_notes(mut self, sink: LockNotes) -> Self { pub fn with_lock_notes(mut self, sink: LockNotes) -> Self {
+1 -1
View File
@@ -74,7 +74,7 @@ every complete line before it changes anything: a cut-off last line is set
aside only when the lines before it pass, so an older version never alters aside only when the lines before it pass, so an older version never alters
newer books. newer books.
*Enforced:* `ledger_store::format` (`JournalFormat::admit`, `declared`, `gate`, `settle`, `declaration`), `journal::ENVELOPE_KEYS`, `JournalLine::parse`, `journal::read_journal_and_format`, `Snapshot::read_new`, `Store::open`, `Snapshot::check_disk`, `Store::declare_journal_format`, `StoreError::NewerJournal` (its `verified` flag picks the message). *Enforced:* `ledger_store::format` (`JournalFormat::admit`, `declared`, `gate`, `settle`, `declaration`), `journal::ENVELOPE_KEYS`, `JournalLine::parse`, `journal::read_journal_and_format`, `Snapshot::read_new`, `Store::open`, `Snapshot::check_disk`, `Store::declare_journal_format`, `StoreError::NewerJournal` (the flag it carries, whether the refused line's own hash was checked, picks the message in `newer_journal_text`).
*Checked:* `ledger-store` `tests/format.rs` (`old_reader_gets_newer_journal`, `a_damaged_line_that_looks_newer_is_corrupt_when_the_next_line_checks_it`, `an_unreadable_last_line_is_reported_as_newer_or_damaged`, `a_newer_line_the_next_line_chains_onto_is_newer_and_intact`, `a_newer_format_frames_its_lines_its_own_way`, `an_unknown_envelope_key_is_newer_and_checked_through`, `a_refused_line_followed_by_a_garbled_line_is_unverified`, `a_line_that_is_not_utf8_is_corrupt_for_the_viewer_and_the_writer`, `an_old_reader_never_repairs_newer_books`, `a_blank_line_is_corrupt_for_the_viewer_and_the_writer`, `damaged_journals_are_still_corrupt`) and the unit tests in `format.rs`; `ledger-gui` `tests/newer_journal.rs`; `ledger-cli` `tests/startup.rs`; the `fuzz_store_replay` target (the writer and the viewer agree on newer versus bad). *Checked:* `ledger-store` `tests/format.rs` (`old_reader_gets_newer_journal`, `a_damaged_line_that_looks_newer_is_corrupt_when_the_next_line_checks_it`, `an_unreadable_last_line_is_reported_as_newer_or_damaged`, `a_newer_line_the_next_line_chains_onto_is_newer_and_intact`, `a_newer_format_frames_its_lines_its_own_way`, `an_unknown_envelope_key_is_newer_and_checked_through`, `a_refused_line_followed_by_a_garbled_line_is_unverified`, `a_line_that_is_not_utf8_is_corrupt_for_the_viewer_and_the_writer`, `an_old_reader_never_repairs_newer_books`, `a_blank_line_is_corrupt_for_the_viewer_and_the_writer`, `damaged_journals_are_still_corrupt`) and the unit tests in `format.rs`; `ledger-gui` `tests/newer_journal.rs`; `ledger-cli` `tests/startup.rs`; the `fuzz_store_replay` target (the writer and the viewer agree on newer versus bad).
**WB-format-2 The journal features: a line an earlier version can't read is **WB-format-2 The journal features: a line an earlier version can't read is