Skip to content

revert(provider-core): leave CLAUDE_SECURESTORAGE_CONFIG_DIR unexpanded - #217

Merged
yordis merged 1 commit into
mainfrom
yordis/revert-expand-secure-storage-config-dir
Nov 7, 2026
Merged

yordis merged 1 commit into
mainfrom
yordis/revert-expand-secure-storage-config-dir

Conversation

@yordis

@yordis yordis commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Note

Low Risk
Narrows home-path expansion to one env var with no auth or data-layer changes beyond avoiding Keychain mismatches.

Overview
Stops expanding ~ paths for CLAUDE_SECURESTORAGE_CONFIG_DIR when merging provider instance environments, while CODEX_HOME, CLAUDE_CONFIG_DIR, and GROK_HOME still expand as before.

HOME_PATH_VARIABLES in pathExpansion.ts no longer includes that name, and the merge tests drop expectations that it gets rewritten under the user home directory. Configured values stay literal so Claude’s macOS Keychain binding stays aligned with existing logins (reverting the behavior from #216).

Reviewed by Cursor Bugbot for commit 3beab8e. Bugbot is set up for automated code reviews on this repo. Configure here.

- Claude derives its macOS Keychain entry from the literal value, so expanding a configured ~ path would orphan existing logins

Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
@coderabbitai

coderabbitai Bot commented Nov 7, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You'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 38 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 779178c and 3beab8e.

Files selected for processing: 2

  • packages/provider-core/src/server/instanceEnvironment.test.ts
  • packages/provider-core/src/server/pathExpansion.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@github-actions github-actions Bot added the vouch:trusted Author is trusted by repo permissions or the VOUCHED list. label Nov 7, 2026
@cursor

cursor Bot commented Nov 7, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: e0fe8ebe-91d0-4e87-b2f7-8b3019699080)

@yordis
yordis merged commit 886aa9f into main Nov 7, 2026
27 of 29 checks passed
@yordis
yordis deleted the yordis/revert-expand-secure-storage-config-dir branch November 7, 2026 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant