Skip to content

test: record OTel callback preflight and overhead evidence - #3

Merged
bbik52 merged 1 commit into
mainfrom
feature/otel-callback-preflight
Nov 18, 2026
Merged

bbik52 merged 1 commit into
mainfrom
feature/otel-callback-preflight

Conversation

@bbik52

@bbik52 bbik52 commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Feature deferred — 2026-11-18

The maintainer has deferred OTel trace correlation indefinitely, outside RC and without a commitment to implement it later. Core ADR proposal PR #81 is withdrawn and closed without merging; implementation issue #80 is closed as not planned. This PR retains the completed experiment and evidence as historical research, not as a commitment to ship tracing integration. The independent cold-bootstrap fix in core PR #84 remains relevant.


Summary

Records the preliminary OTel callback investigation with an isolated, locked SDK experiment and 112 fixed-work CLI measurements. The report links the separate cold-bootstrap fix in core PR #84 and the proposed design in core PR #81.

At 100 Hz the differences were not resolved reliably against shared-host scatter. At 1000 Hz, paired median additional total CPU versus batching was 7.69%/8.42% at depths 48/256; work-only median changes were 10.29%/23.72%. Raw rows and broad min/max ranges are retained. This is not an HTTP capacity or production-overhead claim.

The real SDK tests create spans while profiling, cover nested/restored/unsampled/remote contexts and automatic UoW rotation, and check native weight conservation, callback autoload/warnings and exporter/sink entry. Targeted syscall checks passed after the core bootstrap fix. No schema-2 or end-to-end correlation implementation is included.

Validation

  • make check-soak: 16 tests, shell syntax and Compose configuration passed.
  • Isolated Composer manifest/lock validate strictly; all PHP experiment files pass syntax checks; Python parser compiles.
  • Real SDK direct/rotation probes and targeted syscall checks pass.
  • 112 timing rows have matching workload checksums and zero sampler failures.
  • Relative report links and git diff --check pass.

GitHub Checks passed on the final revision; no review threads are outstanding.

Checklist

  • The PR title follows Conventional Commits.
  • The repository's checks pass locally. Local make check-soak, experiment checks and GitHub Checks pass.
  • Tests cover the change; no test was skipped or deleted to get CI green.
  • Public API changes are documented, and CHANGELOG.md is updated if users will notice. No application API or generated changelog changes.
  • Nothing in the change can throw into, block, or slow down the host application (fail-open). Experiment is opt-in and does not change the stand or running soak.

@bbik52
bbik52 merged commit 95f9a44 into main Nov 18, 2026
1 check passed
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