: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(ci): run fork frontend typechecking on a 32 GB runner (#87792)
Georges-Antoine Assi1b7f697b5dc8
diff --git a/.github/actionlint.yaml b/.github/actionlint.yamlindex 2daff72c33a3..5a4f35596d00 100644--- a/.github/actionlint.yaml+++ b/.github/actionlint.yaml@@ -6,6 +6,7 @@ self-hosted-runner:- depot-ubuntu-24.04-4- depot-ubuntu-24.04-8- depot-macos-15+ - ubuntu-24.04-8core# The vendored .github/actions/paths-filter emits one output per filter name at# runtime, but action.yml can only declare the static `changes` output, sodiff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.ymlindex 9c2d2be8ccb7..11aa4f7004ff 100644--- a/.github/workflows/ci-frontend.yml+++ b/.github/workflows/ci-frontend.yml@@ -628,18 +628,19 @@ jobs:name: Frontend typecheckingneeds: [changes]if: needs.changes.outputs.frontend_code == 'true'- # tsgo peaks ~12 GB type-checking the whole frontend, which OOM-kills it on ~6% of runs- # on any 16 GB runner (ubuntu-latest and depot-ubuntu-24.04-4 alike). Peak tracks the- # type graph, not parallelism or lib checking: skipLibCheck is already on, GOMAXPROCS- # and declaration:false change nothing, and dropping all of products/ from include- # removes only 891 of 13703 files because imports pull them back in. 32 GB is the next- # rung on Depot's ladder. Talk to #team-devex before changing.+ # tsgo peaks ~12 GB type-checking the whole frontend, which OOM-kills it on a 16 GB+ # runner (ubuntu-latest and depot-ubuntu-24.04-4 alike). Peak tracks the type graph,+ # not parallelism or lib checking: skipLibCheck is already on, GOMAXPROCS and+ # declaration:false change nothing, and dropping all of products/ from include removes+ # only 891 of 13703 files because imports pull them back in. Both runners below give+ # the job 32 GB. Talk to #team-devex before changing.#- # Forks stay on GitHub-hosted: this job runs `pnpm install`, so a fork PR controls- # lifecycle scripts, and Depot runners inject shared cache credentials ambiently- # (see _rust-build-images.yml, which skips sccache creds for the same reason).- # Fork PRs keep the pre-existing OOM flake; internal PRs and master get the fix.- runs-on: ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false) && 'depot-ubuntu-24.04-8' || 'ubuntu-latest' }}+ # Forks get a GitHub-hosted larger runner instead of Depot: this job runs+ # `pnpm install`, so a fork PR controls lifecycle scripts, and Depot runners inject+ # shared cache credentials ambiently (see _rust-build-images.yml, which skips sccache+ # creds for the same reason). GitHub warns against exposing a larger runner with a+ # static IP range to fork pull requests, so keep this runner's group off static IPs.+ runs-on: ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false) && 'depot-ubuntu-24.04-8' || 'ubuntu-24.04-8core' }}# Kea typegen invalidates on changes to any logic plus everything that depends on it.# For changes to shared core (TaxonomicFilter, Insight, etc.) the dependent set is# large, so the budget must fit a cache miss on top of the baseline build.