Skip to content

fix(opentelemetry): resolve thread-unsafe iter#18201

Draft
mabdinur wants to merge 1 commit into
mainfrom
llimllib/main
Draft

fix(opentelemetry): resolve thread-unsafe iter#18201
mabdinur wants to merge 1 commit into
mainfrom
llimllib/main

Conversation

@mabdinur
Copy link
Copy Markdown
Contributor

Shadow PR to unblock otel fix

Wrap `dd_baggage.items()` and `otel_baggage.items()` with `list()` in
`get_current()` and `attach()` to prevent `RuntimeError: dictionary
changed size during iteration` when multiple threads concurrently read
and mutate shared baggage dicts via OTel context propagation.

Closes #16523
@datadog-official
Copy link
Copy Markdown
Contributor

datadog-official Bot commented May 20, 2026

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 85 Pipeline jobs failed

System Tests | integration-frameworks-system-tests / End-to-end #1 / anthropic-py@0.75.0 1   View in Datadog   GitHub Actions

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. Missing required environment variables: DATADOG_API_KEY is not set. Ensure 'id-token: write' is set in workflow permissions.

System Tests | integration-frameworks-system-tests / End-to-end #1 / google_genai-py@1.55.0 1   View in Datadog   GitHub Actions

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. API key is missing. Ensure 'DATADOG_API_KEY' is set as an environment variable or update workflow permissions to allow 'id-token: write'.

System Tests | integration-frameworks-system-tests / End-to-end #1 / openai-py@2.0.0 1   View in Datadog   GitHub Actions

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. Missing required environment variables; have you set 'id-token: write' in your workflow permissions?

View all 85 failed jobs.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 01eab22 | Docs | Datadog PR Page | Give us feedback!

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.

2 participants