feat(ai-observability): add Go weather fixture for the OTel bridge path - #3675
Open
marco-g-pm wants to merge 2 commits into
Open
feat(ai-observability): add Go weather fixture for the OTel bridge path#3675marco-g-pm wants to merge 2 commits into
marco-g-pm wants to merge 2 commits into
Conversation
Go has no PostHog wrapper SDK; PostHog/posthog-go#306 adds an OTel bridge instead. This fixture makes the wizard prove that path: same get_weather round trip as the other weather apps, official openai-go SDK, graded on hand-authored gen_ai.* spans through the bridge. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Aug 31, 2026
marco-g-pm
marked this pull request as ready for review
September 1, 2026 13:58
carlos-marchal-ph
approved these changes
Sep 1, 2026
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
The wizard has no fixture to prove the Go AI observability path. Every
ai-observabilityapp is Python or Node, and Go's only supported mechanism is the new posthog-go OTel bridge (PostHog/posthog-go#306).for PostHog/posthog-go#306
Changes
apps/ai-observability/opentelemetry/go-weather: the same two-turnget_weatherround trip as the other weather apps, on the official openai-go SDK, so a diff against any of them isolates the language.posthogotel.NewSpanProcessoron aTracerProvider, hand-authoredgen_ai.*spans, one trace per turn, one session across turns, flush before exit.Testing
go mod tidy && go buildin a throwaway copy). The committed fixture ships withoutgo.sum, matching the no-lockfile convention.wizard-ci --app ai-observability/opentelemetry/go-weather. The run needs the context-millopentelemetry-govariant, which feat(skills): route Go projects to the OpenTelemetry AIO variant context-mill#373 adds.🤖 Agent context
Written by Claude Code from the Slack thread on posthog-go#306 (https://posthog.slack.com/archives/C087XQ7K9K7/p1788170266901319), with the user directing scope. Skills invoked: writing-pr-descriptions, writing-user-facing-copy.