@@ -34,13 +34,18 @@ const NO_FETCH_INSTRUMENTATION = [
3434// In the ESM tests Deno cannot find `PrismaClient`, a CommonJS export of `@prisma/client`.
3535const PRISMA_ESM_INTEROP = [ 'suites/tracing/prisma-orm-v5/test.ts' , 'suites/tracing/prisma-orm-v6/test.ts' ] ;
3636
37+ // In the CJS tests Deno cannot `require()` a dependency that ships only ES modules: `graphql` 17,
38+ // and `escape-string-regexp` under `mastra`. The ESM tests of `mastra` also check `fetch` spans.
39+ const REQUIRE_OF_ESM_ONLY_DEPENDENCY = [ 'suites/tracing/graphql-tracing-channel/**' , 'suites/tracing/mastra/test.ts' ] ;
40+
3741// Some or all tests fail on Deno, cause not investigated yet. In most AI suites the span
3842// streaming test fails. `apollo-graphql` (CJS tests only) and `mongodb` fail on Deno 2.8.3 (the CI
3943// version) and pass on Deno 2.9.0.
4044const NOT_TRIAGED = [
4145 'suites/tracing/anthropic/test.ts' ,
4246 'suites/tracing/apollo-graphql/**' ,
4347 'suites/tracing/fastify/test.ts' ,
48+ 'suites/tracing/flue/test.ts' ,
4449 'suites/tracing/google-genai/test.ts' ,
4550 'suites/tracing/groq/test.ts' ,
4651 'suites/tracing/http-client-spans/http-strip-query/test.ts' ,
@@ -53,6 +58,7 @@ const NOT_TRIAGED = [
5358 'suites/tracing/mongoose-v5/test.ts' ,
5459 'suites/tracing/mysql/test.ts' ,
5560 'suites/tracing/openai/test.ts' ,
61+ 'suites/tracing/openai/v7/test.ts' ,
5662 'suites/tracing/orchestrion-lazy-registration/test.ts' ,
5763 'suites/tracing/prisma-orm-v7/test.ts' ,
5864 'suites/tracing/together-ai/test.ts' ,
@@ -67,6 +73,7 @@ export const NODE_SUITES_EXCLUDE = [
6773 ...NODE_ONLY ,
6874 ...NO_FETCH_INSTRUMENTATION ,
6975 ...PRISMA_ESM_INTEROP ,
76+ ...REQUIRE_OF_ESM_ONLY_DEPENDENCY ,
7077 ...NOT_TRIAGED ,
7178 ...FLAKY ,
7279] ;
0 commit comments