: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(cloud-agent): added ruff, ty and gh upgrade (#61417)
Alessandro Pogliaghi6871087f3c7c
diff --git a/products/tasks/backend/sandbox/images/Dockerfile.sandbox-base b/products/tasks/backend/sandbox/images/Dockerfile.sandbox-baseindex 37bd0bf3b6ec..2c940c5abe4d 100644--- a/products/tasks/backend/sandbox/images/Dockerfile.sandbox-base+++ b/products/tasks/backend/sandbox/images/Dockerfile.sandbox-base@@ -61,8 +61,19 @@ RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - && \# Install additional language package managersRUN npm install -g yarn pnpm typescript ts-node nodemon+# Install ruff and ty+# uv comes from its pinned, registry-verified official image (same pattern as the+# main Dockerfile) rather than piping a remote installer script to a shell.+COPY --from=ghcr.io/astral-sh/uv:0.11.14 /uv /uvx /usr/local/bin/+ARG RUFF_VERSION=0.14.11+ARG TY_VERSION=0.0.29+RUN UV_TOOL_BIN_DIR=/usr/local/bin uv tool install "ruff==${RUFF_VERSION}" && \+ UV_TOOL_BIN_DIR=/usr/local/bin uv tool install "ty==${TY_VERSION}" && \+ ruff --version && \+ ty --version+# Install GitHub CLI without adding another apt repository refresh.-ARG GH_CLI_VERSION=2.92.0+ARG GH_CLI_VERSION=2.93.0RUN set -eux; \arch="$(dpkg --print-architecture)"; \curl -fsSL -o /tmp/gh.deb \