From 637d4cf7ef792622830d49446283d3c578c4f09c Mon Sep 17 00:00:00 2001 From: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> Date: Sun, 7 Sep 2025 15:04:15 +0200 Subject: [PATCH] fix: Missing DB traces in instrumentation (#13429) * chore: Fix issue with missing DB traces * Fix missing DB traces in Medusa package Fixes an issue related to missing database traces in the Medusa package. --- .changeset/olive-news-fix.md | 5 +++++ packages/medusa/src/commands/start.ts | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/olive-news-fix.md diff --git a/.changeset/olive-news-fix.md b/.changeset/olive-news-fix.md new file mode 100644 index 0000000000..72ef952891 --- /dev/null +++ b/.changeset/olive-news-fix.md @@ -0,0 +1,5 @@ +--- +"@medusajs/medusa": patch +--- + +chore: Fix issue with missing DB traces diff --git a/packages/medusa/src/commands/start.ts b/packages/medusa/src/commands/start.ts index dc844c7cfe..6a13cfeca6 100644 --- a/packages/medusa/src/commands/start.ts +++ b/packages/medusa/src/commands/start.ts @@ -146,7 +146,9 @@ async function start(args: { }) { const { port = 9000, host, directory, types } = args - const container = await initializeContainer(directory) + const container = await initializeContainer(directory, { + skipDbConnection: true, + }) const logger = container.resolve(ContainerRegistrationKeys.LOGGER) async function internalStart(generateTypes: boolean) {