Use local SDK checkouts instead of registry releases when validating unreleased instrumentation changes.
Requirements:
- a local
sentry-pythoncheckout uv
npm test -- run --framework openai --platform python \
--sentry-python ~/repos/sentry-pythonThe CLI resolves Python variants with sentryVersion: "local", sets SENTRY_PYTHON_PATH, and installs the checkout with uv pip install -e in each variant environment.
Build the packages in a local sentry-javascript checkout first, then run:
npm test -- run --framework openai --platform node \
--sentry-javascript ~/repos/sentry-javascriptThe CLI resolves JavaScript variants with sentryVersion: "local", sets SENTRY_JAVASCRIPT_PATH, and links the platform package from packages/node, packages/nextjs, or packages/cloudflare.
Use the same flags with render mode to inspect generated programs without installing or calling providers:
npm test -- render --framework openai --platform python \
--sentry-python ~/repos/sentry-pythonGenerated environments are cached under runs/. Remove only the affected generated target directory when dependency state needs to be recreated. Do not edit files under runs/ directly.