Skip to content

feat: Rust native symbol upload guidance + contract lock - #262

Draft
cat-ph wants to merge 7 commits into
mainfrom
cat/rust-symbol-upload-variant
Draft

feat: Rust native symbol upload guidance + contract lock#262
cat-ph wants to merge 7 commits into
mainfrom
cat/rust-symbol-upload-variant

Conversation

@cat-ph

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

Copy link
Copy Markdown

Related PRs:

Rust half of the native symbol-set rollout (Go is staged behind its SDK release):

  • error-tracking-upload-source-maps: rust variant (docs page is live) + native-binary guidance in the shared description — Cargo debug-info profile with the macOS split-debuginfo and explicit-strip gotchas, the standalone posthog-cli symbol-sets upload step wired into the resolved build command, dotenv/CI credential rules, and a test affordance that re-runs the upload before verifying.
  • error-tracking: rust installation variant (docs page has been live since #17583).
  • commandments: rust SDK rules matching the posthog-rs 0.20 API (verified against source: init_global re-export, capture_exception_with, in_app_include_paths/in_app_exclude_paths, opt-in capture_panics).
  • contract-lock test for the rust upload variant, mirroring the iOS/Android ones.

Build note: npm run build passes — both new skills generate and all docs URLs fetch (the rust upload page went live with the docs PR above). The skill says "the wizard pre-installs posthog-cli"; that lands in the companion wizard PR, and there is no version window where an old wizard can reach this skill (old wizards never resolve a rust variant).

Review note (codex, 4 rounds): accepted fixes for global-client/feature-flag scoping, blocking-client capture shape, explicit upload in the build command and test flow. One finding rejected as pre-existing: the shared error-tracking template's JS-flavored wording (captureException(), "autocapture first") applies to every server-language variant (go, python, elixir) and is papered over by per-language commandments by design — making the template platform-neutral is queued as a separate change.

🤖 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

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

Results will be posted here when complete.

@cat-ph
cat-ph force-pushed the cat/rust-symbol-upload-variant branch from 10a5dc1 to 24fdf02 Compare July 27, 2026 18:04
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