From 0a2c80e2cfc2b9470ace4d6e4b752bc34c6dd7f9 Mon Sep 17 00:00:00 2001 From: clover caruso Date: Sat, 10 Oct 2026 20:55:50 -0700 Subject: [PATCH] test: await the held section edit receipt before reading its queue Section::apply submits work without waiting; written establishes the durable queue boundary before status assertions. Refs #117 Assisted-by: gpt-6.1-sol --- crates/notebook/src/background.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/notebook/src/background.rs b/crates/notebook/src/background.rs index f0e57294928e541930e8aabcfdf7b62619ff733d..c856043c4a9fd0c94d2c0ebbd83e163368a20701 100644 --- a/crates/notebook/src/background.rs +++ b/crates/notebook/src/background.rs @@ -1518,6 +1518,7 @@ mod tests { }, ) .unwrap(); + section.written().unwrap(); let pending = section.pending().unwrap(); assert_eq!(pending.len(), 1); let status = background.status().remove(0).1; -- 2.54.0