Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Coverage Report
|
4aa6fdd to
415b781
Compare
Replace the daemon gRPC IPC in turbo watch with in-process file watching infrastructure. All watcher components (FileSystemWatcher, CookieWriter, GlobWatcher, PackageWatcher, HashWatcher, PackageChangesWatcher) are instantiated directly in WatchClient, eliminating the daemon dependency for watch mode. Key changes: - Replace DaemonClient with OutputWatcher trait in RunCache/TaskCache - Create InProcessOutputWatcher wrapping GlobWatcher - Build full watcher stack in WatchClient::new() - Pre-populate hash baselines at startup to prevent spurious rebuilds - Wait for active runs to complete before processing new change events - Make TUI start_task resilient to concurrent/out-of-order events - Handle SIGINT as clean exit (exit code 0, no error message) The daemon is still used by other consumers (turbo daemon CLI, LSP, turbo info, diagnostics). This change only decouples watch mode.
415b781 to
0d581ac
Compare
github-actions bot
added a commit
that referenced
this pull request
Mar 6, 2026
## Release v2.8.15-canary.1 Versioned docs: https://v2-8-15-canary-1.turborepo.dev ### Changes - release(turborepo): 2.8.14-canary.9 (#12173) (`27e8e67`) - release(turborepo): 2.8.14 (#12174) (`5e8fe42`) - feat: Remove daemon from watch mode (#12175) (`67ff6d2`) --------- Co-authored-by: Turbobot <turbobot@vercel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces the daemon gRPC IPC in
turbo watchwith in-process file watching. All watcher components are instantiated directly inWatchClient, eliminating the daemon as a dependency for watch mode.OutputWatchertrait to abstract output change tracking, replacingDaemonClientinRunCache/TaskCacheFileSystemWatcher→CookieWriter→GlobWatcher+PackageWatcher→HashWatcher→PackageChangesWatcherstart_taskresilient to out-of-order events from concurrent runsThe daemon is still used by other consumers (
turbo daemonCLI, LSP,turbo info).Testing
Manually verified on the turborepo monorepo (24 packages):
Automated: 11 E2E tests, 18 watch unit tests, 8 OutputWatcher trait tests, 6 GlobWatcher delegation tests, 2 TUI start_task resilience tests — all passing.