Skip to content

Conversation

@Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Nov 10, 2024

This reverts commit dda300e.

The relevant code was used inside a std::thread::spawn() block, which currently does not have an attached tokio runtime, which means that Handle::current() panics in this case. Reverting the commit fixes the issue for now, but this should probably be refactored to use tokio tasks anyway...

@Turbo87 Turbo87 added C-bug 🐞 Category: unintended, undesired behavior A-backend ⚙️ labels Nov 10, 2024
@Turbo87 Turbo87 enabled auto-merge (squash) November 10, 2024 13:35
This reverts commit dda300e.

The relevant code was used inside a `std::thread::spawn()` block, which currently does not have an attached tokio runtime, which means that `Handle::current()` panics in this case. Reverting the commit fixes the issue for now, but this should probably be refactored to use tokio tasks anyway...
@Turbo87 Turbo87 merged commit f41a3df into rust-lang:main Nov 10, 2024
8 checks passed
@Turbo87 Turbo87 deleted the revert-runtime branch November 10, 2024 13:49
@codecov
Copy link

codecov bot commented Nov 10, 2024

Codecov Report

Attention: Patch coverage is 0% with 10 lines in your changes missing coverage. Please review.

Project coverage is 88.99%. Comparing base (9393e1b) to head (754dfa1).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/bin/crates-admin/render_readmes.rs 0.00% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9889      +/-   ##
==========================================
- Coverage   89.00%   88.99%   -0.02%     
==========================================
  Files         290      290              
  Lines       30080    30083       +3     
==========================================
- Hits        26773    26772       -1     
- Misses       3307     3311       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-backend ⚙️ C-bug 🐞 Category: unintended, undesired behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant