ocaml-opentelemetry/tests/implicit_scope/sync
Simon Cruanes 1ebd474423 fix: critical bugs found in code review
Bug #1: Fix worker count logic in generic_consumer
- Was: min 2 (max 500 n_workers) - always created 2 workers
- Now: max 2 (min 500 n_workers) - properly clamps between 2-500
- Impact: Worker configuration was completely ignored

Bug #2: Handle missing dot in __FUNCTION__ name
- Added exception handling for String.rindex in trace span creation
- Prevents crash when tracing top-level or non-module functions
- Uses option type for module_path when no dot is present
- Scoped try/catch to only parsing logic
2026-02-08 06:16:05 +00:00
..
dune fix: critical bugs found in code review 2026-02-08 06:16:05 +00:00
test_implicit_scope_sync.ml tracer/logger/metrics_emitter now pair emitter and clock 2026-01-20 00:15:25 -05:00