Skip to content

v0 [7/7]: lean CI, manual releases, docs, Collector example - #25

Merged
adhorodyski merged 18 commits into
v0from
stack/5-ops
Nov 26, 2026
Merged

adhorodyski merged 18 commits into
v0from
stack/5-ops

Conversation

@adhorodyski

@adhorodyski adhorodyski commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

What

  • Leaner CI: no compliance, perf-budget or test-mode-off smoke jobs. None of them caught a bug, and the OTLP wire format belongs to the upstream exporters. example/collector/ (back from main, traces only, pinned: Collector 0.165.0 + Jaeger 2.23.0) runs the official Collector by hand; see the README
  • OTel dependencies pinned to exact versions; no comments in the code this PR touches
  • No scheduled or post-merge matrix. React Native 0.88 is the minimum (peer >=0.88), the version every PR tests
  • No release workflow: releases stay manual with changesets, as on main (bun run version, then bun run publish)
  • Changeset for 0.3.0. telemetry.distro.version always comes from package.json: JS imports it, Android reads it in Gradle, and the iOS core podspec writes it at pod install. There's no version constant to keep in sync.
  • README: the original structure and voice, updated only where v0 changed it (no migration guide pre-v1); CONTRIBUTING release steps; spec and plan notes
  • verify/VERIFY.md: the runbook for every verify stage, moved here from the JS layer

Verified

bun verify static fast-js green. example/collector's config validates with otelcol 0.165.0, and a posted expected file returns 200 and is printed by the debug exporter.

Spec change (your call, applied)

Web is bundled with Metro (Expo web) only; Vite/esbuild support is cut from the spec, the plan and README. The spec also stops claiming the Metro helper covers async on web: babel-preset-expo keeps native async there, so Expo web apps add two Babel plugins (README).

Decisions for you (defaults applied; override with spec: comments)

  1. Release: a minor changeset (0.3.0), published by hand once CI is green on main (CONTRIBUTING.md).

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: releases are manual.

🤖 Generated with Claude Code

@adhorodyski
adhorodyski force-pushed the stack/5-ops branch 2 times, most recently from 59607f7 to c0b4fb0 Compare November 25, 2026 16:25
@adhorodyski adhorodyski changed the title v0 [5/5]: collector compliance, nightly, release flow, docs v0 [7/7]: collector compliance, nightly, release flow, docs Nov 25, 2026
@adhorodyski
adhorodyski added this pull request to stack #28 November 25, 2026 18:49
@adhorodyski
adhorodyski force-pushed the stack/5-ops branch 2 times, most recently from cdf2e22 to 9882f41 Compare November 25, 2026 18:56
@adhorodyski
adhorodyski force-pushed the stack/5-ops branch 2 times, most recently from 02131f8 to 7cf8b6e Compare November 25, 2026 19:20
@adhorodyski
adhorodyski force-pushed the stack/5-ops branch 2 times, most recently from 01925f8 to 9c8d575 Compare November 25, 2026 19:32
Base automatically changed from stack/4-e2e to v0 November 25, 2026 21:28
adhorodyski and others added 10 commits November 25, 2026 22:28
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>
…ides

The design spec (§1, §7, §8, §9, §14 P4) and the v0 plan now describe web through Metro (Expo web) only. Task 22
becomes the Expo-web async lowering, and the spec no longer claims the Metro helper covers async on web:
babel-preset-expo keeps native async there, so the app adds the two async Babel plugins for the web platform.
README, MIGRATION and the changeset match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Moved here from the JS SDK layer: it documents every stage, from the JS scenarios to native replay, device e2e and
compliance, so it lands with the rest of the docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… its version from package.json

Spec §4.4 and the plan: `url` is the OTLP/HTTP traces endpoint on every platform, no path appended; the bundle-size
check is gone from stage 1 (§9) and the plan. README, MIGRATION and VERIFY match, examples use `…/v1/traces`.
sync-distro-version only keeps iOS's constant now.

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 floor is a measured note, not a test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Spec §4.2/§9 and the plan drop the hand-off fixtures, the JVM and SwiftPM test projects and the fast-jvm/fast-swift
stages; VERIFY.md says the device e2e compares against the same `.android` / `.ios` files. The nightly
deps-latest job no longer bumps core-jvm or Package.swift and runs a plain `bun verify`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eam types

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
adhorodyski and others added 2 commits November 25, 2026 22:33
… drop sync-distro-version

The core podspec already reads package.json for the pod version; it now also writes `packageVersion` to a
git-ignored ios/RNOtel/PackageVersion.swift, the iOS counterpart of Android's Gradle `buildConfigField`. The
hand-kept Swift constant, scripts/sync-distro-version.js, its hook in the `version` script and the static check that
the constant matched are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Removes release.yml (publish to `next` after green CI, promote to `latest` behind a green nightly),
scripts/release-gate.js and the nightly's `mark-nightly` status job. package.json's `publish` is `changeset publish`
again, as on main. CONTRIBUTING: add a changeset in the PR; to release, check CI and the latest nightly are green, then
`bun run version`, review, `bun run publish`. The nightly matrix stays, as a signal rather than a gate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adhorodyski adhorodyski changed the title v0 [7/7]: collector compliance, nightly, release flow, docs v0 [7/7]: collector compliance, nightly, docs Nov 25, 2026
The nightly becomes `.github/workflows/main-matrix.yml`: on push to main (a newer push cancels the running one) and
workflow_dispatch. Dropped: `rn-latest-*` and `deps-latest-*`, which tested whatever React Native or OTel released last;
we pin instead. `rn-0.79-*` uses 0.79.7, `pack-bare-*` packs into the committed bare example (0.88.1) instead of a
fresh app from the latest template, and app.sh pins the RN CLI (20.2.0). verify/nightly/ is verify/matrix/; the spec,
VERIFY.md, README, CONTRIBUTING and the plan say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adhorodyski adhorodyski changed the title v0 [7/7]: collector compliance, nightly, docs v0 [7/7]: collector compliance, main matrix, docs Nov 25, 2026
adhorodyski and others added 2 commits November 25, 2026 23:05
- `@opentelemetry/api`, `sdk-trace`, `core`, `resources` and `semantic-conventions` are exact versions (1.10.0, 3.1.1,
  3.1.1, 3.1.1, 1.45.0) like the exporter and the otel-java BOM; opentelemetry-swift and -core are `exactVersion`
  2.6.0 in the core podspec.
- Comments removed from the code this PR touches: workflows, the core podspec, the compliance replay and its test, the
  main-matrix helper, the static stage, RNOtel.swift and the example's native init. The `// otel-init:` marker that
  app.sh matches stays. The reasoning lives in VERIFY.md, the spec and these commits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The minimum React Native is 0.88 (peer `>=0.88`), the version every PR tests, so the RN 0.79 jobs, app.sh's template
regeneration and the open 0.79-on-Xcode-27 question go. The rest of the matrix is gone too: the packed tarball is
covered by the static stage's `npm pack` check, fast-refresh-idempotent stays a local run (dev build + Metro), and the
API 26 process-name fallback is documented as untested on a device. Removes .github/workflows/main-matrix.yml and
verify/matrix/app.sh (and the AppDelegate marker it matched).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adhorodyski adhorodyski changed the title v0 [7/7]: collector compliance, main matrix, docs v0 [7/7]: collector compliance, docs Nov 25, 2026
…e the Collector example

None of the three caught anything: compliance replayed what the upstream OTLP exporters wrote into the official
Collector (upstream against upstream), perf-budget only ever needed a fix for its own flakiness, and the
test-mode-off smoke doubled the bare jobs' builds for the same export path. Removes the compliance job, verify/compliance/,
perf.e2e.ts and smoke.e2e.ts with their scenarios, and the second build in both bare jobs.

example/collector/ is back from main, traces only and pinned: the official Collector 0.165.0 (OTLP/HTTP, debug
exporter) and Zipkin 3.6.1, with a README section. Checked locally: the config validates, and a posted expected file
comes back 200 and is printed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adhorodyski adhorodyski changed the title v0 [7/7]: collector compliance, docs v0 [7/7]: lean CI, manual releases, docs, Collector example Nov 25, 2026
adhorodyski and others added 2 commits November 25, 2026 23:47
…er as the viewer

- CORS allows request headers: the web app's preflight for `x-api-key` and the protobuf content type was rejected,
  so the browser blocked every export.
- Jaeger 2.23.0 (OTLP in, through the core `otlp` exporter) replaces Zipkin, whose exporter leaves the Collector's
  core distribution in 0.167.0. UI on http://localhost:16686.

Checked with otelcol 0.165.0 on this config: the bare app on Android (test mode off) and iOS, and the Expo web export,
each exporting a scenario that the Collector received and printed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… only where v0 changed it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adhorodyski
adhorodyski marked this pull request as ready for review November 26, 2026 05:45
@adhorodyski
adhorodyski merged commit bc18906 into v0 Nov 26, 2026
7 checks passed
@adhorodyski
adhorodyski deleted the stack/5-ops branch November 26, 2026 05:46
@adhorodyski adhorodyski added this to the Alpha milestone Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant