Skip to content

revert #10272 due to tokio-rs/tokio#8056 - #10279

Merged
hawkw merged 1 commit into
mainfrom
eliza/tokio-downgrade
Apr 16, 2026
Merged

hawkw merged 1 commit into
mainfrom
eliza/tokio-downgrade

Conversation

@hawkw

@hawkw hawkw commented Apr 16, 2026

Copy link
Copy Markdown
Member

This reverts commit 5c0b62d, which merged the oxide-tokio-rt release that updates the Tokio dependency to Tokio v1.52.0.

Unfortunately, the changes released in v1.52.0 include tokio-rs/tokio#7757, which results in a regression (tokio-rs/tokio#8056) that causes some of our tests to hang (see #10277). I'm quite sad that this is necessary, as this update also contained the fix for #9619, which we are now again susceptible to, but the regression in spawn_blocking is a blocker for the update. Sigh.

@hawkw
hawkw requested a review from iliana April 16, 2026 17:58
@hawkw
hawkw merged commit 44ceb62 into main Apr 16, 2026
18 checks passed
@hawkw
hawkw deleted the eliza/tokio-downgrade branch April 16, 2026 19:15
hawkw added a commit that referenced this pull request Apr 16, 2026
Commit #10272 updated our dependency on `oxide-tokio-rt` to v0.1.4 and
our `tokio` dependency to v1.52.0. This allowed us to pick up two of my
fixes for Tokio issues that have been a thorn in our side for a long
time, tokio-rs/tokio#7431 and tokio-rs/tokio#8010, which fix #8334 and
#9619, respectively. The nature of these fixes is described in greater
detail in #10272.

Unfortunately, #10272 had to be reverted (in #10279), since @iliana
discovered an unrelated regression in Tokio v1.52.0, tokio-rs/tokio#8056
(our issue #10277). This regression caused `spawn_blocking` to
occasionally hang, and was introduced in
tokio-rs/tokio@1604bc3 (PR
tokio-rs/tokio#7757).

I've since reverted this change upstream (tokio-rs/tokio#8057), and
published a patch release ([v1.52.1]), which fixes the regression.
Therefore, it is now once again safe to update our Tokio dependency to
pick up the other fixes. This commit does that. I've also confirmed that
the issue described in #10277 is no longer present in Tokio v1.52.1, as
demonstrated by the fact `cargo nextest run -p omicron-sled-agent
--stress-count 100 -- --exact artifact_store::test::issue_7796` now
succeeds without hanging once again.

Fixes #10272
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.

3 participants