Skip to content

feat(source-maps): automate Go debug-symbol upload - #1030

Draft
cat-ph wants to merge 2 commits into
cat/upload-source-maps-rustfrom
cat/upload-source-maps-go
Draft

feat(source-maps): automate Go debug-symbol upload#1030
cat-ph wants to merge 2 commits into
cat/upload-source-maps-rustfrom
cat/upload-source-maps-go

Conversation

@cat-ph

@cat-ph cat-ph commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Stacked on #938 (rust) — retarget to main after it merges.

Related PRs:

Flips go from recognized-but-blocked to automatable, completing the native symbol-set pair:

  • go joins AUTOMATABLE_VARIANTS and VARIANTS_REQUIRING_POSTHOG_CLI; DETECTION_ONLY_VARIANTS is gone (it existed only for go).
  • goSdkVerifier probe: bounded readProjectFile read of the project's go.mod, matching require directives only (single-line and block form) — a module declaration, replace, or exclude mention never counts. The rust manifest read moved to the same bounded helper for consistency.
  • Missing-SDK remediation is now a per-variant map (MANUAL_SDK_INSTALL): go points at posthog-go, rust at posthog-rs; picker copy generalized.

Everything server-side shipped: posthog-go v1.22.0 (grouped inline frames + $debug_images, PostHog/posthog-go#260), the cymbal frame-order cutoff, CLI 0.9.1 (macOS Go binaries), and the live docs page.

Warning

Merge gates: (1) #938 merges first (this stacks on it). (2) The error-tracking-upload-source-maps-go skill ships with the context-mill PR above — release that before this, or every Go run fails at STEP 2 with ERROR_RESOURCE_MISSING.

Review notes (codex, 2 rounds): took bounded reads + require-only matching. Rejected wizard-side SDK version gating (a v1.21 project would upload unusable symbols) — that check belongs in the skill, whose agent can actually fix it (go get @latest); the skill's gotcha now instructs exactly that.

Tests: 44 focused (target precedence, go retained/missing-SDK classification, verifier: require block, commented, replace/exclude, missing); full build + lint clean.

🤖 Generated with Claude Code

@github-actions

Copy link
Copy Markdown

🧙 Wizard CI

Run the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands:

Test all apps:

  • /wizard-ci all

Test all apps in a directory:

  • /wizard-ci basic-integration
  • /wizard-ci mcp-analytics
  • /wizard-ci revenue
  • /wizard-ci self-driving

Test an individual app:

  • /wizard-ci basic-integration/android
  • /wizard-ci basic-integration/angular
  • /wizard-ci basic-integration/astro
Show more apps
  • /wizard-ci basic-integration/django
  • /wizard-ci basic-integration/fastapi
  • /wizard-ci basic-integration/flask
  • /wizard-ci basic-integration/javascript-node
  • /wizard-ci basic-integration/javascript-web
  • /wizard-ci basic-integration/laravel
  • /wizard-ci basic-integration/next-js
  • /wizard-ci basic-integration/nuxt
  • /wizard-ci basic-integration/python
  • /wizard-ci basic-integration/rails
  • /wizard-ci basic-integration/react-native
  • /wizard-ci basic-integration/react-router
  • /wizard-ci basic-integration/sveltekit
  • /wizard-ci basic-integration/swift
  • /wizard-ci basic-integration/tanstack-router
  • /wizard-ci basic-integration/tanstack-start
  • /wizard-ci basic-integration/vue
  • /wizard-ci mcp-analytics/custom-dispatcher
  • /wizard-ci mcp-analytics/typescript-sdk
  • /wizard-ci revenue/stripe
  • /wizard-ci self-driving/astro
  • /wizard-ci self-driving/fastapi
  • /wizard-ci self-driving/nuxt
  • /wizard-ci self-driving/react-router
  • /wizard-ci self-driving/sveltekit

Results will be posted here when complete.

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.

1 participant