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

Conversation

@johnpyp
Copy link

@johnpyp johnpyp commented Nov 18, 2025

Description

Fixes #9421

This PR refactors watch mode task restarts to be "fine-grained", such that if a package changes, only active tasks which rely on that output get killed and restarted.

(Similar to #10846, but taking a slightly different approach which I think is cleaner).

Testing Instructions

Manual testing confirms the issue is fixed with this change. There aren't any existing automated tests for watch and the like, given that it's a long running process I assume.

@vercel
Copy link
Contributor

vercel bot commented Nov 18, 2025

@johnpyp is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@johnpyp johnpyp changed the title fix: interruptible, persistent tasks kill a targeted subset of the graph fix: fine grained interruptible task restarts in watch mode Nov 18, 2025
@johnpyp johnpyp changed the title fix: fine grained interruptible task restarts in watch mode fix: add fine grained interruptible task restarts in watch mode Nov 18, 2025
@johnpyp johnpyp force-pushed the fix/interruptible-task-termination branch 2 times, most recently from 0475181 to c091360 Compare November 18, 2025 22:19
@johnpyp johnpyp force-pushed the fix/interruptible-task-termination branch from c091360 to de049c1 Compare November 18, 2025 23:40
@johnpyp johnpyp changed the title fix: add fine grained interruptible task restarts in watch mode fix: Add fine grained interruptible task restarts in watch mode Nov 18, 2025
@johnpyp johnpyp marked this pull request as ready for review November 18, 2025 23:43
@johnpyp johnpyp requested a review from a team as a code owner November 18, 2025 23:43
@johnpyp johnpyp requested a review from tknickman November 18, 2025 23:43
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.

Interruptible tasks are terminated without being restarted

1 participant