Skip to content

feat: session and act spans via plugin hooks #1048

@ajbozarth

Description

@ajbozarth

Background

Session-level and act-level spans are currently emitted via direct trace_application(...) calls in mellea/stdlib/session.py and mellea/stdlib/functional.py. This leaks tracing concerns into stdlib.

Replaces retired sub-issue #470.

Scope

Phase & dependencies

Phase 2 (coverage). Depends on Phase 1 (#1045, #1046, #1047). Can proceed in parallel with {{NEW-E}}, {{NEW-F}}, {{NEW-G}}, {{NEW-H}}, and with PR #1036 rebased onto Phase 1.

Acceptance criteria

  • mellea/stdlib/ no longer imports from mellea.telemetry.tracing.
  • Session → aact → backend span hierarchy preserved.
  • Tests cover parent-child span relationships.

Parent epic: #444

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions