Skip to content

Conversation

@domenkozar
Copy link
Member

Each profile now gets its own state directory to prevent old state from persisting when switching profiles. This fixes the issue where environment variables, processes, and GC roots from one profile would leak into another.

  • No profile: uses .devenv/ (backward compatible)
  • With profiles: uses .devenv/profiles/<sorted-joined-names>/
  • Example: --profile backend --profile frontend.devenv/profiles/backend-frontend/

All state files are now profile-isolated:

  • gc/shell, processes.pid, processes.log, input-paths.txt, etc.

Fixes #2165

🤖 Generated with Claude Code

Each profile now gets its own state directory to prevent old state from
persisting when switching profiles. This fixes the issue where environment
variables, processes, and GC roots from one profile would leak into another.

- No profile: uses `.devenv/` (backward compatible)
- With profiles: uses `.devenv/profiles/<sorted-joined-names>/`
- Example: `--profile backend --profile frontend` → `.devenv/profiles/backend-frontend/`

All state files are now profile-isolated:
- gc/shell, processes.pid, processes.log, input-paths.txt, etc.

Fixes #2165

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@domenkozar domenkozar requested a review from sandydoo December 29, 2025 15:59
@github-actions
Copy link
Contributor

🔍 Suggested Reviewers

Based on git blame analysis of the changed lines, the following contributors have significant experience with the modified code:

  • @sandydoo - 100.0% of changed lines (9 lines)

Please consider reviewing this PR as you have authored significant portions of the code being modified. Your expertise would be valuable! 🙏

This comment was automatically generated by git-blame-auto-reviewer

Last updated: 2025-12-29T16:00:07.313Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Profiles should get their own state directory

2 participants