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.

chore(ci): install protoc for the MCP CI rust build (#89294)

Alessandro Pogliaghi90bbd8916962
diff --git a/.github/workflows/ci-mcp.yml b/.github/workflows/ci-mcp.yml
index dac3bbf1bb47..105b7218daac 100644
--- a/.github/workflows/ci-mcp.yml
+++ b/.github/workflows/ci-mcp.yml
@@ -97,6 +97,7 @@ jobs:
- 'posthog/user_scripts/latest_user_defined_function.xml'
# Composite actions used by the workflow
- '.github/actions/commit-snapshots/**'
+ - '.github/actions/setup-protoc/**'
# hogli db setup (db:restore-test-db). Scoped to the
# modules that command actually imports — framework,
# manifest, boot modules, db_schema — so unrelated hogli
@@ -424,6 +425,11 @@ jobs:
- name: Install sqlx-cli
uses: ./.github/actions/setup-sqlx-cli
+ # feature-flags depends on usage-ingestion-proto, whose build script
+ # compiles .proto files and needs protoc on PATH.
+ - name: Install protoc
+ uses: ./.github/actions/setup-protoc
+
- name: Build Rust flags service
working-directory: rust
env: