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): hold the new events schema test list to python lanes (#122332)

Zach Browne43010cf095e
diff --git a/.github/scripts/trunk-impacted-targets.js b/.github/scripts/trunk-impacted-targets.js
index 44d75f3c9998..8010f8b915ae 100644
--- a/.github/scripts/trunk-impacted-targets.js
+++ b/.github/scripts/trunk-impacted-targets.js
@@ -325,6 +325,8 @@ const TRIPWIRE_RULES = [
['.github/scripts/optimize_test_durations.py', PYTHON],
['.github/scripts/test_optimize_test_durations.py', PYTHON],
['.github/scripts/check-idor-model-coverage.py', PYTHON],
+ // ci-backend's events_json leg and its test selection read this list.
+ ['.github/new-events-schema-targets.txt', PYTHON],
['.github/scripts/report_test_timings.py', FULLSTACK],
['.github/scripts/test_report_test_timings.py', FULLSTACK],
// Bot, report, sync, and canary workflows. None is a required check; each
diff --git a/.github/scripts/trunk-impacted-targets.test.js b/.github/scripts/trunk-impacted-targets.test.js
index ace3eba6d166..b35ec963b4c7 100644
--- a/.github/scripts/trunk-impacted-targets.test.js
+++ b/.github/scripts/trunk-impacted-targets.test.js
@@ -610,6 +610,8 @@ test('a single-language workflow claims that language rather than everything', (
'.github/scripts/optimize_test_durations.py',
'.github/scripts/test_optimize_test_durations.py',
'.github/scripts/check-idor-model-coverage.py',
+ // Only ci-backend's events_json leg reads the native-schema test list.
+ '.github/new-events-schema-targets.txt',
]) {
assert.deepEqual(computeTargets([file], CONTEXT), computeTargets(['mypy.ini'], CONTEXT), file)
}