: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): narrow the depot mirror validator checkout (#126585)
posthog[bot]7ad4a5eb69b2
diff --git a/.github/workflows/ci-depot-action-mirrors.yml b/.github/workflows/ci-depot-action-mirrors.ymlindex 30bbbed83c50..ce88af65f24c 100644--- a/.github/workflows/ci-depot-action-mirrors.yml+++ b/.github/workflows/ci-depot-action-mirrors.yml@@ -28,6 +28,12 @@ jobs:timeout-minutes: 5steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ sparse-checkout: |+ /.depot/+ /.github/actions/+ /tools/hogli-commands/hogli_commands/depot_mirrors.py+ sparse-checkout-cone-mode: false- name: Compare PR diff scopeenv:BASE_SHA: ${{ github.event.pull_request.base.sha }}diff --git a/docs/internal/ci-things-already-tried.md b/docs/internal/ci-things-already-tried.mdindex 5210d25da779..5d0c6223a459 100644--- a/docs/internal/ci-things-already-tried.md+++ b/docs/internal/ci-things-already-tried.md@@ -464,6 +464,7 @@ The description covers the backend, frontend, and Rust workflows. The diff changThe PR did not merge, and no person reviewed it. The stale bot closed it. Thus there is no recorded reason for the result.Sparse-checkout is correct for small jobs, and `ci-storybook.yml`, `ci-security.yaml`, and `pr-resolve-outdated-bot-comments.yml` use it today.+`ci-depot-action-mirrors.yml` checks out `.depot/`, `.github/actions/`, and `depot_mirrors.py`; its Git diff still covers all changed paths.`ci-rust.yml` also uses it on the build and test jobs, but that came before this PR.The large Python and frontend test jobs do not use it. Their checkout is complete.