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): run master mypy on a 16 gb runner (#119900)

Raúl Negrón-Otero7843d937b2c0
diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml
index 0d1b6699e7b6..cfb311964bef 100644
--- a/.github/workflows/ci-python.yml
+++ b/.github/workflows/ci-python.yml
@@ -245,7 +245,8 @@ jobs:
timeout-minutes: 30
name: Python code quality (depot-ubuntu-24.04)
- runs-on: depot-ubuntu-24.04
+ # Master runs mypy cold after a dependency change, which needs more than 8 GB.
+ runs-on: ${{ github.event_name == 'pull_request' && 'depot-ubuntu-24.04' || 'depot-ubuntu-24.04-4' }}
# Read by shell guards on the pytest steps below. Those steps sit in a
# `parallel:` block, where step-level `if:` is untested in this repo.
env: