FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(cli): preserve symlinked config files by opencode-agent[bot] · Pull Request #45071 · anomalyco/opencode · GitHub

fix(cli): preserve symlinked config files - #45071

Open
opencode-agent[bot] wants to merge 1 commit into
v2from
cli-config-symlinks
Open

opencode-agent[bot] wants to merge 1 commit into
v2from
cli-config-symlinks

Conversation

opencode-agent Bot commented Aug 25, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Summary

  • preserve symlinked CLI configuration files during preference updates and legacy migrations by atomically replacing the resolved target instead of the link
  • share symlink-aware persistence across both write paths, clean up temporary files, and leave broken symlinks untouched

Closes #45067

Verification

  • bun test test/config.test.ts --timeout 30000 (17 passing)
  • bun typecheck
  • bun x prettier --check src/config/config.ts src/config/migrate.ts src/config/persist.ts

Requested by: @neriousy (Filip via Slack)

neriousy enabled auto-merge (squash) August 25, 2026 20:56
neriousy disabled auto-merge August 25, 2026 21:14

Copy link
Copy Markdown

@neriousy I really appreciate you picking this up promptly!

Please beat it into merging 🙌 Last failure seems to be from GH being down at the time.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL