: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(tasks): log blobless clone decision (#85514)
Alessandro Pogliaghi242273f5f1cd
diff --git a/products/tasks/backend/temporal/process_task/activities/provision_sandbox.py b/products/tasks/backend/temporal/process_task/activities/provision_sandbox.pyindex 540a9b565b57..a8017e922253 100644--- a/products/tasks/backend/temporal/process_task/activities/provision_sandbox.py+++ b/products/tasks/backend/temporal/process_task/activities/provision_sandbox.py@@ -892,10 +892,12 @@ async def create_sandbox_for_repository(input: CreateSandboxForRepositoryInput)@asyncifydef clone_repository_in_sandbox(input: CloneRepositoryInSandboxInput) -> CloneRepositoryInSandboxOutput:ctx = input.context+ blobless_clone = _is_blobless_signals_clone_enabled(ctx)with log_activity_execution("clone_repository_in_sandbox",sandbox_id=input.sandbox_id,+ blobless_clone=blobless_clone,**ctx.to_log_context(),):emit_agent_log(ctx.run_id, "debug", f"Cloning {input.repository} into sandbox")@@ -903,7 +905,6 @@ def clone_repository_in_sandbox(input: CloneRepositoryInSandboxInput) -> CloneRestate = ctx.state or {}is_resume = bool(state.get("resume_from_run_id") or state.get("handoff_resumed"))- blobless_clone = _is_blobless_signals_clone_enabled(ctx)with StepTimer("repository_clone",