Skip to content
TypeScript

test(server): the link-card retry test names a new MCP credential (#26143)

Julius Marminge0637f876fc65
diff --git a/apps/server/src/peer/PeerLinkRequests.test.ts b/apps/server/src/peer/PeerLinkRequests.test.ts
index b7353beb649..f59202bb140 100644
--- a/apps/server/src/peer/PeerLinkRequests.test.ts
+++ b/apps/server/src/peer/PeerLinkRequests.test.ts
@@ -567,7 +567,7 @@ it.live("a retry of a pending request returns pending and shows no second card",
),
);
-it.live("a later provider session reusing a clientRequestId gets a card of its own", () =>
+it.live("a new MCP credential reusing a clientRequestId gets a card of its own", () =>
withBoth((a, b) =>
Effect.gen(function* () {
yield* seedThread(a);
diff --git a/apps/server/src/peer/PeerLinkRequests.ts b/apps/server/src/peer/PeerLinkRequests.ts
index cdae6661383..15f48778732 100644
--- a/apps/server/src/peer/PeerLinkRequests.ts
+++ b/apps/server/src/peer/PeerLinkRequests.ts
@@ -63,7 +63,8 @@ export class PeerLinkRequests extends Context.Service<
{
/**
* Shows a link card in the calling thread and returns at once. A retry
- * with the same clientRequestId returns the card's current outcome.
+ * with the same clientRequestId and MCP credential returns the card's
+ * current outcome.
*/
readonly request: (
scope: McpInvocationContext.McpInvocationScope,