Skip to content

fix(core): watch only git projects#35957

Merged
kitlangton merged 1 commit into
devfrom
git-only-watcher
Jul 8, 2026
Merged

fix(core): watch only git projects#35957
kitlangton merged 1 commit into
devfrom
git-only-watcher

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • gate v1's root file watcher on detected VCS metadata, matching the v2 guard
  • keep .git metadata watching unchanged for Git projects
  • update the watcher integration test to assert non-Git roots are skipped

Test plan

  • bun test test/filesystem/watcher.test.ts (from packages/core)
  • bun typecheck (from packages/core)
  • repository pre-push typecheck (bun turbo typecheck)

@kitlangton kitlangton marked this pull request as ready for review July 8, 2026 20:46
@kitlangton kitlangton enabled auto-merge (squash) July 8, 2026 20:46
@kitlangton kitlangton merged commit f95f877 into dev Jul 8, 2026
11 checks passed
@kitlangton kitlangton deleted the git-only-watcher branch July 8, 2026 20:58
Eric-Guo added a commit to Eric-Guo/opencode that referenced this pull request Jul 9, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jul 9, 2026
Co-authored-by: Kit Langton <kit.langton@gmail.com>
Eric-Guo added a commit to Eric-Guo/opencode that referenced this pull request Jul 9, 2026
Eric-Guo added a commit to Eric-Guo/opencode that referenced this pull request Jul 9, 2026
anduimagui pushed a commit to anduimagui/opencode that referenced this pull request Jul 9, 2026
Co-authored-by: Kit Langton <kit.langton@gmail.com>
Eric-Guo added a commit to Eric-Guo/opencode that referenced this pull request Jul 9, 2026
Eric-Guo added a commit to Eric-Guo/opencode that referenced this pull request Jul 10, 2026
Eric-Guo added a commit to Eric-Guo/opencode that referenced this pull request Jul 10, 2026
Eric-Guo added a commit to Eric-Guo/opencode that referenced this pull request Jul 10, 2026
Eric-Guo added a commit to Eric-Guo/opencode that referenced this pull request Jul 10, 2026
Eric-Guo added a commit to Eric-Guo/opencode that referenced this pull request Jul 10, 2026
Eric-Guo added a commit to Eric-Guo/opencode that referenced this pull request Jul 10, 2026
Eric-Guo added a commit to Eric-Guo/opencode that referenced this pull request Jul 10, 2026
Eric-Guo added a commit to Eric-Guo/opencode that referenced this pull request Jul 12, 2026
Eric-Guo added a commit to Eric-Guo/opencode that referenced this pull request Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant