From b5322b4a9a6a54cf4d33cbe042f36095abb52c8c Mon Sep 17 00:00:00 2001 From: Dotta Date: Fri, 9 Oct 2026 09:57:43 -0500 Subject: [PATCH] test(slack): isolate second-agent identities across repeated runs Co-Authored-By: Paperclip --- server/src/__tests__/chat-channels.integration.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/__tests__/chat-channels.integration.test.ts b/server/src/__tests__/chat-channels.integration.test.ts index c66432acfb1..c72ccbbcb6a 100644 --- a/server/src/__tests__/chat-channels.integration.test.ts +++ b/server/src/__tests__/chat-channels.integration.test.ts @@ -4184,8 +4184,8 @@ describeEmbeddedPostgres("chat channel control-plane integration", () => { }); it("installs a second bot using the same grant without new manager consent", async () => { const f = await managedFixture(); await f.provision(); - const secondBot = "USECONDMANAGED"; - const secondApp = "ASECONDMANAGED"; + const secondBot = `${f.botId}SECOND`; + const secondApp = `${f.appId}SECOND`; const scopes = buildSlackAppManifest({ app: appDetails, agentName: "Maya", webhookUrl: "https://paperclip.example/hook" }).oauth_config.scopes.bot; const provider: typeof fetch = async (input, init) => { const url = String(input);