: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
chore(today): deprecate the pinned numbers workflow patch (#129887)
Shy Altera68aab3f65db
diff --git a/products/today/backend/temporal/workflows.py b/products/today/backend/temporal/workflows.pyindex ad618a17f719..2930f41413c3 100644--- a/products/today/backend/temporal/workflows.py+++ b/products/today/backend/temporal/workflows.py@@ -34,7 +34,8 @@ class ComputeTodayHighlightsWorkflow(PostHogWorkflow):@temporalio.workflow.runasync def run(self, inputs: ComputeHighlightsInputs) -> None:sources = asyncio.gather(*(_run_source(inputs, name) for name in inputs.source_names))- if temporalio.workflow.patched(PINNED_NUMBERS_PATCH) and inputs.pins:+ temporalio.workflow.deprecate_patch(PINNED_NUMBERS_PATCH)+ if inputs.pins:results, pinned = await asyncio.gather(sources, _resolve_pins(inputs))else:results, pinned = await sources, ResolvePinsResult(found="[]")