From a0df23a86c40eba0bd522b860b7bcda64b937390 Mon Sep 17 00:00:00 2001 From: MrScripty Date: Fri, 6 Nov 2026 13:12:15 -0700 Subject: [PATCH] test(importer): give the custody guard stage-proof worker a 30s liveness bound custody_guard_hf_stage_proofs_preserve_followers_and_refuse_stale_use runs a chain of real durable acquisition-store updates, metadata writes and finalize attempts inside one worker, bounded by a 5s timeout. It takes about 0.6s on Linux, but Windows CI runners intermittently exceed 5s and fail with Elapsed(()) (#109 and #113 runs on 2026-11-06). The timeout only guards against a hung worker, so raise it to 30s. All custody, stale-proof and follower assertions are unchanged. Co-Authored-By: Claude Opus 5.5 --- rust/crates/pumas-core/src/model_library/importer.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rust/crates/pumas-core/src/model_library/importer.rs b/rust/crates/pumas-core/src/model_library/importer.rs index ce4c98a6..90b6c644 100644 --- a/rust/crates/pumas-core/src/model_library/importer.rs +++ b/rust/crates/pumas-core/src/model_library/importer.rs @@ -2588,7 +2588,9 @@ mod tests { ) .unwrap(); scope.install_gated(prepared).unwrap().start(); - tokio::time::timeout(std::time::Duration::from_secs(5), result) + // Liveness bound only: the worker performs several real durable-store + // and metadata writes, which can exceed 5s on Windows CI file systems. + tokio::time::timeout(std::time::Duration::from_secs(30), result) .await .unwrap() .unwrap()