provide-telemetry
2026-03-30
React sub-export, error fingerprinting, ANSI renderer, browser/edge OTel stub, mutation kills
69 files · 4,030+ · 607-
React sub-export: useTelemetryContext and TelemetryErrorBoundary
3 files changed
package.jsonAdded ./react conditional export; react peer dep; testing-library dev dep2026-03-30-react-helper-design.md127-line React helper design spec: useTelemetryContext hook and TelemetryErrorBoundary render-prop API2026-03-30-react-helper.md552-line React helper implementation plan
- New ./react sub-export provides useTelemetryContext hook (accesses active telemetry context in React components) and TelemetryErrorBoundary with render-prop fallback and reset support. React peer dep added; testing-library used for hook and boundary tests.
instantiate
behavioral
1 file
package.json
Error fingerprinting and session correlation (Python + TypeScript)
6 files changed
test_error_fingerprint.py270-line error fingerprint test suitetest_session_correlation.py40-line session correlation testscontext.pySession correlation context utilities12_error_fingerprint_and_sessions.py92-line Python example: error fingerprinting with session correlation12_error_fingerprint_and_sessions.ts81-line TypeScript example: error fingerprinting with session correlation2026-03-29-error-fingerprinting-session-correlation-design.md141-line design spec for error fingerprinting and session correlation
- Error fingerprinting added to Python and TypeScript SDKs: deterministic fingerprints from exception type and traceback for grouping related errors. Session correlation attaches session IDs to log events for cross-request tracing. Fixes included: W3C baggage property stripping, BaseException fingerprinting (not just Exception), and session context leak prevention across concurrent requests.
instantiate
behavioral
2 files
context.pytest_error_fingerprint.py
TypeScript ANSI color log renderer
1 file changed
logger.tsPretty ANSI log renderer with color support, TTY detection, and structured field formatting
- TypeScript SDK gains a pretty ANSI renderer for development use: colorized log levels, structured field display, and TTY detection to disable colors in CI/non-TTY environments.
instantiate
behavioral
1 file
logger.ts
Browser/edge OTel no-op stub and conditional exports
1 file changed
otel.tsConditional exports: browser/edge environments get OTel no-op stub; workerd and edge-light removed (Cloudflare/Vercel support OTel natively)
- TypeScript package gains browser/edge conditional export for OTel: browser and edge-light runtimes receive a no-op stub rather than the full OTel provider, preventing bundle issues. workerd removed from the no-op conditions since Cloudflare Workers now supports OTel natively.
instantiate
behavioral
1 file
otel.ts
Mutation survivor kills across resilience, processors, and ASGI
5 files changed
test_resilience_pragma_kills.py337-line resilience mutation-killing tests; replaces pragma shortcuts with targeted behavioral teststest_processors_mutations.py196-line processor mutation teststest_middleware_baggage.py127-line ASGI middleware baggage extraction teststest_middleware_mutations.py58-line ASGI middleware mutation teststest_hardening_resilience.py35-line hardening resilience tests
- 337-line resilience test suite replaces pragma shortcuts with targeted mutation-killing behavioral tests. 196-line processor mutation tests kill survivors in sanitize_sensitive_fields and related processors. ASGI middleware baggage extraction and mutation tests added. Executor replacement after circuit breaker trips fixed to prevent ghost thread accumulation.
qualify
internal
3 files
test_resilience_pragma_kills.pytest_processors_mutations.pytest_middleware_baggage.py
Security hardening example and examples reorganization
8 files changed
13_security_hardening.py70-line Python example: input sanitization and secret detection13_security_hardening.ts70-line TypeScript example: security hardening patternsbasic_logging.tsRemoved (superseded by numbered telemetry/ scheme)context_binding.tsRemoved (superseded by numbered scheme)metrics.tsRemovedopenobserve.tsRemovedpii_sanitization.tsRemovedtracing.tsRemoved
CI: decoupled mutation workflow, Windows and macOS ARM64 testing
3 files changed
ci-mutation.yml47-line standalone mutation testing workflow decoupled from quality CIci-python.ymlWindows testing added to quality matrix; macOS ARM64 runner addedrelease.ymlTestPyPI staging and verification before production PyPI publish; release gate behind release event
- Mutation testing decoupled into a non-blocking ci-mutation.yml workflow so failures don’t block quality CI. Windows and macOS ARM64 (Apple Silicon) added to the Python and TypeScript quality matrices. Release pipeline gated: tags trigger TestPyPI staging with verification before production PyPI publish.
baseline
internal
3 files
ci-mutation.ymlci-python.ymlrelease.yml