ref: Rename config folder from .sentry-cli-next to .sentry#50
Merged
Conversation
Contributor
Codecov Results 📊✅ Patch coverage is 100.00%. Project has 1179 uncovered lines. Files with missing lines (18)
Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
- Coverage 64.18% 58.34% -5.84%
==========================================
Files 28 33 +5
Lines 2211 2830 +619
Branches 0 0 —
==========================================
+ Hits 1419 1651 +232
- Misses 792 1179 +387
- Partials 0 0 —Generated by Codecov Action |
- Update default config directory from ~/.sentry-cli-next to ~/.sentry - Rename environment variable from SENTRY_CLI_CONFIG_DIR to SENTRY_CONFIG_DIR - Export constants CONFIG_DIR_ENV_VAR and DEFAULT_CONFIG_DIR_NAME for reuse - Export getConfigDir() helper and use it in context.ts - Update test files to use the exported constant
0e7caf0 to
8d17efb
Compare
Contributor
Semver Impact of This PR🟢 Patch (bug fixes) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨
Internal Changes 🔧
🤖 This preview updates automatically when you update the PR. |
BYK
commented
Jan 23, 2026
- Add test/helpers.ts with createTestConfigDir() and cleanupTestDir() - Use fs.promises.mkdtemp with os.tmpdir() for proper temp directory isolation - Remove hardcoded /tmp fallback that wouldn't work on Windows - Simplify beforeEach/afterEach in E2E and lib tests
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Renames the config folder from
~/.sentry-cli-nextto~/.sentryand updates the environment variable fromSENTRY_CLI_CONFIG_DIRtoSENTRY_CONFIG_DIR.Changes
src/lib/config.tsandsrc/context.ts