devenv icon indicating copy to clipboard operation
devenv copied to clipboard

fix: isolate profile state in separate directories

Open domenkozar opened this issue 2 weeks ago • 1 comments

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

domenkozar avatar Dec 29 '25 15:12 domenkozar