@devries-cameron20 / composio Mirror · read-only / commits / 4b695f15d
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 03:37 UTC

fix(cli-e2e): align auth config fixtures with the client (#5460)

- Return the toolkit’s existing fake `managed_app_id` in auth-config list and retrieve responses. - Return `keyring_routed: false` in retrieve responses, matching the 2.1.35 client schema. - Unblock the CLI scratch contract suite for #5450. Once this lands, the managed updater can regenerate #5450 from `next`. ## Verification The two auth-config contract cases failed locally with #5450’s frozen 2.1.35 pin before this change. All 31 fake-backend contract tests passed after it with both 2.1.35 and the current 2.1.33 pin. Fake-backend typecheck and Prettier passed. <!-- sdk-release-note-exempt: This change only updates the fake backend used by CLI end-to-end tests. -->

Alberto Schiabel committed Nov 18, 2026 at 20:30 UTC 4b695f15de7589fa5672eb2f64926f3c8dea0529
1 file changed +2 -1
ts/e2e-tests/cli/fake-backend/src/routes.ts
+2 -1
@@ -217,6 +217,7 @@ const authConfigItem = (authConfig: AuthConfig, world: World) => ({
217 name: authConfig.name,
218 auth_scheme: 'OAUTH2',
219 is_composio_managed: true,
220 + managed_app_id: `ma_${authConfig.toolkit}`,
221 status: 'ENABLED',
222 created_by: MEMBER.id,
223 created_at: SEEDED_AT,
@@ -871,7 +872,7 @@ const DEVELOPER_ROUTES: ReadonlyArray<Route> = [
872 candidate => candidate.id === params.id && candidate.projectLabel === project!.label
873 );
874 return authConfig
874 - ? { json: authConfigItem(authConfig, world) }
875 + ? { json: { ...authConfigItem(authConfig, world), keyring_routed: false } }
876 : notFound(`Auth config ${params.id} not found`, 'AuthConfig_NotFound');
877 },
878 }),