Repository navigation
feat(error-tracking): add severity rule MCP tools - #87881
Merged
trunk-io[bot] merged 6 commits intoAug 27, 2026
Merged
Conversation
Expose list, create, and update operations for error tracking severity rules through the PostHog MCP server. Generated-By: PostHog Desktop Task-Id: 12089906-88c9-4363-aa68-4705d0f4c5f4
|
😎 Merged successfully - details. |
Contributor
|
Hey @hpouillot! 👋 It looks like your git author email on this PR isn't your
You can fix it for this repo with: git config user.email "you@posthog.com"Or set it globally with |
Contributor
🤖 CI report
|
| App | JS | CSS |
|---|---|---|
| debug | 600.0 KB | 195.2 KB |
| action | 458.2 KB | 195.2 KB |
| action-list | 564.9 KB | 195.2 KB |
| cohort | 457.2 KB | 195.2 KB |
| cohort-list | 563.8 KB | 195.2 KB |
| email-template | 457.0 KB | 195.2 KB |
| error-details | 472.9 KB | 195.2 KB |
| error-issue | 457.9 KB | 195.2 KB |
| error-issue-list | 564.7 KB | 195.2 KB |
| experiment | 562.0 KB | 195.2 KB |
| experiment-list | 565.6 KB | 195.2 KB |
| experiment-results | 567.1 KB | 195.2 KB |
| feature-flag | 567.6 KB | 195.2 KB |
| feature-flag-list | 571.4 KB | 195.2 KB |
| feature-flag-testing | 461.4 KB | 195.2 KB |
| inline-scan | 457.7 KB | 195.2 KB |
| insight-actors | 563.0 KB | 195.2 KB |
| invite-email-preview | 456.4 KB | 195.2 KB |
| llm-costs | 560.0 KB | 195.2 KB |
| session-recording | 459.0 KB | 195.2 KB |
| survey | 458.8 KB | 195.2 KB |
| survey-global-stats | 562.7 KB | 195.2 KB |
| survey-list | 565.5 KB | 195.2 KB |
| survey-stats | 562.7 KB | 195.2 KB |
| trace-span | 457.6 KB | 195.2 KB |
| trace-span-list | 564.7 KB | 195.2 KB |
| vision-observation-list | 563.9 KB | 195.2 KB |
| workflow | 457.5 KB | 195.2 KB |
| workflow-list | 564.2 KB | 195.2 KB |
| loops-review | 461.9 KB | 195.2 KB |
| query-results | 755.0 KB | 195.2 KB |
| render-ui | 838.1 KB | 195.2 KB |
| visual-review-snapshots | 462.0 KB | 195.2 KB |
ablaszkiewicz
approved these changes
Aug 24, 2026
hpouillot
marked this pull request as ready for review
August 24, 2026 14:54
cat-ph
approved these changes
Aug 24, 2026
Contributor
|
Reviews (1): Last reviewed commit: "feat(error-tracking): add severity rule ..." | Re-trigger Greptile |
Validate that each affected tool remains reachable through the compact domain index instead of requiring one exact domain spelling. Generated-By: PostHog Desktop Task-Id: bc15d8bc-972e-4aea-8ad5-bebb38b8b6b1
Regenerate the MCP tool-schema snapshots after the generated error tracking API gained behavioral filters. Generated-By: PostHog Desktop Task-Id: 7c8792a2-2d15-4047-9067-ca7fb2c72e8f
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
MCP users can set issue severity manually, but they cannot create or update automatic severity rules.
Changes
How did you test this code?
👉 Stay up-to-date with PostHog coding conventions for a smoother review.
Automatic notifications
Docs update
The generated tool descriptions document the supported inputs and severity-rule behavior. No separate product docs changed.
🤖 Agent context
Autonomy: Human-driven (agent-assisted)
OpenAI GPT-5.6 Sol used pi, GitHub CLI, and PostHog MCP tooling. The work invoked
/implementing-mcp-tools,/writing-user-facing-copy,/writing-tests,/writing-code-comments, and/writing-pr-descriptions.The change also exposes list access so agents can inspect ordered rules before creating or updating one. Delete and reorder operations remain outside this scope.