Repository navigation
fix(normalize): preserve mode and reject symlink configs - #4319
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 34 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. CodeRabbit Verify
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…#3180) Main now normalizes the v1 `plugin` key to canonical `plugins`, so the fixtures added with the mode/symlink fix (which used `plugins` as input) became no-ops after merging main: the repair never wrote, and the mode-preserved case asserted the old rename direction. Flip both fixtures to the v1 input spelling so each case still exercises a real rewrite, and expect the canonical `plugins` output.
|
🤖 Agent note · merged main + fixture alignment (task 7433 triage)
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary
Adds focused mode-preservation and symlink-refusal fixtures in
normalize_test.sh. Fixes #3180.Evidence
0600config to0644and replaced a symlink path with a regular file.bash pkgs/opencode-config-normalize/normalize_test.sh— all 8 cases passed;bash -nandgit diff --checkpassed.Merge Danger
Door: Two-way — the config write remains an atomic replacement and can be reverted.
Blast Radius: Localized — only the opencode config normalizer and its tests.
Need help on this PR? Tag
@codesmith-botwith what you need.