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): pin Depot runner versions (#72396)

Raúl Negrón-Otero535f1fe95f0c
diff --git a/.depot/workflows/ci-backend-update-test-timing.yml b/.depot/workflows/ci-backend-update-test-timing.yml
index 39bf818f8fa1..a123325c0fe0 100644
--- a/.depot/workflows/ci-backend-update-test-timing.yml
+++ b/.depot/workflows/ci-backend-update-test-timing.yml
@@ -13,7 +13,7 @@ permissions:
jobs:
refresh-depot-test-durations:
name: Refresh .test_durations in Depot Cache
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 10
steps:
- name: Get app token
diff --git a/.depot/workflows/ci-backend.yml b/.depot/workflows/ci-backend.yml
index 3fc30e5bef26..5223114e7c3a 100644
--- a/.depot/workflows/ci-backend.yml
+++ b/.depot/workflows/ci-backend.yml
@@ -149,7 +149,7 @@ jobs:
# — hence the rest of the graph — only runs when it is true.
sample:
if: vars.CI_DEPOT_SHADOW_PERCENT != '' && vars.CI_DEPOT_SHADOW_PERCENT != '0'
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 5
name: '[optional, does not block merge] Sample run'
outputs:
@@ -187,7 +187,7 @@ jobs:
# at percent 0/unset), which cascades the whole workflow off.
needs: sample
if: needs.sample.outputs.sampled == 'true'
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 5
name: Determine need to run backend and migration checks
# Set job outputs to values from filter step
@@ -403,7 +403,7 @@ jobs:
detect-snapshot-mode:
name: Detect snapshot mode
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 5
needs: [changes]
if: needs.changes.outputs.backend == 'true'
@@ -443,7 +443,7 @@ jobs:
needs: changes
# Not on master push: master only primes the schema cache; this cascades the matrices off.
if: needs.changes.outputs.backend == 'true' && github.event_name != 'push'
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 20
name: Discover product tests
outputs:
@@ -553,7 +553,7 @@ jobs:
github.event.pull_request.draft == true &&
!contains(github.event.pull_request.labels.*.name, 'run-ci-backend') &&
needs.changes.outputs.backend == 'true'
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 5
outputs:
mode: ${{ steps.classify.outputs.mode }}
@@ -727,7 +727,7 @@ jobs:
needs: [turbo-discover]
if: >-
!cancelled() && needs.turbo-discover.result == 'success' && needs.turbo-discover.outputs.matrix != '[]' && needs.turbo-discover.outputs.matrix != ''
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 5
outputs:
include: ${{ steps.build.outputs.include }}
@@ -756,7 +756,7 @@ jobs:
needs: [changes, turbo-discover, detect-snapshot-mode, build-product-test-matrix, get_clickhouse_versions]
if: >-
!cancelled() && (github.event.pull_request.draft != true || contains(github.event.pull_request.labels.*.name, 'run-ci-backend')) && needs.turbo-discover.result == 'success' && needs.build-product-test-matrix.result == 'success' && needs.build-product-test-matrix.outputs.include != '[]' && needs.build-product-test-matrix.outputs.include != ''
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 40
name: Product tests (${{ matrix.group }}, events schema ${{ matrix.new-events-schema && 'json' || 'legacy' }})
strategy:
@@ -906,8 +906,8 @@ jobs:
permissions:
contents: read
pull-requests: read # list PR files for the deleted-migration check
- name: Repo checks (depot-ubuntu-latest)
- runs-on: depot-ubuntu-latest
+ name: Repo checks (depot-ubuntu-24.04)
+ runs-on: depot-ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
@@ -959,8 +959,8 @@ jobs:
github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name == github.repository
timeout-minutes: 5
- name: Validate product.yaml owners (depot-ubuntu-latest)
- runs-on: depot-ubuntu-latest
+ name: Validate product.yaml owners (depot-ubuntu-24.04)
+ runs-on: depot-ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Get app token
@@ -1014,7 +1014,7 @@ jobs:
if: needs.changes.outputs.backend == 'true' || needs.changes.outputs.migrations == 'true' || needs.changes.outputs.openapi_types == 'true'
timeout-minutes: 60
name: Validate migrations and OpenAPI types
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
@@ -1243,7 +1243,7 @@ jobs:
!cancelled() &&
needs.changes.outputs.backend == 'true' &&
needs.get_clickhouse_versions.result == 'success'
- runs-on: depot-ubuntu-latest # was: ubuntu-latest. Mapped standard GitHub runner to Depot equivalent.
+ runs-on: depot-ubuntu-24.04 # was: ubuntu-latest. Mapped standard GitHub runner to Depot equivalent.
timeout-minutes: 5
outputs:
include: ${{ steps.build.outputs.include }}
@@ -1523,7 +1523,7 @@ jobs:
# Match canonical's runner size. The shadow restores the same master-primed
# schema cache (turbo-discover key + check-migrations save), so shards skip
# migrations exactly like canonical once Depot's cache is warmed by a master run.
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
strategy:
fail-fast: false
matrix:
@@ -1931,7 +1931,7 @@ jobs:
name: Get ClickHouse versions
needs: [changes]
if: needs.changes.outputs.backend == 'true' && github.event_name != 'push'
- runs-on: depot-ubuntu-latest # was: ubuntu-latest. Mapped standard GitHub runner to Depot equivalent.
+ runs-on: depot-ubuntu-24.04 # was: ubuntu-latest. Mapped standard GitHub runner to Depot equivalent.
timeout-minutes: 5
outputs:
# Oldest supported version as plain string (for comparisons)
@@ -2030,7 +2030,7 @@ jobs:
repo-checks,
]
name: '[optional, does not block merge] Django Tests Pass'
- runs-on: depot-ubuntu-latest # was: ubuntu-latest. Mapped standard GitHub runner to Depot equivalent.
+ runs-on: depot-ubuntu-24.04 # was: ubuntu-latest. Mapped standard GitHub runner to Depot equivalent.
timeout-minutes: 5
# always() collates skipped/failed matrix jobs; gated on the sampling result so it
# doesn't spin up a lone runner when this run was sampled out (or the shadow is off).
diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml
index 82ae3cd9ffff..2daff72c33a3 100644
--- a/.github/actionlint.yaml
+++ b/.github/actionlint.yaml
@@ -2,11 +2,10 @@ self-hosted-runner:
labels:
- depot-ubuntu-22.04
- depot-ubuntu-22.04-4
+ - depot-ubuntu-24.04
- depot-ubuntu-24.04-4
- - depot-ubuntu-latest
- - depot-ubuntu-latest-4
- - depot-ubuntu-latest-8
- - depot-macos-latest
+ - depot-ubuntu-24.04-8
+ - depot-macos-15
# The vendored .github/actions/paths-filter emits one output per filter name at
# runtime, but action.yml can only declare the static `changes` output, so
diff --git a/.github/workflows/cd-agent-proxy-image.yml b/.github/workflows/cd-agent-proxy-image.yml
index 90e5280b94c0..0efa9c1d2853 100644
--- a/.github/workflows/cd-agent-proxy-image.yml
+++ b/.github/workflows/cd-agent-proxy-image.yml
@@ -17,7 +17,7 @@ jobs:
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch'
)
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 30
permissions:
contents: read
diff --git a/.github/workflows/cd-llm-analytics-image.yml b/.github/workflows/cd-llm-analytics-image.yml
index 0ca4edc5c4a5..0fd4ea4b4e8f 100644
--- a/.github/workflows/cd-llm-analytics-image.yml
+++ b/.github/workflows/cd-llm-analytics-image.yml
@@ -49,7 +49,7 @@ jobs:
github.event_name == 'workflow_dispatch' ||
contains(github.event.pull_request.labels.*.name, 'build-llm-analytics-image')
)
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 10
permissions:
id-token: write
diff --git a/.github/workflows/cd-mcp-image.yml b/.github/workflows/cd-mcp-image.yml
index 0d2376f2dd83..3964327778a6 100644
--- a/.github/workflows/cd-mcp-image.yml
+++ b/.github/workflows/cd-mcp-image.yml
@@ -31,7 +31,7 @@ jobs:
github.event_name == 'workflow_dispatch' ||
contains(github.event.pull_request.labels.*.name, 'build-mcp-image')
)
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 30
permissions:
contents: read
diff --git a/.github/workflows/cd-sandbox-base-image.yml b/.github/workflows/cd-sandbox-base-image.yml
index c6ceccb874af..c86508e8ba14 100644
--- a/.github/workflows/cd-sandbox-base-image.yml
+++ b/.github/workflows/cd-sandbox-base-image.yml
@@ -168,7 +168,7 @@ jobs:
github.event_name == 'workflow_dispatch' ||
contains(github.event.pull_request.labels.*.name, 'build-tasks-sandbox-image')
)
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 10
permissions:
id-token: write # allow issuing OIDC tokens for this workflow run
diff --git a/.github/workflows/ci-agent-container.yml b/.github/workflows/ci-agent-container.yml
index e82f2c078d5b..82895547574e 100644
--- a/.github/workflows/ci-agent-container.yml
+++ b/.github/workflows/ci-agent-container.yml
@@ -85,7 +85,7 @@ jobs:
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && needs.changes.outputs.agent_files == 'true') ||
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'push' && github.ref == 'refs/heads/master' && needs.changes.outputs.agent_files == 'true' && github.repository_owner == 'PostHog' && vars.CD_DEPLOY_ENABLED == 'true')
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 30
permissions:
id-token: write
diff --git a/.github/workflows/ci-agents.yml b/.github/workflows/ci-agents.yml
index 49646f4ea1f9..b6c2f9f325e1 100644
--- a/.github/workflows/ci-agents.yml
+++ b/.github/workflows/ci-agents.yml
@@ -67,7 +67,7 @@ jobs:
if: needs.changes.outputs.agents == 'true'
name: ${{ matrix.workspace }} typecheck + lint + format
needs: changes
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 10
strategy:
fail-fast: false
@@ -107,7 +107,7 @@ jobs:
if: needs.changes.outputs.agents == 'true'
name: ${{ matrix.workspace }} unit tests
needs: changes
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 10
# agent-tests is the e2e suite — runs in the separate `e2e-tests`
# job below with the docker-compose stack.
@@ -201,7 +201,7 @@ jobs:
if: needs.changes.outputs.agents == 'true'
name: agent-tests e2e (Postgres + Redis + Kafka + SeaweedFS)
needs: changes
- runs-on: depot-ubuntu-latest-4
+ runs-on: depot-ubuntu-24.04-4
timeout-minutes: 25 # vitest runs file-serial; ~100s locally
env:
COMPOSE_FILE: docker-compose.dev.yml
diff --git a/.github/workflows/ci-backend-update-test-timing.yml b/.github/workflows/ci-backend-update-test-timing.yml
index 27f8598b1be4..60c33fb2863a 100644
--- a/.github/workflows/ci-backend-update-test-timing.yml
+++ b/.github/workflows/ci-backend-update-test-timing.yml
@@ -15,7 +15,7 @@ on:
# Every 6 hours: merge the latest CI timing artifacts and refresh the Actions cache
# that ci-backend / ci-dagster restore for sharding. Frequent refresh keeps splits
# balanced even after large batches of new tests land mid-day. Cheap (~90s on
- # depot-ubuntu-latest, no test execution).
+ # depot-ubuntu-24.04, no test execution).
- cron: '0 3,9,15,21 * * *'
# Monthly (1st): same merge, but this run also commits the .test_durations fallback
# via PR. The committed file is only the cold-start / cache-miss floor, so it doesn't
@@ -31,7 +31,7 @@ permissions:
jobs:
collect-and-merge:
name: Collect timing data from CI artifacts
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 10
steps:
- name: Get app token
diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml
index 0f2947f1279d..ebdb17db241d 100644
--- a/.github/workflows/ci-backend.yml
+++ b/.github/workflows/ci-backend.yml
@@ -76,7 +76,7 @@ jobs:
# Job to decide if we should run backend ci
# See .github/actions/paths-filter/README.md for filter semantics
changes:
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 5
name: Determine need to run backend and migration checks
# Set job outputs to values from filter step
@@ -308,7 +308,7 @@ jobs:
detect-snapshot-mode:
name: Detect snapshot mode
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 5
needs: [changes]
if: needs.changes.outputs.backend == 'true'
@@ -349,7 +349,7 @@ jobs:
turbo-discover:
needs: changes
if: needs.changes.outputs.backend == 'true'
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 20
name: Discover product tests
outputs:
@@ -660,7 +660,7 @@ jobs:
needs.turbo-discover.result == 'success' &&
needs.turbo-discover.outputs.matrix != '[]' &&
needs.turbo-discover.outputs.matrix != ''
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 5
outputs:
include: ${{ steps.build.outputs.include }}
@@ -706,7 +706,7 @@ jobs:
needs.build-product-test-matrix.result == 'success' &&
needs.build-product-test-matrix.outputs.include != '[]' &&
needs.build-product-test-matrix.outputs.include != ''
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 40
name: Product tests (${{ matrix.group }}, events schema ${{ matrix.new-events-schema && 'json' || 'legacy' }})
strategy:
@@ -1021,8 +1021,8 @@ jobs:
permissions:
contents: read
pull-requests: read # list PR files for the deleted-migration check
- name: Repo checks (depot-ubuntu-latest)
- runs-on: depot-ubuntu-latest
+ name: Repo checks (depot-ubuntu-24.04)
+ runs-on: depot-ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -1228,7 +1228,7 @@ jobs:
pull-requests: write
name: Validate migrations
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
env:
DOCKERHUB_USERNAME: ${{ vars.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -1861,7 +1861,7 @@ jobs:
contents: read
name: Validate OpenAPI types
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
env:
DOCKERHUB_USERNAME: ${{ vars.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -2079,7 +2079,7 @@ jobs:
!cancelled() &&
needs.changes.outputs.backend == 'true' &&
needs.get_clickhouse_versions.result == 'success'
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 5
outputs:
include: ${{ steps.build.outputs.include }}
@@ -2378,7 +2378,7 @@ jobs:
name: Django tests – ${{ matrix.segment }}${{ matrix.compat && ' compat' || '' }} (persons-on-events ${{ matrix.person-on-events && 'on' || 'off' }}, events schema ${{ matrix.new-events-schema && 'json' || 'legacy' }}), Py ${{ matrix.python-version }}, ${{ matrix.clickhouse-server-image }} (${{matrix.group}}/${{ matrix.concurrency }})
# Runner type is performance-critical — consult #team-devex before changing
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
strategy:
fail-fast: false
@@ -2999,7 +2999,7 @@ jobs:
name: Get ClickHouse versions
needs: [changes]
if: needs.changes.outputs.backend == 'true'
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 5
outputs:
# Oldest supported version as plain string (for comparisons)
diff --git a/.github/workflows/ci-dagster.yml b/.github/workflows/ci-dagster.yml
index c3f49c981b1c..231de1a42ed9 100644
--- a/.github/workflows/ci-dagster.yml
+++ b/.github/workflows/ci-dagster.yml
@@ -249,7 +249,7 @@ jobs:
matrix:
include: ${{ fromJson(needs.changes.outputs.matrix_include || '[]') }}
if: needs.changes.outputs.dagster == 'true'
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
env:
DOCKERHUB_USERNAME: ${{ vars.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
diff --git a/.github/workflows/ci-e2e-playwright.yml b/.github/workflows/ci-e2e-playwright.yml
index ef20716bf6cc..ce7569e37701 100644
--- a/.github/workflows/ci-e2e-playwright.yml
+++ b/.github/workflows/ci-e2e-playwright.yml
@@ -445,7 +445,7 @@ jobs:
# 8-core depot: 18% avg / 30% peak memory observed on 16-core runs (#46853 noted
# the workload "is not resource constrained" even after sharding was removed).
# Talk to #team-devex before changing.
- runs-on: depot-ubuntu-latest-8
+ runs-on: depot-ubuntu-24.04-8
timeout-minutes: 45
permissions:
contents: read
diff --git a/.github/workflows/ci-mcp.yml b/.github/workflows/ci-mcp.yml
index cde84648b8e5..06bf839f4059 100644
--- a/.github/workflows/ci-mcp.yml
+++ b/.github/workflows/ci-mcp.yml
@@ -236,8 +236,8 @@ jobs:
if-no-files-found: ignore
integration-tests:
- name: Integration Tests (depot-ubuntu-latest-4)
- runs-on: depot-ubuntu-latest-4
+ name: Integration Tests (depot-ubuntu-24.04-4)
+ runs-on: depot-ubuntu-24.04-4
needs: changes
timeout-minutes: 30
# Skipped on drafts: these boot the full PostHog backend and trigger on any
diff --git a/.github/workflows/ci-ml-mirror-image-scrub-container.yml b/.github/workflows/ci-ml-mirror-image-scrub-container.yml
index 13edd8fba268..13961570516d 100644
--- a/.github/workflows/ci-ml-mirror-image-scrub-container.yml
+++ b/.github/workflows/ci-ml-mirror-image-scrub-container.yml
@@ -86,7 +86,7 @@ jobs:
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && needs.changes.outputs.scrub_files == 'true') ||
(github.event_name == 'workflow_dispatch' && github.repository_owner == 'PostHog' && vars.CD_DEPLOY_ENABLED == 'true') ||
(github.event_name == 'push' && github.ref == 'refs/heads/master' && needs.changes.outputs.scrub_files == 'true' && github.repository_owner == 'PostHog' && vars.CD_DEPLOY_ENABLED == 'true')
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 30
permissions:
id-token: write # allow issuing OIDC tokens for this workflow run
diff --git a/.github/workflows/ci-nodejs-container.yml b/.github/workflows/ci-nodejs-container.yml
index b48cbb8d9146..46531ee1d1db 100644
--- a/.github/workflows/ci-nodejs-container.yml
+++ b/.github/workflows/ci-nodejs-container.yml
@@ -80,7 +80,7 @@ jobs:
if: |
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && needs.changes.outputs.node_files == 'true') ||
(github.event_name == 'push' && github.ref == 'refs/heads/master' && needs.changes.outputs.node_files == 'true' && github.repository_owner == 'PostHog' && vars.CD_DEPLOY_ENABLED == 'true')
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 30
permissions:
id-token: write # allow issuing OIDC tokens for this workflow run
diff --git a/.github/workflows/ci-nodejs.yml b/.github/workflows/ci-nodejs.yml
index baa8c6f5a3c8..1b6b8ac9f4fc 100644
--- a/.github/workflows/ci-nodejs.yml
+++ b/.github/workflows/ci-nodejs.yml
@@ -126,9 +126,9 @@ jobs:
lint:
if: needs.changes.outputs.nodejs == 'true'
- name: Node.js Code quality (depot-ubuntu-latest)
+ name: Node.js Code quality (depot-ubuntu-24.04)
needs: changes
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -161,9 +161,9 @@ jobs:
build:
if: needs.changes.outputs.nodejs == 'true'
- name: Node.js Build (depot-ubuntu-latest)
+ name: Node.js Build (depot-ubuntu-24.04)
needs: changes
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -194,9 +194,9 @@ jobs:
tests:
if: needs.changes.outputs.nodejs == 'true'
- name: Node.js Tests ${{matrix.shard}}/3 (depot-ubuntu-latest-4)
+ name: Node.js Tests ${{matrix.shard}}/3 (depot-ubuntu-24.04-4)
needs: changes
- runs-on: depot-ubuntu-latest-4
+ runs-on: depot-ubuntu-24.04-4
timeout-minutes: 30 # We know tests don't take this long
strategy:
fail-fast: false
@@ -437,9 +437,9 @@ jobs:
rust_ingestion_e2e:
if: needs.changes.outputs.nodejs == 'true'
- name: Rust ingestion consumer Node API e2e (depot-ubuntu-latest-4)
+ name: Rust ingestion consumer Node API e2e (depot-ubuntu-24.04-4)
needs: changes
- runs-on: depot-ubuntu-latest-4
+ runs-on: depot-ubuntu-24.04-4
timeout-minutes: 30
env:
DOCKERHUB_USERNAME: ${{ vars.DOCKERHUB_USER }}
diff --git a/.github/workflows/ci-paths-filter.yml b/.github/workflows/ci-paths-filter.yml
index 69af66d355c3..8444ead49924 100644
--- a/.github/workflows/ci-paths-filter.yml
+++ b/.github/workflows/ci-paths-filter.yml
@@ -16,7 +16,7 @@ permissions:
jobs:
verify:
name: Test and verify committed bundle
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 10
defaults:
run:
diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml
index 4633eefb9a8a..cc3dd5fd1869 100644
--- a/.github/workflows/ci-python.yml
+++ b/.github/workflows/ci-python.yml
@@ -80,8 +80,8 @@ jobs:
if: needs.changes.outputs.python == 'true'
timeout-minutes: 30
- name: Python code quality (depot-ubuntu-latest)
- runs-on: depot-ubuntu-latest
+ name: Python code quality (depot-ubuntu-24.04)
+ runs-on: depot-ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
diff --git a/.github/workflows/ci-recording-rasterizer-container.yml b/.github/workflows/ci-recording-rasterizer-container.yml
index 7bda24099140..7a04f4e222a7 100644
--- a/.github/workflows/ci-recording-rasterizer-container.yml
+++ b/.github/workflows/ci-recording-rasterizer-container.yml
@@ -88,7 +88,7 @@ jobs:
(github.event_name == 'workflow_dispatch' && github.repository_owner == 'PostHog' && vars.CD_DEPLOY_ENABLED == 'true') ||
(github.event_name == 'schedule' && github.repository_owner == 'PostHog' && vars.CD_DEPLOY_ENABLED == 'true') ||
(github.event_name == 'push' && github.ref == 'refs/heads/master' && needs.changes.outputs.rasterizer_files == 'true' && github.repository_owner == 'PostHog' && vars.CD_DEPLOY_ENABLED == 'true')
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 30
permissions:
id-token: write # allow issuing OIDC tokens for this workflow run
diff --git a/.github/workflows/ci-rust-flags-integration.yml b/.github/workflows/ci-rust-flags-integration.yml
index 2c31b2fd1903..3d4d1e4ad85d 100644
--- a/.github/workflows/ci-rust-flags-integration.yml
+++ b/.github/workflows/ci-rust-flags-integration.yml
@@ -49,8 +49,8 @@ env:
jobs:
rust-flags-integration:
- name: Rust /flags Integration Tests (depot-ubuntu-latest)
- runs-on: depot-ubuntu-latest
+ name: Rust /flags Integration Tests (depot-ubuntu-24.04)
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 30
services:
diff --git a/.github/workflows/ci-storybook.yml b/.github/workflows/ci-storybook.yml
index e97d35a6c02a..26b586622087 100644
--- a/.github/workflows/ci-storybook.yml
+++ b/.github/workflows/ci-storybook.yml
@@ -161,8 +161,8 @@ jobs:
echo "matrix=$MATRIX" >> $GITHUB_OUTPUT
build-storybook:
- name: Build Storybook (depot-ubuntu-latest)
- runs-on: depot-ubuntu-latest
+ name: Build Storybook (depot-ubuntu-24.04)
+ runs-on: depot-ubuntu-24.04
# The Vite build normally takes ~3.5 minutes, but a degraded runner can stretch
# the memory-heavy bundling phase past 15 minutes — leave headroom so a slow
# runner yields a slow-but-green build instead of a cancelled one that hard-fails
@@ -340,7 +340,7 @@ jobs:
visual-regression:
name: Visual regression tests - ${{ matrix.browser }} (${{ matrix.shard }}/${{ matrix.shard_count }})
- runs-on: ${{ matrix.browser == 'webkit' && 'depot-ubuntu-latest' || 'ubuntu-latest' }}
+ runs-on: ${{ matrix.browser == 'webkit' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
needs: [changes, build-storybook, vr-setup, select-stories]
if: >-
always()
diff --git a/.github/workflows/container-images-cd.yml b/.github/workflows/container-images-cd.yml
index 7c39d11c94a3..a5e5bbebc998 100644
--- a/.github/workflows/container-images-cd.yml
+++ b/.github/workflows/container-images-cd.yml
@@ -23,7 +23,7 @@ jobs:
name: Build and push PostHog
# Production build/deploy runs only from the canonical deploy repo (CD_DEPLOY_ENABLED).
if: github.repository_owner == 'PostHog' && vars.CD_DEPLOY_ENABLED == 'true'
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
# Covers the build plus the post-build image-boot verification before dispatch.
timeout-minutes: 40
permissions:
diff --git a/.github/workflows/container-images-ci.yml b/.github/workflows/container-images-ci.yml
index 671f1ab9fb11..31afb78711e3 100644
--- a/.github/workflows/container-images-ci.yml
+++ b/.github/workflows/container-images-ci.yml
@@ -118,7 +118,7 @@ jobs:
needs: changes
name: Build Docker image
# run these on 4, if they're RAM constrained the FE build will fail randomly in Docker build
- runs-on: depot-ubuntu-latest-4
+ runs-on: depot-ubuntu-24.04-4
timeout-minutes: 30
permissions:
id-token: write # allow issuing OIDC tokens for this workflow run
diff --git a/.github/workflows/dev-sandbox-selftest.yml b/.github/workflows/dev-sandbox-selftest.yml
index 3425ac942c67..b22268d4bb6b 100644
--- a/.github/workflows/dev-sandbox-selftest.yml
+++ b/.github/workflows/dev-sandbox-selftest.yml
@@ -31,7 +31,7 @@ jobs:
name: Verify dev sandbox profile
# sandbox-exec (Seatbelt) is macOS-only. Depot macOS is a fixed FIFO pool
# (Startup+ plan); if it's unavailable, swap runs-on for `macos-14`.
- runs-on: depot-macos-latest
+ runs-on: depot-macos-15
timeout-minutes: 15
permissions:
contents: read
diff --git a/.github/workflows/livestream-docker-image.yml b/.github/workflows/livestream-docker-image.yml
index a1be770da0db..26ed3a015d2b 100644
--- a/.github/workflows/livestream-docker-image.yml
+++ b/.github/workflows/livestream-docker-image.yml
@@ -20,7 +20,7 @@ concurrency:
jobs:
build:
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 10
if: github.repository_owner == 'PostHog'
diff --git a/.github/workflows/llm-gateway-cd.yml b/.github/workflows/llm-gateway-cd.yml
index 17c98b08e308..be6bc4d179b6 100644
--- a/.github/workflows/llm-gateway-cd.yml
+++ b/.github/workflows/llm-gateway-cd.yml
@@ -11,7 +11,7 @@ on:
jobs:
build:
- runs-on: depot-ubuntu-latest
+ runs-on: depot-ubuntu-24.04
timeout-minutes: 10
if: github.repository_owner == 'PostHog'