: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
fix(ci): run frontend typecheck on a 32 GB runner (#74824)
Raúl Negrón-Otero6a119253729a
diff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.ymlindex 449d1214dcfa..666b1ef74c02 100644--- a/.github/workflows/ci-frontend.yml+++ b/.github/workflows/ci-frontend.yml@@ -583,7 +583,18 @@ jobs:name: Frontend typecheckingneeds: [changes]if: needs.changes.outputs.frontend_code == 'true'- runs-on: ubuntu-latest+ # 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.+ #+ # 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' }}# 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# and the cache miss costs ~5min on top of the master baseline (~10min). 15 is too tight.