Repository navigation
v0 [5/7]: iOS — Swift core, Nitro adapter, two pods, Expo config plugin - #23
Draft
adhorodyski wants to merge 3 commits into
Draft
adhorodyski wants to merge 3 commits into
adhorodyski wants to merge 3 commits into
Conversation
This was referenced Nov 25, 2026
adhorodyski
force-pushed
the
stack/3-ios
branch
from
November 25, 2026 16:25
dd1d3d3 to
a85a6d8
Compare
This was referenced Nov 25, 2026
adhorodyski
force-pushed
the
stack/3-ios
branch
from
November 25, 2026 16:45
a85a6d8 to
669292c
Compare
…ds and the Expo config plugin Layer 3 of the v0 stack (squashed from v0-impl, PR #20): - core (ios/Core): seam spans built into SpanData, config, endpoint and headers (envVarHeaders, gzip), explicit parenting, sticky init (R16) - adapter: HybridOtel and the public RNOtel helpers (RNOtel.start native-first init) - ReactNativeOpenTelemetryCore pod + the Nitro adapter pod (R24); app.plugin.js adds the Core pod line for Expo - Package.swift + verify stage fast-swift: every hand-off fixture through the Swift core, compared to *.ios.otlp.json - static: the Swift packageVersion must match package.json Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Under CPU load a backgrounded app can be starved for ~15 s despite its background task: the export request stalls until the app is reopened, which is the background-flush e2e failure on CI. Reproduced locally under load (about half of first attempts failed, 14.8 s stalls); with willResignActive 12 of 12 passed first try. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drops `tracesUrl` and its test, matching JS and Android: `export.url` goes to the OTLP exporter unchanged. The fixture replay passes the collector's `/v1/traces` URL. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
adhorodyski
force-pushed
the
stack/3-ios
branch
from
November 25, 2026 18:38
669292c to
81ec9eb
Compare
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
ios/Core): seam spans intoSpanData, config, endpoint + headers (envVarHeaders, gzip), explicit parenting, sticky init (R16)HybridOtel+ publicRNOtelhelpersReactNativeOpenTelemetryCore+ the Nitro adapter;app.plugin.jsadds the Core pod line for ExpoPackage.swift+fast-swiftstage;*.ios.otlp.jsonexpected filespackageVersionmust match package.jsonVerified locally
bun verify static fast-js fast-swift: 26 Swift tests, 16 fixtures match their ios files.Not in this PR
Pod install / app build of the adapter is first proven in #24.
Decisions for you (defaults applied; override with
spec:comments)flagsortraceState, or the scopeschemaUrl. This is recorded as a limitation; the encoder is not reimplemented.TRACEPARENTenvironment variable becomes the parent of every root span (upstream behaviour).pod 'ReactNativeOpenTelemetryCore'to their Podfile; Expo apps get the line fromapp.plugin.js.podspecPath.*.ios.otlp.jsonfiles need your review.willResignActive, notdidEnterBackground(second commit). Spec §9.4 says "when the app goes to background".willResignActivecomes earlier and also fires for transient interruptions such as Control Center or a call; the extra flush there is harmless.Part of the v0 stack that replaces #20 for review, bottom-up: #21 context → #26 SDK → #27 JS scenarios → #22 Android → #23 iOS → #24 examples + e2e → #25 ops. Review fixes land as new commits on the layer they belong to, and the layers above are rebased. History before the split:
v0-impl/ #20. Nothing publishes: release runs only after CI onmain, and the npm environment does not exist yet.🤖 Generated with Claude Code