From a2e5392f5d3a3c923988801b5ff64d37d5e95432 Mon Sep 17 00:00:00 2001 From: Kevin Codex Date: Wed, 22 Jul 2026 08:50:19 +0800 Subject: [PATCH] test(node): add missing owner_did field to fails-closed seed update PRs #113 and #145 raced: #145 added owner_did to ReceivedRefUpdate and updated its own call sites, but the seed initializer in list_repo_events_fails_closed_when_repo_lookup_errors (added by #113) was never updated, so main fails to compile test targets (E0063). This breaks clippy --all-targets, both test jobs, and MSRV on CI, including the release PR #182. owner_did stays None here on purpose: the test exercises the legacy None-branch slug fallback. --- crates/gitlawb-node/src/test_support.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/gitlawb-node/src/test_support.rs b/crates/gitlawb-node/src/test_support.rs index 6ae4a134..be6fb7b8 100644 --- a/crates/gitlawb-node/src/test_support.rs +++ b/crates/gitlawb-node/src/test_support.rs @@ -1577,6 +1577,7 @@ mod tests { cert_id: None, received_at: Utc::now().to_rfc3339(), from_peer: "peer".to_string(), + owner_did: None, }) .await .expect("seed private gossip update");