: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 desktop agent verification checkout (#128009)
posthog[bot]1d4abf4f0b0d
diff --git a/.github/workflows/desktop-agent-release-verify.yml b/.github/workflows/desktop-agent-release-verify.ymlindex cc37075a4438..19bd6533f708 100644--- a/.github/workflows/desktop-agent-release-verify.yml+++ b/.github/workflows/desktop-agent-release-verify.yml@@ -35,6 +35,12 @@ jobs:uses: actions/[email protected]with:persist-credentials: false+ sparse-checkout: |+ /packages/agent/+ /.github/actions/desktop-build-agent-release/+ /.nvmrc+ /products/desktop/pnpm-lock.yaml+ sparse-checkout-cone-mode: false- name: Setup pnpm# nosemgrep: yaml.github-actions.security.github-actions-mutable-action-tag.github-actions-mutable-action-tagdiff --git a/docs/internal/ci-things-already-tried.md b/docs/internal/ci-things-already-tried.mdindex 6fef0fa08aff..7c76af6d4622 100644--- a/docs/internal/ci-things-already-tried.md+++ b/docs/internal/ci-things-already-tried.md@@ -470,6 +470,9 @@ The Dagster path validator also uses a sparse checkout of every internal Python`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.+Desktop agent release verification keeps the standalone `packages/agent/` workspace, its build action, `.nvmrc`, and the desktop lockfile used for caching.+Validate its frozen install, workspace build, and agent tests from the sparse tree when changing those inputs.+The HCL schema guard checks out `posthog/clickhouse/hcl/`, which contains its scripts, manifest, layers, golden dumps, and generated SQL.Keep the full directory so every environment and role remains available to validation and drift checks.