Polyglot spec infrastructure, browser E2E trace, shared versioning, CI split
83 files · 2,326+ · 429-

Polyglot API surface spec and conformance validation

3 files changed
  • api_surface.yaml Canonical API surface definition listing required exports, function signatures, and types for Python and TypeScript conformance
  • validate_conformance.py Conformance validation script for Python SDK against spec
  • validate_conformance.ts Conformance validation script for TypeScript SDK against spec
  • api_surface.yaml defines the canonical SDK surface: required exports, function signatures (setup, teardown, shutdown, logger bindings), and expected types. validate_conformance.{py,ts} scripts check each SDK against the spec and report gaps. Wired into a spec conformance CI workflow. instantiate behavioral
    1 file
    • api_surface.yaml

Shared major.minor versioning with per-language patch

2 files changed
  • package.json Version format changed to shared major.minor + TypeScript patch
  • version_sync.py Version sync script ensuring Python and TypeScript share major.minor
  • Python and TypeScript SDKs now share the same major.minor version (0.3.x) while each maintains its own patch number. CI spec conformance workflow verifies version alignment on every push. baseline behavioral
    1 file
    • package.json

Browser-based distributed trace E2E via Playwright

2 files changed
  • test_browser_trace.py Browser distributed trace E2E: Playwright opens a Vite-served tracer page, initiates a trace, verifies traceparent propagation
  • vite.e2e.config.ts Vite config with proxy for E2E browser tracing
  • Added browser-based E2E test that launches a Vite dev server, opens a page in Playwright Chromium, initiates a distributed trace, and asserts the traceparent header is propagated correctly to the backend server. qualify internal
    2 files
    • test_browser_trace.py
    • vite.e2e.config.ts

CI split into language-specific workflows

3 files changed
  • python.yml Python-specific CI with path filters for src/tests changes
  • typescript.yml TypeScript-specific CI with path filters
  • spec-conformance.yml Spec conformance and version sync check
  • Monolithic CI split into python.yml, typescript.yml, and spec-conformance.yml with path filters. Python CI runs only when Python files change; TypeScript CI runs only for TypeScript changes. Reduces CI noise and time for single-language changes. baseline internal
    2 files
    • python.yml
    • typescript.yml

Pre-existing lint and type check fixes

3 files changed
  • processors.py ty type-checker errors resolved for setattr/getattr dynamic attrs
  • config.py ty type errors resolved
  • test_cross_language_trace_e2e.py Promoted to repo root e2e/ directory
  • Pre-existing ruff, mypy, and ty type-checker errors resolved. Cross-language E2E test promoted from tests/e2e/ to repo root e2e/ directory. stale eslint-disable directives removed from TypeScript. SPDX header check excludes node_modules. remediate errata
    2 files
    • processors.py
    • config.py