Repository navigation
v0: one expected OTLP file per scenario for every platform - #29
Merged
Merged
Conversation
adhorodyski
force-pushed
the
stack/5-ops
branch
from
November 25, 2026 21:28
cac07e1 to
1f19801
Compare
adhorodyski
force-pushed
the
stack/6-goldens
branch
8 times, most recently
from
November 26, 2026 02:59
153eba6 to
1cb24cf
Compare
JS, web and Android produced byte-identical goldens, and iOS differed only by two opentelemetry-swift gaps, so the 78 per-platform `<name>.<platform>.otlp.json` files become 23 `<name>.otlp.json`. The compare step accepts iOS's gaps in one place (`iosView`): times within 256 ns (Date rounding, R22) and the five fields its OTLP encoder never writes (span/link flags, span/link traceState, scope schemaUrl). iOS never writes the shared file (update or draft). Shape files and shape.ts are gone: they existed to keep platforms in agreement, which one file now does by construction. Spec §9.1, VERIFY.md and the plan say so; VERIFY.md also corrects "truncated" to "rounded" (iOS times land on either side). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
adhorodyski
force-pushed
the
stack/6-goldens
branch
from
November 26, 2026 05:47
1cb24cf to
93a95c9
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
verify/expected/<name>.otlp.json, 23 files instead of 78 per-platform<name>.<platform>.otlp.json. JS, web, Android and iOS compare against the same file.iosViewinverify/harness/compare.ts) and applies oniosonly:Date, which rounds whole microseconds to a ~238–256 ns grid in either direction (R22).flags, spantraceState, linkflags, linktraceState, and the scopeschemaUrl.VERIFY_UPDATEor draft mode, because its rounded times aren't the reference.shape.ts. They existed to keep platforms in agreement, and one file now does that by construction.compare.test.tsdrops the shape cases. It adds iOS cases: the gaps pass on iOS only, a real difference or a time more than 256 ns off still fails, and iOS never writes the file. Thependingtest was tautological and is gone.Verified locally
bun verify static fast-js: 32 + 47 tests green.Android device runs are left to CI.
Trade-off
The iOS gaps are no longer pinned file by file. If opentelemetry-swift starts writing those fields, nothing flags it until someone tightens
iosView.On top of the v0 stack (#24 examples + e2e → #25 ops → this). Nothing publishes.
🤖 Generated with Claude Code