Repository navigation
[CI] (cc5471b) custom-dispatcher/hono-server - #4799
Closed
wizard-ci-bot[bot] wants to merge 1 commit into
Closed
wizard-ci-bot[bot] wants to merge 1 commit into
wizard-ci-bot[bot] wants to merge 1 commit into
Conversation
Author
|
Now I have all the context I need. Let me produce the evaluation. PR Evaluation ReportSummaryThis PR adds PostHog MCP analytics to a custom JSON-RPC dispatcher built on Hono. It installs
Confidence score: 5/5 🧙
File changes
App sanity check ✅
IssuesNo issues found.
|
| Criteria | Result | Description |
|---|---|---|
| PostHog SDKs installed | Yes | @posthog/mcp@0.25.0 (pinned) and posthog-node@^5.59.0 in package.json |
| PostHog client initialized | Yes | PostHogMCP initialized at module scope with captureModel, enableExceptionAutocapture |
| capture() | Yes | captureInitialize, captureToolsList, captureToolCall cover all MCP methods |
| identify() | N/A | Server-only MCP app |
| Error tracking | Yes | enableExceptionAutocapture: true + isError: true and error passed in failed tool calls |
| Reverse proxy | N/A | Server-only app |
Issues
No issues found.
Other completed criteria
- API key loaded from
process.env.POSTHOG_PROJECT_TOKEN— not hardcoded - Host loaded from
process.env.POSTHOG_HOST— correctly configured - Graceful shutdown on
SIGTERMwithposthog?.shutdown() - Defensive
posthog?.optional chaining throughout allows graceful degradation when env vars are missing prepareToolListandprepareToolCallcorrectly used for agent intent/model capture and SDK-owned argument cleanup
PostHog insights and events ✅
| Filename | PostHog events | Description |
|---|---|---|
src/index.ts |
`` | Captures MCP session initialization with protocol version, client info, duration |
src/index.ts |
`` | Captures tool listing with tool names, parameters, duration |
src/index.ts |
`` | Captures tool execution (success/failure) with tool name, description, args, response, duration, intent, model, error details |
src/index.ts |
`` (auto) | Autocaptured exceptions via enableExceptionAutocapture: true |
Issues
No issues found.
Other completed criteria
- Events represent real MCP protocol actions (initialize, list tools, call tools)
- Rich properties enable funnel analysis (initialize → list → call), error rate tracking, duration analysis
- Properties include duration, tool descriptions, client user-agent, vendor client, intent, LLM model
- No PII in event properties — only tool names, arguments, and protocol metadata
- Event naming follows canonical
*convention via the SDK
Reviewed by wizard workbench PR evaluator
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.
Automated wizard CI run
Source: scheduled
Trigger ID:
cc5471bApp:
custom-dispatcher/hono-serverApp directory:
apps/custom-dispatcher/hono-serverWorkbench branch:
wizard-ci-cc5471b-custom-dispatcher-hono-serverWizard branch:
mainContext Mill branch:
mainPostHog (MCP) branch:
masterTimestamp: 2026-10-28T17:09:35.862Z
Duration: 197.7s
YARA Scanner