Skip to content

fix(enricher): stop warning on expected query compilation failures#2190

Merged
jonathanlab merged 1 commit into
mainfrom
posthog-code/silence-enricher-query-warnings
May 18, 2026
Merged

fix(enricher): stop warning on expected query compilation failures#2190
jonathanlab merged 1 commit into
mainfrom
posthog-code/silence-enricher-query-warnings

Conversation

@jonathanlab
Copy link
Copy Markdown
Contributor

possibly the noisiest logs ive ever seen in phc yet, query compilation failures can happen, and should not be logged

The detector probes language-specific tree-sitter node names across
grammars (e.g. call_expression, call, scope_resolution, short_var_declaration).
Mismatches are expected and already cached in failedQueries — logging
them at warn flooded user logs on every polyglot scan.

Generated-By: PostHog Code
Task-Id: 70417fd9-a7f1-4878-9005-c63645fd7999
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 18, 2026

Reviews (1): Last reviewed commit: "fix(enricher): stop warning on expected ..." | Re-trigger Greptile

@jonathanlab jonathanlab enabled auto-merge (squash) May 18, 2026 14:44
@jonathanlab jonathanlab merged commit 3b6242f into main May 18, 2026
15 checks passed
@jonathanlab jonathanlab deleted the posthog-code/silence-enricher-query-warnings branch May 18, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants