Skip to content

Commit 4a94982

Browse files
isshaddadTrigger.dev RepoOps
authored andcommitted
fix(cli): send MCP feedback to the Cloud analytics project
Fixes `submit_feedback` sending reports to the wrong analytics project. No change to the tool itself or to what it sends. Mono-RevId: eb0722ee8651cbd59f3991c8579636ecdba7102d
1 parent 218efa6 commit 4a94982

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

‎.changeset/mcp-feedback-project.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"trigger.dev": patch
3+
---
4+
5+
Reports filed with the `submit_feedback` MCP tool now reach the Trigger.dev team. They were being sent, but not somewhere anyone was reading.

‎packages/cli-v3/src/consts.ts‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ export const COMMAND_NAME = "trigger.dev";
22
export const CLOUD_WEB_URL = "https://cloud.trigger.dev";
33
export const CLOUD_API_URL = "https://api.trigger.dev";
44

5-
// Write-only project key, the same one the dashboard already ships to every browser.
6-
export const POSTHOG_PROJECT_KEY = "phc_LFH7kJiGhdIlnO22hTAKgHpaKhpM8gkzWAFvHmf5vfS";
5+
// Write-only project key for the Cloud analytics project. Not the default in the webapp's
6+
// env schema - that one is the self-hosted fallback, and reports sent with it land in the
7+
// self-hosters project instead.
8+
export const POSTHOG_PROJECT_KEY = "phc_9aSDbJCaDUMdZdHxxMPTvcj7A9fsl3mCgM1RBPmPsl7";
79
export const POSTHOG_INGEST_HOST = "https://eu.i.posthog.com";

0 commit comments

Comments
 (0)