: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(cymbal): run local resolution process on the cymbal binary (#64805)
Hugues Pouillot9ca9d40323de
diff --git a/bin/start-rust-service b/bin/start-rust-serviceindex 10a034a4d9ae..5de7202bcc54 100755--- a/bin/start-rust-service+++ b/bin/start-rust-service@@ -125,8 +125,10 @@ case "$RS_SVC" in# output is still noisy. Unconditional export — flox activate exports its# own RUST_LOG, so a conditional default would silently inherit that and# match no cymbal modules.- export RUST_LOG=info,cymbal=debug,cymbal_resolution=debug,cymbal_proto=debug,rdkafka=warn+ export RUST_LOG=info,cymbal=debug,cymbal_proto=debug,rdkafka=warnexport RUST_BACKTRACE=1+ # Default mode, but set explicitly now that cymbal is multi-mode.+ export CYMBAL_MODE=processingexport OBJECT_STORAGE_BUCKET=posthogexport FRAME_CACHE_TTL_SECONDS=1export FRAME_RESULT_TTL_MINUTES=0@@ -157,15 +159,16 @@ case "$RS_SVC" in;;cymbal-resolution)- # Symbol-resolution service that cymbal offloads to via cymbal.resolution.v1.- # Uses cymbal::app_context::build_symbol_resolver which only connects to- # Postgres and S3 — NOT Kafka, NOT Redis, NOT signals. That's why this- # block is so much narrower than the cymbal block: anything cymbal needs- # for the fingerprinting / issue path is genuinely irrelevant here.+ # The cymbal binary in resolution mode (gRPC symbol-resolution service that+ # cymbal offloads to). Resolution mode only needs Postgres and S3 — no+ # Kafka/Redis/signals — hence the narrower env than the cymbal block.+ export CYMBAL_MODE=resolution+ # Run the `cymbal` binary; mode is selected via CYMBAL_MODE above.+ export DEV_RUST_SVC_OVERRIDE=cymbal# Only cymbal crates at debug; everything else at info. Unconditional# export — flox activate exports its own RUST_LOG, so a conditional# default would silently inherit that and match no cymbal modules.- export RUST_LOG=info,cymbal=debug,cymbal_resolution=debug,cymbal_proto=debug,rdkafka=warn+ export RUST_LOG=info,cymbal=debug,cymbal_proto=debug,rdkafka=warnexport RUST_BACKTRACE=1# S3 / MinIO bucket for symbol-file fetches.export OBJECT_STORAGE_BUCKET=posthog