: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): stop seeding a turbo tarball no desktop job reads (#92963)
Raúl Negrón-Oterodda7614e235a
diff --git a/.github/actions/desktop-restore-turbo-cache/action.yml b/.github/actions/desktop-restore-turbo-cache/action.ymldeleted file mode 100644index 7e491ca68bdc..000000000000--- a/.github/actions/desktop-restore-turbo-cache/action.yml+++ /dev/null@@ -1,13 +0,0 @@-name: Restore desktop turbo cache-description: Restore-only turbo cache for products/desktop. desktop-warm-caches.yml seeds it on master pushes; PR workflows never save, so per-PR entries don't pollute the cache store.--runs:- using: composite- steps:- - name: Restore turbo cache- uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0- with:- path: products/desktop/.turbo/cache- key: desktop-turbo-${{ github.sha }}- restore-keys: |- desktop-turbo-diff --git a/.github/scripts/trunk-impacted-targets.js b/.github/scripts/trunk-impacted-targets.jsindex 4073c6fe2939..b9f926a37d13 100644--- a/.github/scripts/trunk-impacted-targets.js+++ b/.github/scripts/trunk-impacted-targets.js@@ -470,7 +470,6 @@ const TRIPWIRE_RULES = [['.github/actions/trunk-quarantine-gate/**', FULLSTACK],['.github/actions/setup-emsdk/**', FULLSTACK],['.github/actions/desktop-build-agent-release/**', DESKTOP],- ['.github/actions/desktop-restore-turbo-cache/**', DESKTOP],['.github/actions/setup-python-cached/**', PYTHON],// Also used by ci-scripts.yml, which is universal, so the node lane is the// only radius left to claim.diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.ymlindex 717a3628cd0a..3b937be9b91c 100644--- a/.github/workflows/desktop-build.yml+++ b/.github/workflows/desktop-build.yml@@ -102,10 +102,6 @@ jobs:key: desktop-pnpm-${{ runner.os }}-${{ hashFiles('products/desktop/pnpm-lock.yaml') }}restore-keys: desktop-pnpm-${{ runner.os }}-- # Only dependency builds are cached, tests themselves always run.- - name: Restore turbo cache- uses: ./.github/actions/desktop-restore-turbo-cache-- name: Install dependenciesrun: pnpm install --frozen-lockfileenv:diff --git a/.github/workflows/desktop-test.yml b/.github/workflows/desktop-test.ymlindex c8e40f903503..72cc548b320a 100644--- a/.github/workflows/desktop-test.yml+++ b/.github/workflows/desktop-test.yml@@ -109,10 +109,6 @@ jobs:key: desktop-pnpm-${{ runner.os }}-${{ hashFiles('products/desktop/pnpm-lock.yaml') }}restore-keys: desktop-pnpm-${{ runner.os }}-- # Only dependency builds are cached, tests themselves always run.- - name: Restore turbo cache- uses: ./.github/actions/desktop-restore-turbo-cache-- name: Install dependenciesrun: pnpm install --frozen-lockfileenv:@@ -184,10 +180,6 @@ jobs:restore-keys: |electron-${{ runner.os }}-- # Seeded on Linux; turbo artifacts are plain JS, so cross-OS restore is fine.- - name: Restore turbo cache- uses: ./.github/actions/desktop-restore-turbo-cache-- name: Install dependenciesrun: pnpm install --frozen-lockfilediff --git a/.github/workflows/desktop-typecheck.yml b/.github/workflows/desktop-typecheck.ymlindex dac3195610d3..5a4262d4dd14 100644--- a/.github/workflows/desktop-typecheck.yml+++ b/.github/workflows/desktop-typecheck.yml@@ -102,10 +102,6 @@ jobs:key: desktop-pnpm-${{ runner.os }}-${{ hashFiles('products/desktop/pnpm-lock.yaml') }}restore-keys: desktop-pnpm-${{ runner.os }}-- # Only dependency builds are cached, the typecheck itself always runs.- - name: Restore turbo cache- uses: ./.github/actions/desktop-restore-turbo-cache-- name: Install dependenciesrun: pnpm install --frozen-lockfileenv:diff --git a/.github/workflows/desktop-warm-caches.yml b/.github/workflows/desktop-warm-caches.ymlindex 1e934fd1f57e..fc72f1d70a8f 100644--- a/.github/workflows/desktop-warm-caches.yml+++ b/.github/workflows/desktop-warm-caches.yml@@ -4,6 +4,10 @@ name: Desktop Warm Caches# and the desktop PR workflows are restore-only. This job seeds every cache# they restore. Saves are allowed here because the triggers are# default-branch-scoped (push to master + manual dispatch).+#+# Turbo artifacts are not seeded here. Depot runners preset TURBO_API, which+# points turbo at Depot Cache as its remote cache. Turbo runs fetch and store+# task outputs there on their own.on:push:@@ -55,24 +59,11 @@ jobs:key: desktop-pnpm-${{ runner.os }}-${{ hashFiles('products/desktop/pnpm-lock.yaml') }}restore-keys: desktop-pnpm-${{ runner.os }}-- # No restore-keys: a fresh save per commit keeps the cache from growing- # forever, at the cost of a cold build on every master push.- - name: Cache turbo artifacts- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0- with:- path: products/desktop/.turbo/cache- key: desktop-turbo-${{ github.sha }}-- name: Install dependenciesrun: pnpm install --frozen-lockfileenv:SKIP_ELECTRON_REBUILD: '1'- - name: Seed turbo cache (build + typecheck)- run: |- pnpm run build:deps- pnpm run typecheck-macos:runs-on: depot-macos-26timeout-minutes: 30