Skip to content

Conversation

andremm
Copy link
Contributor

@andremm andremm commented Aug 4, 2025

Description

This PR is guarding calls to context.detach with if token: to make sure these calls are using a token that is not None.

Fixes #3351

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@andremm andremm requested a review from a team as a code owner August 4, 2025 19:50
@tammy-baylis-swi
Copy link
Contributor

Overall lgtm! Please could you add a changelog entry.

@andremm
Copy link
Contributor Author

andremm commented Aug 8, 2025

@tammy-baylis-swi thanks for your review! I added a change a changelog entry.

@emdneto emdneto moved this to Easy to review / merge / close in @xrmx's Python PR digest Aug 11, 2025
@xrmx xrmx enabled auto-merge (squash) August 18, 2025 12:36
@xrmx xrmx merged commit f11f03c into open-telemetry:main Aug 18, 2025
632 checks passed
@github-project-automation github-project-automation bot moved this from Easy to review / merge / close to Done in @xrmx's Python PR digest Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Evaluate None token passed to context.detach
4 participants