Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(data-catalog): (Unbreak master) route metric delete and run jest on tools.yaml (#94659)

Jimmy Zhubf60786b164d
diff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.yml
index a8e7824d2494..9a9282d6f60a 100644
--- a/.github/workflows/ci-frontend.yml
+++ b/.github/workflows/ci-frontend.yml
@@ -168,6 +168,10 @@ jobs:
- 'products/**/*.ts'
- 'products/**/*.tsx'
- 'products/**/*.json'
+ # Jest reads these at runtime, so they are code here even though the
+ # rule above treats YAML as docs: the agent-sync suites assert that a
+ # product's frontend routes every tool the MCP build enables.
+ - 'products/**/mcp/tools.yaml'
# products/desktop is the imported desktop app; it has its own
# desktop-* CI and must not drag this suite onto its PRs
- '!products/desktop/**'
diff --git a/products/data_catalog/frontend/dataCatalogAgentSyncLogic.ts b/products/data_catalog/frontend/dataCatalogAgentSyncLogic.ts
index b241d68949b0..1f7667888988 100644
--- a/products/data_catalog/frontend/dataCatalogAgentSyncLogic.ts
+++ b/products/data_catalog/frontend/dataCatalogAgentSyncLogic.ts
@@ -12,6 +12,7 @@ import { relationshipsLogic } from './relationshipsLogic'
export const METRIC_TOOLS = [
'data-catalog-metric-create',
'data-catalog-metric-update',
+ 'data-catalog-metric-delete-execute',
'data-catalog-metric-approve-execute',
'data-catalog-metrics-refresh-from-insight-create',
]