Repository navigation
v0: Phases 1–2 (SDK, native cores, web, verification) - #20
Draft
adhorodyski wants to merge 76 commits into
Draft
adhorodyski wants to merge 76 commits into
adhorodyski wants to merge 76 commits into
Conversation
…R CI on v0, always upload artifacts Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… CI screen Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… on failure Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…redact them Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…~60 s per call on a runner) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he app Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nners Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RNContextManager (StackContextManager + swap), installContextPatch with the globalThis marker holding the originals and the singleton (R3), src/setup.ts loaded by the scenarios Jest project. Un-pends the 11 Task 10 scenarios, adds the unit Jest project (R15), computes fixture NAMES from active Jest scenarios (R6) and drafts the new .js.otlp.json and .handoff.json files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nchor wording Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…al test target Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e replays Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ll fails (R1) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es lib/ The example consumes the package (exports -> lib/), so the SDK entry (setup, patch, probe, startReactNativeSdk, hand-off) is in the bundle: 383873 -> 393429 B (+9.6 kB, all lib/module). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…exporter (R7) Per ruling R7: own sdk-trace TracerProvider + BatchSpanProcessor(OTLP proto) instead of startBrowserSdk; shared marker/registration with mobile start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es web flush latency Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r OTEL_TEST_MODE change The bundle task's inputs cover example/ only, so a change to the package, the scenarios or the test-mode flag left the previous bundle in the APK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…a failed e2e
- 5 alternating rounds of 20,000 awaits per leg, ratio = median(on)/median(off),
every sample in perf.json; gates use unrounded values; perf.json says test-mode build.
- example-expo: the config plugin adds the same bundle-task inputs as the bare app.
- CI: smoke runs even when the main e2e failed and the step exits with the first
non-zero code; paths use ${{ runner.temp }}.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- .github/workflows/scheduled.yml: one `e2e` matrix (RN 0.79 / latest with example/ regenerated, deps at latest + fast loop, npm pack into a fresh bare app and the Expo app with smoke-device, API 26 smoke, dev builds with fast-refresh-idempotent); `mark-nightly` sets the `nightly` commit status. TEMPORARY pull_request trigger (paths: the workflow) runs in dry-run mode (R28). - verify/nightly/app.sh: `bare <rn>` regenerates example/ native projects and re-applies its edits (X13); `pack <app>` installs the tarball instead of the source tree. - Example native init moved to OtelInit.kt / AppDelegate's `otel-init` section so the script reuses it. - rn-0.79-ios is experimental: RN 0.79.7 does not build on Xcode 27 (author gate, VERIFY.md). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…CocoaPods on RN 0.79) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The one PR dry run passed (Nightly 45353782459, Release 45353782465). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
example-expo lists react-native-open-telemetry in app.json; its own plugin keeps only example-only edits, and the nightly pack no longer patches the Core pod line for Expo. Expo resolves the plugin by name through a postinstall link to the repo root (bun cannot install the root as a file: dependency). The plugin now loads the app's expo/config-plugins (linked or pnpm installs have none beside the package), and ./app.plugin.js is exported. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lize native Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
URI.host is null for hosts such as otel_collector; fall back to the authority without userinfo and port. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tionScope Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ry call Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Declares podspecPath for the Nitro adapter and ships the file. RN CLI 20.2's getDependencyConfig and Expo 58's resolver do not read podspecPath (checked: pointing it at the Core podspec changes nothing); they pick the first glob hit / the first sorted name, which is the adapter today. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eCore Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rror RN 0.79 iOS does not build on Xcode 27 (fmt/consteval). The peer range is unchanged (author decision). The Vite paragraph said the probe logs a warning; it calls console.error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… lives Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ream e2e output live - background-flush: retry the foreground open once (simctl launch can outlast agent-device's 15 s xcrun timeout); the 2 s flush tap still proves the main thread is free - native-test-mode: 30 s for the first read (the 5 s default saw 0 reads on ios-expo) - clearDeviceLog: log stream --timeout 3m, so a killed worker leaves no stray stream - e2e stage: inherit stdio, so a long or killed device run shows its progress Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… NaN/Infinity); link the CI perf.json Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 25, 2026
adhorodyski
added a commit
that referenced
this pull request
Nov 25, 2026
Layer 5 of the v0 stack (squashed from v0-impl, PR #20): - compliance job: every captured raw request and verify/expected file replayed into otel collector 0.165.0; any non-2xx fails - scheduled.yml: nightly matrix (13 entries) with the mark-nightly status - release.yml + scripts/release-gate.js: publish to `next` after green CI on main; promote to `latest` needs a green nightly - `version` syncs the distro version constants; changeset for 0.3.0 - README, MIGRATION.md, CONTRIBUTING release steps; spec and plan notes Nothing here publishes before the npm environment and NPM_TOKEN exist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Phases 1–2 of the v0 plan (Tasks 6b and 10–32) on top of the Phase 0 harness on
v0:startReactNativeSdk(mobile and web);Nothing is published or tagged: npm
latestis still0.2.0and the only tag isv0.2.0.Verification proof
CI: run 45358145497 is green on all 9 jobs: static-fast, fast-swift, e2e-android-bare, e2e-ios-bare, e2e-android-expo, e2e-ios-expo, e2e-web, compliance and budget. Every job uploads
verify/artifactsasverify-artifacts-<job>.Compliance: the official Collector (
otel/opentelemetry-collector:0.165.0) accepted 110 raw requests captured from every e2e target and all 84 expected files, with no errors. NaN and Infinity values are accepted as-is.Perf (perf.json artifact, measured on android-bare in a test-mode build):
Results by scenario and target
✅ means the output equals that platform's expected file (shape first, then an exact compare). "core" columns are the fast JVM and Swift replays of the hand-off fixtures. Smoke runs with test mode off and checks count and names only.
x-api-keyheader asserted)InteractionManagerThe nightly and release workflows each passed one dry run from this PR: Nightly 45353782459 (13 entries) and Release 45353782465. Their temporary PR triggers have since been removed. The real
scheduleand dispatch runs can only be verified after merging tomain.Decisions for you (defaults applied; override in review)
verify/expected/*.{js,android,ios,web}.otlp.jsonneeds your review (CODEOWNERS).startBrowserSdk. Spec §7 is rewritten and@opentelemetry/browser-sdkis removed.flagsortraceState, or the scopeschemaUrl. This is recorded as a limitation, not reimplemented.TRACEPARENTenv var is adopted as the parent of every root span (upstream behaviour).pod 'ReactNativeOpenTelemetryCore'to their Podfile, and Expo apps use the shippedapp.plugin.js. This conflicts with the spec rule "nothing essential may depend on a config plugin". Also, autolinking picks between the two root podspecs by sort order, because RN CLI 20.2 and Expo 58 ignorepodspecPath. The alternative is to move the Core podspec out of the package root.DevSettings.reloaddoesn't work in release builds.deps-latestfailure blocks thenightlystatus.next, only from green-CI commits onmain.promotetolatestneeds a greennightly.npmenvironment withNPM_TOKENand enable "Allow GitHub Actions to create pull requests".interaction-manager: drop it, or patchrequestIdleCallback.background-flushfailed twice on overloaded runners and passed on retry. It is 7/7 locally, so it may be flaky, but a real bug on that path hasn't been ruled out.Full verification docs:
verify/VERIFY.md. Install and usage:README.mdandMIGRATION.md.🤖 Generated with Claude Code