Repository navigation
Conversation
spawn_companions wrote gateway.log and tray.log to $HOME/Library/Logs/capsem on every platform. That is the macOS per-user log location; on Linux it created a stray ~/Library directory, apart from the service's own logs in ~/.capsem/logs. Resolve the directory in companion_log_dir: unchanged on macOS and under an isolated CAPSEM_RUN_DIR, capsem_logs_dir() everywhere else.
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.
spawn_companionswrotegateway.logandtray.logto$HOME/Library/Logs/capsemon every platform. That is the macOS per-user log location. On Linux it creates a stray~/Librarydirectory, separate from the service's own logs in~/.capsem/logs.The directory is now resolved in
companion_log_dir: unchanged on macOS and under an isolatedCAPSEM_RUN_DIR,capsem_logs_dir()everywhere else.Tests. Two new unit tests in
service_runtime/tests.rs. The Linux one failed before the change (left: ~/Library/Logs/capsem,right: ~/.capsem/logs) and passes after.Not changed.
capsem uninstallstill removes~/Library/Logs/capsemif present, which also cleans up directories earlier versions left on Linux.🤖 Generated with Claude Code