Skip to content

Conversation

@andyrewlee
Copy link
Owner

@andyrewlee andyrewlee commented Jan 29, 2026

  • Watch working tree directories recursively (excluding node_modules, .git, etc.)
  • Watch all workspaces at load time, not just on activation
  • Keep spinner alive while agents are active (len(activeWorkspaces) > 0)
  • Sync active workspace state on git status ticker as fallback
  • Handle dynamically created directories by adding watches on Create events
  • Prefer longest root match in findRoot() for nested workspaces
  • Make SetActiveWorkspaces return spinner command to fix race condition

Open with Devin

- Watch working tree directories recursively (excluding node_modules, .git, etc.)
- Watch all workspaces at load time, not just on activation
- Keep spinner alive while agents are active (len(activeWorkspaces) > 0)
- Sync active workspace state on git status ticker as fallback
- Handle dynamically created directories by adding watches on Create events
- Prefer longest root match in findRoot() for nested workspaces
- Make SetActiveWorkspaces return spinner command to fix race condition

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

View issue and 5 additional flags in Devin Review.

Open in Devin Review

Check that the workspace root is still being watched after acquiring
the mutex, before adding the watch path. This prevents orphaned entries
in watchPaths if Unwatch is called between findRoot and the mutex lock.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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