这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@anthonyshew
Copy link
Contributor

@anthonyshew anthonyshew commented Nov 7, 2025

Description

My theory is we have a race condition when child.stop() is called and child process exist quickly. We process the SIGINT in this tokio::select. Depending on which branch of the select the branch goes down, you could get the wrong behavior (KilledExternal instead of Interrupted).

biased; gives us determinism for this situation.

Testing Instructions

CI

CLOSES TURBO-4946

@anthonyshew anthonyshew requested a review from a team as a code owner November 7, 2025 14:38
@anthonyshew anthonyshew requested a review from tknickman November 7, 2025 14:38
@vercel
Copy link
Contributor

vercel bot commented Nov 7, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
examples-basic-web Ready Ready Preview Comment Nov 7, 2025 2:38pm
examples-designsystem-docs Ready Ready Preview Comment Nov 7, 2025 2:38pm
examples-gatsby-web Ready Ready Preview Comment Nov 7, 2025 2:38pm
examples-kitchensink-blog Ready Ready Preview Comment Nov 7, 2025 2:38pm
examples-nonmonorepo Ready Ready Preview Comment Nov 7, 2025 2:38pm
examples-svelte-web Ready Ready Preview Comment Nov 7, 2025 2:38pm
examples-tailwind-web Ready Ready Preview Comment Nov 7, 2025 2:38pm
examples-vite-web Ready Ready Preview Comment Nov 7, 2025 2:38pm
turbo-site Ready Ready Preview Comment Nov 7, 2025 2:38pm

@anthonyshew anthonyshew changed the title fix: improve determinism for graceful shutdown fix: Improve determinism for graceful shutdown Nov 7, 2025
@anthonyshew anthonyshew merged commit 0b516f6 into main Nov 7, 2025
56 of 63 checks passed
@anthonyshew anthonyshew deleted the shew/f06e2 branch November 7, 2025 15:50
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.

2 participants