[PR #12992] fix: Add symlink setting (opt-in) to fix workflows relying on them #14468

Open
opened 2026-02-16 18:19:15 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12992

State: open
Merged: No


What does this PR do?

This PR adds a setting to allow RG / Grep to follow symlinks, like it used to do.
A setting was added to make this behavior opt-in, to avoid issues with complex folder structures + symlinks

How did you verify your code works?

Ran the tests, and tested with codebases where modules are added via symlinks, which PR #11415 broke.
That PR disabled following symlinks in search tools, to fix performance issues from symlinks to large directories or symlink loops.
By doing so it breaks other workflows that rely on symlinks to add modules, so this setting fixes that.

Fixes #10365

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12992 **State:** open **Merged:** No --- ### What does this PR do? This PR adds a setting to allow RG / Grep to follow symlinks, like it used to do. A setting was added to make this behavior opt-in, to avoid issues with complex folder structures + symlinks ### How did you verify your code works? Ran the tests, and tested with codebases where modules are added via symlinks, which PR #11415 broke. That PR disabled following symlinks in search tools, to fix performance issues from symlinks to large directories or symlink loops. By doing so it breaks other workflows that rely on symlinks to add modules, so this setting fixes that. Fixes #10365
yindo added the pull-request label 2026-02-16 18:19:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14468