From 1fbae813dd6e112e22ce1185be0d10952c8b15ac Mon Sep 17 00:00:00 2001 From: Kevin Longe <273747162+kvlonge@users.noreply.github.com> Date: Wed, 18 Nov 2026 00:48:51 +0000 Subject: [PATCH] test(recall): keep writer test sessions inside the retention window The writer test fixtures stamp every invocation 2026-10-19 and ran retention maintenance with a 30-day window, so from 2026-11-18 the session pruned the rows the tests then read, and five writer tests failed on every branch. The test configuration now keeps a retention window the fixed timestamps never leave, so maintenance still runs and prunes nothing. --- crates/sqlbuild-recall/src/writer/tests/helpers.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/sqlbuild-recall/src/writer/tests/helpers.rs b/crates/sqlbuild-recall/src/writer/tests/helpers.rs index 70e34fa417..fe4dc3b54e 100644 --- a/crates/sqlbuild-recall/src/writer/tests/helpers.rs +++ b/crates/sqlbuild-recall/src/writer/tests/helpers.rs @@ -77,6 +77,9 @@ pub(crate) fn chunked(writes: &[(OutputStream, Vec)]) -> Vec<[Option SessionConfig { SessionConfig { @@ -87,7 +90,7 @@ pub(crate) fn config(path: PathBuf, invocation_id: &str) -> SessionConfig { pid: Some(42), ..InvocationContext::default() }, - retention_days: 30, + retention_days: RETENTION_DAYS, shutdown_timeout: Duration::from_secs(5), diagnostics_min_severity: "info".to_owned(), max_output_bytes: None,