Repository navigation
v0 [1/5]: JS SDK — context patch, startReactNativeSdk, Metro and Vite helpers - #21
Draft
adhorodyski wants to merge 1 commit into
Draft
adhorodyski wants to merge 1 commit into
adhorodyski wants to merge 1 commit into
Conversation
…b), Metro and Vite helpers Layer 1 of the v0 stack (squashed from v0-impl, PR #20): - runtime context patch with startup probe and degraded scope attribute (R3) - startReactNativeSdk: attach to native or initialize it; web builds its own TracerProvider and proto exporter (R7) - Metro withOtel (InitializeCore first, throws on an unmerged config) and Vite withOtel - Jest scenario harness, hand-off fixtures and js/shape expected files Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 25, 2026
adhorodyski
commented
Nov 25, 2026
| @@ -0,0 +1,38 @@ | |||
| /** | |||
Collaborator
Author
There was a problem hiding this comment.
q: why have both vite and jest?
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.
What
startReactNativeSdk: attach to native or initialize it; web builds its own TracerProvider + proto exporter (R7)withOtel(setup before the main module, throws on an unmerged config) and VitewithOtel*.jsand*.shapeexpected filesVerified locally
bun verify static fast-js: 40 + 77 tests green; SDK bundle share 384 444 B vs the existing 383 873 B baseline (the example still uses the JS exporter until #24).Not in this PR
Native cores (#22, #23), example apps and device runs (#24).
VERIFY.mdalready describes the full pipeline.Decisions for you (defaults applied; override with
spec:comments)TracerProviderwith the OTLP proto exporter instead of usingstartBrowserSdk. Spec §7 is rewritten, and@opentelemetry/browser-sdkis removed.interaction-manager: RN 0.88 removedInteractionManager, so this scenario stayspending. Either drop it, or extend the context patch to coverrequestIdleCallback.*.js.otlp.jsonand*.shape.jsonfiles inverify/expectedwere drafted from the implementation and need your review.Part of the v0 stack that replaces #20 for review: #21 JS SDK → #22 Android → #23 iOS → #24 examples + e2e → #25 ops. Each PR is one squashed commit holding its area in final form (later review fixes folded in); the stack top matches
v0-implexcept one stale CI comment fixed in #25. Full history:v0-impl/ #20. Nothing publishes: release runs only after CI onmain, and the npm environment does not exist yet.🤖 Generated with Claude Code