From 802e95bfcbd0db02de3667f1b394225570bb806c Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Thu, 30 Oct 2025 16:52:11 -0400 Subject: [PATCH 1/5] chore: small change in mcp-worker/ to trigger worker deploy --- mcp-worker/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcp-worker/package.json b/mcp-worker/package.json index 3ebc16fb..2a171085 100644 --- a/mcp-worker/package.json +++ b/mcp-worker/package.json @@ -1,6 +1,6 @@ { "name": "@devcycle/mcp-worker", - "version": "1.0.0", + "version": "1.0.1", "private": true, "type": "module", "scripts": { From d4fdf1e4b4e1b40d72eacf8fe4ab0b30a5b3f2e0 Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Thu, 30 Oct 2025 16:57:38 -0400 Subject: [PATCH 2/5] fix: increase timeout for flaky diff tests in CI --- src/commands/diff/diff.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/diff/diff.test.ts b/src/commands/diff/diff.test.ts index b2343aff..0addda1f 100644 --- a/src/commands/diff/diff.test.ts +++ b/src/commands/diff/diff.test.ts @@ -14,7 +14,7 @@ describe('diff', () => { ]) .it('runs against a test file', (ctx) => { expect(ctx.stdout).toMatchSnapshot() - }) + }, 60000) test.stdout() .command([ @@ -27,7 +27,7 @@ describe('diff', () => { ]) .it('runs against a test file with a custom matcher', (ctx) => { expect(ctx.stdout).toMatchSnapshot() - }) + }, 60000) test.stdout() .command([ From 9231f0ca343db486f0177ad76034b296e881ab76 Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Thu, 30 Oct 2025 17:01:27 -0400 Subject: [PATCH 3/5] chore: run yarn format --- server.json | 36 +++++++++++++++++----------------- src/commands/diff/diff.test.ts | 20 +++++++++++++------ 2 files changed, 32 insertions(+), 24 deletions(-) diff --git a/server.json b/server.json index bf311f0e..3354ee99 100644 --- a/server.json +++ b/server.json @@ -1,21 +1,21 @@ { - "$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json", - "name": "com.devcycle/mcp", - "description": "DevCycle MCP server for feature flag management", - "version": "6.1.4", - "repository": { - "url": "https://github.com/DevCycleHQ/cli", - "source": "github" - }, - "websiteUrl": "https://docs.devcycle.com/cli-mcp/mcp-getting-started", - "remotes": [ - { - "type": "streamable-http", - "url": "https://mcp.devcycle.com/mcp" + "$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json", + "name": "com.devcycle/mcp", + "description": "DevCycle MCP server for feature flag management", + "version": "6.1.4", + "repository": { + "url": "https://github.com/DevCycleHQ/cli", + "source": "github" }, - { - "type": "sse", - "url": "https://mcp.devcycle.com/sse" - } - ] + "websiteUrl": "https://docs.devcycle.com/cli-mcp/mcp-getting-started", + "remotes": [ + { + "type": "streamable-http", + "url": "https://mcp.devcycle.com/mcp" + }, + { + "type": "sse", + "url": "https://mcp.devcycle.com/sse" + } + ] } diff --git a/src/commands/diff/diff.test.ts b/src/commands/diff/diff.test.ts index 0addda1f..11f16c84 100644 --- a/src/commands/diff/diff.test.ts +++ b/src/commands/diff/diff.test.ts @@ -12,9 +12,13 @@ describe('diff', () => { './test-utils/fixtures/diff/e2e', '--no-api', ]) - .it('runs against a test file', (ctx) => { - expect(ctx.stdout).toMatchSnapshot() - }, 60000) + .it( + 'runs against a test file', + (ctx) => { + expect(ctx.stdout).toMatchSnapshot() + }, + 60000, + ) test.stdout() .command([ @@ -25,9 +29,13 @@ describe('diff', () => { 'js=checkVariable\\(\\w*,\\s*([^,)]*)', '--no-api', ]) - .it('runs against a test file with a custom matcher', (ctx) => { - expect(ctx.stdout).toMatchSnapshot() - }, 60000) + .it( + 'runs against a test file with a custom matcher', + (ctx) => { + expect(ctx.stdout).toMatchSnapshot() + }, + 60000, + ) test.stdout() .command([ From 492df07d95a55f94f82bc485d2e7be585786f62d Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Thu, 30 Oct 2025 17:03:38 -0400 Subject: [PATCH 4/5] fix: increase global test timeout to 90s for slow CI environments --- src/commands/diff/diff.test.ts | 20 ++++++-------------- vitest.config.ts | 2 +- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/src/commands/diff/diff.test.ts b/src/commands/diff/diff.test.ts index 11f16c84..b2343aff 100644 --- a/src/commands/diff/diff.test.ts +++ b/src/commands/diff/diff.test.ts @@ -12,13 +12,9 @@ describe('diff', () => { './test-utils/fixtures/diff/e2e', '--no-api', ]) - .it( - 'runs against a test file', - (ctx) => { - expect(ctx.stdout).toMatchSnapshot() - }, - 60000, - ) + .it('runs against a test file', (ctx) => { + expect(ctx.stdout).toMatchSnapshot() + }) test.stdout() .command([ @@ -29,13 +25,9 @@ describe('diff', () => { 'js=checkVariable\\(\\w*,\\s*([^,)]*)', '--no-api', ]) - .it( - 'runs against a test file with a custom matcher', - (ctx) => { - expect(ctx.stdout).toMatchSnapshot() - }, - 60000, - ) + .it('runs against a test file with a custom matcher', (ctx) => { + expect(ctx.stdout).toMatchSnapshot() + }) test.stdout() .command([ diff --git a/vitest.config.ts b/vitest.config.ts index 8a4e44f8..7f3de1f0 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -9,7 +9,7 @@ export default defineConfig({ watch: false, passWithNoTests: false, reporters: 'default', - testTimeout: 30000, + testTimeout: 90000, hookTimeout: 30000, }, }) From e0252b8f1d6d7c42dcc2c8bd8868964a44ee2824 Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Thu, 30 Oct 2025 17:09:31 -0400 Subject: [PATCH 5/5] chore: trigger cf build --- mcp-worker/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcp-worker/package.json b/mcp-worker/package.json index 2a171085..3ebc16fb 100644 --- a/mcp-worker/package.json +++ b/mcp-worker/package.json @@ -1,6 +1,6 @@ { "name": "@devcycle/mcp-worker", - "version": "1.0.1", + "version": "1.0.0", "private": true, "type": "module", "scripts": {