Skip to content

Split observability runtime by responsibility - #27

Merged
anth-volk merged 1 commit into
mainfrom
refactor/observability-runtime-primitives
Sep 17, 2026
Merged

anth-volk merged 1 commit into
mainfrom
refactor/observability-runtime-primitives

Conversation

@anth-volk

Copy link
Copy Markdown
Contributor

Fixes #17

Summary

  • Keep ObservabilityRuntime as the public interface and move context state, request and operation lifecycles, segments, structured logs, metrics, and tracing into focused modules.
  • Split runtime and destination tests by responsibility, isolate shared test context state, and update AI-facing engineering guidance.
  • Preserve public method signatures and existing behavior. All Python files in the repository are under 600 lines.

Validation

  • 217 tests passed; 92% coverage.
  • Ruff format and lint checks passed.
  • uv build and Towncrier fragment check passed.

@anth-volk
anth-volk marked this pull request as ready for review September 17, 2026 16:29
@anth-volk
anth-volk merged commit daab4a6 into main Sep 17, 2026
3 checks passed
@anth-volk
anth-volk deleted the refactor/observability-runtime-primitives branch September 17, 2026 16:29
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.

observability/runtime.py is far too large a file

1 participant