Skip to content

Fix OpenTelemetry logger attribute compatibility - #2035

Merged
tconley1428 merged 1 commit into
mainfrom
fix/otel-logger-attributes-2029
Oct 29, 2026
Merged

tconley1428 merged 1 commit into
mainfrom
fix/otel-logger-attributes-2029

Conversation

@tconley1428

@tconley1428 tconley1428 commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #2029's missing _ExtendedAttributes import by typing logger scope attributes as Mapping[str, Any] | None in the replay-safe provider and its tests. This retains string-keyed mapping checks while leaving value types permissive across OpenTelemetry versions. Extend forwarding coverage to absent, scalar, and nested attributes; leave dependency resolution and CI unchanged.

@tconley1428
tconley1428 marked this pull request as ready for review October 28, 2026 21:26
@tconley1428
tconley1428 requested a review from a team as a code owner October 28, 2026 21:26
@tconley1428
tconley1428 merged commit 7e835b3 into main Oct 29, 2026
20 checks passed
@tconley1428
tconley1428 deleted the fix/otel-logger-attributes-2029 branch October 29, 2026 16:51
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.

[Bug] opentelemetry-api 1.45 removed _ExtendedAttributes, and CI can't resolve 1.45 to notice

2 participants