Skip to content

Conversation

@Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Nov 19, 2024

The idea for our wrapper to require a Result return type for the callback function might have been good in theory, but leads to too many small annoyances in practice. Let's get rid of it and move back closer to the original spawn_blocking() implementation from tokio.

The idea for our wrapper to require a `Result` return type for the callback function might have been good in theory, but leads to too many small annoyances in practice. Let's get rid of it and move back closer to the original `spawn_blocking()` implementation from `tokio`.
@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Nov 19, 2024
@Turbo87 Turbo87 enabled auto-merge (squash) November 19, 2024 12:10
@Turbo87 Turbo87 merged commit d3106cd into rust-lang:main Nov 19, 2024
8 checks passed
@Turbo87 Turbo87 deleted the spawn-blocking branch November 19, 2024 12:12
@codecov
Copy link

codecov bot commented Nov 19, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 11 lines in your changes missing coverage. Please review.

Project coverage is 89.19%. Comparing base (80e44a8) to head (effdf3b).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
src/bin/crates-admin/delete_version.rs 0.00% 3 Missing ⚠️
src/bin/crates-admin/default_versions.rs 0.00% 1 Missing ⚠️
src/bin/crates-admin/dialoguer.rs 0.00% 1 Missing ⚠️
src/bin/crates-admin/migrate.rs 0.00% 1 Missing ⚠️
src/bin/crates-admin/render_readmes.rs 0.00% 1 Missing ⚠️
src/bin/crates-admin/upload_index.rs 0.00% 1 Missing ⚠️
src/worker/jobs/archive_version_downloads.rs 0.00% 1 Missing ⚠️
src/worker/jobs/downloads/update_metadata.rs 0.00% 1 Missing ⚠️
src/worker/jobs/index/normalize.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10002   +/-   ##
=======================================
  Coverage   89.19%   89.19%           
=======================================
  Files         295      295           
  Lines       30757    30752    -5     
=======================================
- Hits        27433    27429    -4     
+ Misses       3324     3323    -1     

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


🚨 Try these New Features:

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

Labels

A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant