Skip to content

oss_12_onending_frozen #11

Description

@ocelotl

Tracks SpanProcessor.on_ending mutability (Linear OSS-12, finding T1).

Problem: SpanProcessor.on_ending runs after the span is already frozen, so any attribute/event/link a processor adds in the hook is silently dropped (spec MUST violated).

Fix: Introduce an intermediate 'ending' state so on_ending runs while the span is still mutable by the ending thread, then finalize. Rework ConcurrentMultiSpanProcessor.on_ending (thread-pool fan-out is incompatible with single-thread mutability).

Branch / worktree: oss_12_onending_frozen

Linear issue: https://linear.app/dash0/issue/OSS-12/t1-spanprocessoronending-runs-after-the-span-is-frozen-mutability-must

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions