You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I verified that the issue exists in the latest Turborepo canary release.
Link to code that reproduces this issue
do i need to?
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
Turborepo v2.2.4-canary.9
Describe the Bug
I have three persistent apps: app (nextjs), api (node), and worker (node). My node projects are marked as interruptible: true in the Turbo config.
I start my project using Turbo in watch mode. There are two different scenarios:
[WORKS] When I change a package that ALL my apps depend on, this scenario restarts interruptible apps correctly.
[DOESN'T WORK] When I change a package that SOME of my apps depend on. The issue affects tasks that don't depend on the modified package. If these tasks are marked as interruptible, they receive a SIGINT signal (exit code 130) and don't start again.
For example, when I change code in the Next.js app, my worker task changes the "progress icon status" to "done icon status" and the last log is:
My api task doesn't log anything and just hangs indefinitely. (it doesn't respond to any http requests etc so probably is killed)
I've tried different versions of Turbo, but none of them work.
Expected Behavior
If I change a task that is not a dependency of another persistent task, then the persistent task (marked as interruptible) should not receive SIGINT.
If this issue is difficult to fix, then at least add a restart mechanism for all interruptible tasks.
To Reproduce
Should be easy to reproduce in tests?
Additional context
No response
The text was updated successfully, but these errors were encountered:
Verify canary release
Link to code that reproduces this issue
do i need to?
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
Turborepo v2.2.4-canary.9
Describe the Bug
I have three persistent apps: app (nextjs), api (node), and worker (node). My node projects are marked as
interruptible: true
in the Turbo config.I start my project using Turbo in watch mode. There are two different scenarios:
For example, when I change code in the Next.js app, my worker task changes the "progress icon status" to "done icon status" and the last log is:
My api task doesn't log anything and just hangs indefinitely. (it doesn't respond to any http requests etc so probably is killed)
I've tried different versions of Turbo, but none of them work.
Expected Behavior
If I change a task that is not a dependency of another persistent task, then the persistent task (marked as interruptible) should not receive SIGINT.
If this issue is difficult to fix, then at least add a restart mechanism for all interruptible tasks.
To Reproduce
Should be easy to reproduce in tests?
Additional context
No response
The text was updated successfully, but these errors were encountered: