Title: Task was destroyed but it is pending: _coro_creating_hub_and_span · Issue #2908 · getsentry/sentry-python · GitHub
Open Graph Title: Task was destroyed but it is pending: _coro_creating_hub_and_span · Issue #2908 · getsentry/sentry-python
X Title: Task was destroyed but it is pending: _coro_creating_hub_and_span · Issue #2908 · getsentry/sentry-python
Description: How do you use Sentry? Sentry Saas (sentry.io) Version 1.34.0 Steps to Reproduce Hey team, I'm having a lot of "Task was destroyed but it is pending!" issues reported at Sentry. I'm running Sanic (v23.6.0) and here's a sample of the erro...
Open Graph Description: How do you use Sentry? Sentry Saas (sentry.io) Version 1.34.0 Steps to Reproduce Hey team, I'm having a lot of "Task was destroyed but it is pending!" issues reported at Sentry. I'm running Sanic (...
X Description: How do you use Sentry? Sentry Saas (sentry.io) Version 1.34.0 Steps to Reproduce Hey team, I'm having a lot of "Task was destroyed but it is pending!" issues reported at Sentry. I'...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/2908
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Task was destroyed but it is pending: _coro_creating_hub_and_span","articleBody":"### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Version\n\n1.34.0\n\n### Steps to Reproduce\n\nHey team,\r\n\r\nI'm having a lot of \"Task was destroyed but it is pending!\" issues reported at Sentry.\r\n\r\nI'm running Sanic (v23.6.0) and here's a sample of the errors:\r\n\r\nTask was destroyed but it is pending!\r\ntask: \u003cTask pending name='Task-532' coro=\u003cpatch_asyncio.\u003clocals>._sentry_task_factory.\u003clocals>._coro_creating_hub_and_span() running at /var/www/fernand/env/lib/python3.9/site-packages/sentry_sdk/integrations/asyncio.py:52> wait_for=\u003cFuture pending cb=[\u003cTaskWakeupMethWrapper object at 0x7f7af084d2b0>()]>>\r\n\r\nHere's a sample:\r\nhttps://cyril-nicodeme.sentry.io/issues/5081979263/events/6a88812f7d1d4c269d792b5f4b010541/\r\n\r\n(Hopefully, you can also access more details about the issue via the UUID internally).\n\n### Expected Result\n\nShould not have a \"Task was destroyed but it is pending!\" issue but properly send any issues\n\n### Actual Result\n\nFails with \"Task was destroyed but it is pending\"","author":{"url":"https://github.com/cnicodeme","@type":"Person","name":"cnicodeme"},"datePublished":"2024-03-26T14:48:41Z","url":"https://github.com/getsentry/sentry-python/issues/2908"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3215914c-8029-033c-569a-dbdc1be61431 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 93D2:1201C:2FCAE7:414B22:6B00C466 |
| html-safe-nonce | 68ea664338df16592dba13d5288fb9c47de29f4e31ed784208efa749f1c4b88c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0QyOjEyMDFDOjJGQ0FFNzo0MTRCMjI6NkIwMEM0NjYiLCJ2aXNpdG9yX2lkIjoiMjI3ODQ5NzY0MTQzMDA0MTcwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 864abedeadd5fb87e117e726a94f8f466b42947d7cf477a8c96d4b484ae1191b |
| hovercard-subject-tag | issue:2208475362 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-python/2908/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7c7971947ef22f2004f023b9b979a4093e207cdd3b1e405c277ab40801d9d308/getsentry/sentry-python/issues/2908 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c7971947ef22f2004f023b9b979a4093e207cdd3b1e405c277ab40801d9d308/getsentry/sentry-python/issues/2908 |
| og:image:alt | How do you use Sentry? Sentry Saas (sentry.io) Version 1.34.0 Steps to Reproduce Hey team, I'm having a lot of "Task was destroyed but it is pending!" issues reported at Sentry. I'm running Sanic (... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cnicodeme |
| hostname | github.com |
| expected-hostname | github.com |
| None | 93edd3bebc4afb7ce711ee74cb5d2a95927850b082a4d43e212222389cb1c415 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1fee81a280ea86312b69448e261b418189bfd5b5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width