: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
ci: skip events_json test suite on master (#72295)
Raúl Negrón-Otero05a8cdce1bad
diff --git a/.depot/workflows/ci-backend.yml b/.depot/workflows/ci-backend.ymlindex ea8c3e9d4f77..8f36d29992d4 100644--- a/.depot/workflows/ci-backend.yml+++ b/.depot/workflows/ci-backend.yml@@ -35,6 +35,9 @@# changes confined to it (script deps, the reporter's availability guard) need no depot bump.# - OpenAPI types: the check-openapi-types job is folded into check-migrations as a# check-only step (drift still fails the run); only its auto-commit side effect is dropped+# - events_json variants: the shadow never doubles the matrix (no RUN_NEW_EVENTS_SCHEMA+# plumbing), so canonical changes confined to that gating — e.g. skipping the+# events_json suite on master — need no depot bump# - actions/cache reads/writes route to Depot Cache, not GitHub Actions Cache,# so shared keys with canonical (schema, uv, pnpm) do not collide# - Three data-modeling tests deselected (Depot-only MinIO 403 quarantine)diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.ymlindex fc81a47098f2..40bdd6b51363 100644--- a/.github/workflows/ci-backend.yml+++ b/.github/workflows/ci-backend.yml@@ -664,10 +664,11 @@ jobs:id: buildenv:PRODUCT_MATRIX_JSON: ${{ needs.turbo-discover.outputs.matrix }}- # The new-events-schema variants double the matrix, so PRs only run- # them when opted in via the test-new-events-schema label. Non-PR runs- # (master push, merge queue, dispatch) always cover both schema modes.- RUN_NEW_EVENTS_SCHEMA: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'test-new-events-schema') }}+ # The new-events-schema variants double the matrix, so they only run on+ # PRs opted in via the test-new-events-schema label and on manual dispatch.+ # Master skips them for CI cost until the schema nears prod testing;+ # re-enable master + PR coverage together when that starts.+ RUN_NEW_EVENTS_SCHEMA: ${{ contains(github.event.pull_request.labels.*.name, 'test-new-events-schema') || github.event_name == 'workflow_dispatch' }}run: |if [[ "$RUN_NEW_EVENTS_SCHEMA" == "true" ]]; thenschema_modes='[false, true]'@@ -2087,10 +2088,11 @@ jobs:CORE_FILES: ${{ needs.select-tests.outputs.core_files }}IS_DRAFT: ${{ github.event.pull_request.draft }}FORCE_FULL: ${{ contains(github.event.pull_request.labels.*.name, 'run-ci-backend') }}- # The new-events-schema variants double the matrix, so PRs only run- # them when opted in via the test-new-events-schema label. Non-PR runs- # (master push, merge queue, dispatch) always cover both schema modes.- RUN_NEW_EVENTS_SCHEMA: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'test-new-events-schema') }}+ # The new-events-schema variants double the matrix, so they only run on+ # PRs opted in via the test-new-events-schema label and on manual dispatch.+ # Master skips them for CI cost until the schema nears prod testing;+ # re-enable master + PR coverage together when that starts.+ RUN_NEW_EVENTS_SCHEMA: ${{ contains(github.event.pull_request.labels.*.name, 'test-new-events-schema') || github.event_name == 'workflow_dispatch' }}run: |# :NOTE: Keep shard counts/group ranges in sync with historical Django matrix tuning.# Consult #team-devex before changing.