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(aio): update the AI event type list path in comments (#102569)

posthog[bot]8ece34cbbbd9
diff --git a/posthog/hogql_queries/ai/ai_table_resolver.py b/posthog/hogql_queries/ai/ai_table_resolver.py
index 7149417b2346..fd8e909d788d 100644
--- a/posthog/hogql_queries/ai/ai_table_resolver.py
+++ b/posthog/hogql_queries/ai/ai_table_resolver.py
@@ -164,7 +164,7 @@ def query_ai_events(
# Query-routing list: event types whose full history lives in the dedicated ai_events table.
-# The ingestion list (nodejs/src/ingestion/pipelines/ai/ai-event-types.ts) additionally
+# The ingestion list (nodejs/src/ingestion/common/ai-event-types.ts) additionally
# contains the AI meta-events ($ai_tag, summaries, eval reports); they are excluded here
# because ai_events lacks their full history, so their queries must stay on the shared
# events table to avoid misreading the missing rows as expired data.
diff --git a/rust/capture/src/v0_request.rs b/rust/capture/src/v0_request.rs
index 3290fb62b314..50da7baf5eac 100644
--- a/rust/capture/src/v0_request.rs
+++ b/rust/capture/src/v0_request.rs
@@ -190,7 +190,7 @@ pub enum DataType {
/// Event names diverted to the dedicated AI lane. Must stay in sync with the
/// AI lane's allowlist (`AI_EVENT_TYPES` in
-/// `nodejs/src/ingestion/pipelines/ai/ai-event-types.ts`), which DLQs
+/// `nodejs/src/ingestion/common/ai-event-types.ts`), which DLQs
/// anything it receives that isn't on the list. Matching on the `$ai_` prefix
/// instead would divert prefixed-but-unlisted names (e.g. `$ai_call`) into the
/// AI topic only for the ingestion pipeline to DLQ them.