: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(ci): emit junit results for MCP integration tests (#77398)
Georges-Antoine Assi953e6c7260ac
diff --git a/.github/workflows/ci-mcp.yml b/.github/workflows/ci-mcp.ymlindex d0e36bd92337..52ce4d367202 100644--- a/.github/workflows/ci-mcp.yml+++ b/.github/workflows/ci-mcp.yml@@ -636,7 +636,9 @@ jobs:# every failure is an already-quarantined flake, fails otherwise.continue-on-error: true# The junit reporter (alongside the default console one) feeds the Trunk upload below.- run: cd services/mcp && pnpm run test:integration -- --reporter=default --reporter=junit --outputFile.junit=junit-integration.xml+ # No `--` before the flags: pnpm forwards it literally, and vitest then treats+ # everything after it as positional args, silently dropping the junit reporter.+ run: cd services/mcp && pnpm run test:integration --reporter=default --reporter=junit --outputFile.junit=junit-integration.xmlenv:TEST_POSTHOG_API_BASE_URL: http://localhost:8000TEST_POSTHOG_PERSONAL_API_KEY: phx_e2e_demo_api_key