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): restore the lessons journal and require devex review (#126962)

Paul D'Ambrad58469718eb3
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 673c68a7c080..69c64e34ab1a 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -97,6 +97,7 @@ products/isolation_baseline.txt @PostHog/team-devex
/.agents/feature-usage-tracking.md @PostHog/team-devex
.github/pull_request_template.md @PostHog/team-devex
.agents/skills/writing-pr-descriptions/ @PostHog/team-devex
+docs/internal/ci-things-already-tried.md @PostHog/team-devex
# A changed commit in the lockfile means a workflow now runs different third-party code.
.github/workflows/actions.lock @PostHog/team-devex
diff --git a/docs/internal/ci-things-already-tried.md b/docs/internal/ci-things-already-tried.md
index 230146b5acf5..b319e7ee9ad7 100644
--- a/docs/internal/ci-things-already-tried.md
+++ b/docs/internal/ci-things-already-tried.md
@@ -251,11 +251,6 @@ The comment under `pull_request:` in `.depot/workflows/ci-backend.yml` explains
The jest and Playwright suites made the same move later, so `ready_for_review` no longer buys a full matrix anywhere.
Selection now runs on drafts and ready PRs alike in `ci-backend.yml`, `ci-frontend.yml`, `ci-storybook.yml`, and `ci-e2e-playwright.yml`, and the merge queue's `trunk-merge/**` run is the only full gate.
-Jest selection includes imported JSON files, such as terminal package manifests, because changes to data can break their consumers without changing TypeScript.
-Frontend jest selection follows only the imports that load a module when a test runs.
-An import used only as a type does not select a test, because the jest transformer removes it.
-Jest loads its configuration, its setup files, and the MSW mocks for every test, so selection cannot follow a change to one of them through imports.
-A ready PR that changes one takes the full matrix.
What still differs by draft state is the fallback when a selection cannot be trusted: a draft skips the suite and defers to its ready run, a ready PR takes the full matrix because no later run on that PR would cover it.
_Also asked as:_ snob, is test selection on, why does CI run all the tests, do we select tests on PRs
@@ -443,9 +438,6 @@ _Also asked as:_ Docker Hub rate limit in CI, unauthenticated pull limit, DOCKER
## CI orchestration
-The required Docker image workflow runs only when a pull request opens or changes.
-A separate non-required workflow handles `hobby-preview` and `no-depot-docker-cache` label additions, while Hobby label events still handle preview cleanup.
-
### Move CI from the Depot runners to Blacksmith
**Verdict: rejected** · Apr 2026 to May 2026 · [#54559](https://github.com/PostHog/posthog/pull/54559), removed by [#57991](https://github.com/PostHog/posthog/pull/57991)