From b6ae85a612f92865e10f5eecb05aeeff85e59993 Mon Sep 17 00:00:00 2001 From: "@permadeath.com" Date: Fri, 4 Sep 2026 07:39:06 -0400 Subject: [PATCH] fix(pds): give the replay test helper the OAuth grant store `Replayed` in `durable.rs`'s tests drives `apply` and `snapshot` directly, and both take the OAuth grant store. It now holds one and passes it, so `cargo check --workspace --all-targets` builds on this crate's test target. Change-Id: I3edcad0a426881d9b0dca7c27ea3c0ab11991ac8 --- crates/didbot-pds/src/durable.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/didbot-pds/src/durable.rs b/crates/didbot-pds/src/durable.rs index 103f0e9f..44afb6c7 100644 --- a/crates/didbot-pds/src/durable.rs +++ b/crates/didbot-pds/src/durable.rs @@ -2258,6 +2258,7 @@ mod tests { commits: MemoryCommitStore, names: NameRegistry, credentials: MemoryAgentTokenStore, + oauth: MemoryOAuthGrantStore, counter: DurableCounter, /// Read off the entries the way `Durable::open` reads it, because no /// store holds it. @@ -2280,6 +2281,7 @@ mod tests { commits: MemoryCommitStore::new(), names: NameRegistry::new(hold()), credentials: MemoryAgentTokenStore::new(), + oauth: MemoryOAuthGrantStore::new(), counter: DurableCounter::new(), floor: 0, } @@ -2299,6 +2301,7 @@ mod tests { &self.commits, &self.names, &self.credentials, + &self.oauth, &self.counter, entry.clone(), ); @@ -2318,6 +2321,7 @@ mod tests { &self.commits, &self.names, &self.credentials, + &self.oauth, &self.counter, self.floor, ) -- 2.51.2