Skip to content

feat: error tracking source maps#475

Draft
ablaszkiewicz wants to merge 10 commits into
mainfrom
feat/error-tracking-source-maps
Draft

feat: error tracking source maps#475
ablaszkiewicz wants to merge 10 commits into
mainfrom
feat/error-tracking-source-maps

Conversation

@ablaszkiewicz
Copy link
Copy Markdown

@ablaszkiewicz ablaszkiewicz commented May 25, 2026

Limitations

  • we are unable to give oauth permissions with personal_api_key:write permissions. Wizard would then be able to generate api keys with higher permissions that it originally had,
  • we are unable to run build command from within wizard. It conflicts with some rust (our ET CLI is rust) stuff and basically sandbox environment blocks us. We have to tell user to run build

Flow

Positive cases

Node raw

This is a raw version of node without any framework and without any sort of API inside the file. It is just a raw single index.ts script. Wizard correctly sets up raw CLI upload, appends to env. Enriches default build command with CLI specific stuff:

    "build": "tsc && posthog-cli --env-file .env sourcemap inject --directory ./dist && posthog-cli --env-file .env sourcemap upload --directory ./dist --release-name node-raw",
image

Node rollup

This ones tricky. I've intentionally left a setup where no dotenv is installed and rollup config is unable to access the env file. Workflow correctly recognizes all of that, install dotenv, sets everything up, life is great.

image

Deny cases

No posthog installed ✅

next-no-posthog- doesn't have posthog installed.

image

No posthog installed ✅

rust - unsupported technology

image

@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 misc
  • /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 misc/quack-quack
  • /wizard-ci revenue/stripe

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