Skip to content

Commit c85cc2a

Browse files
committed
Reset all smoke harness KV state
Clear the smoke harness KV store completely when /_test/reset is called because the harness owns its MemoryKvStore exclusively. This covers idempotence and cached federation documents, keys, signature state, and nonces so each smoke scenario starts from clean federation state. Resolves review comments: #750 (comment) #750 (comment) Assisted-by: Codex:gpt-5.5
1 parent 2416c89 commit c85cc2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/smoke/harness/federation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const federation = createFederation<void>({
1818

1919
export async function resetFederationTestState(): Promise<void> {
2020
const keys = [];
21-
for await (const entry of kv.list(["_fedify", "activityIdempotence"])) {
21+
for await (const entry of kv.list()) {
2222
keys.push(entry.key);
2323
}
2424
await Promise.all(keys.map((key) => kv.delete(key)));

0 commit comments

Comments
 (0)