You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nodespace logs falls back to another install's Homebrew log without saying so #3832
nodespace logs reads candidate_paths_for in packages/cli/src/commands/logs.rs. When ~/.nodespace/logs/nodespaced.log does not exist it falls back to the Homebrew locations (/opt/homebrew/var/log/nodespace/nodespaced.log, /usr/local/var/log/nodespace/nodespaced.log) and prints the first that exists as the daemon's log, with no warning, even when that file is a month old and belongs to a former Homebrew install. (With NODESPACE_HOME set, only the state-directory candidate is used.)
The LaunchAgent log ~/Library/Logs/com.nodespace/nodespaced.log is not a candidate at all.
Expected
When the chosen file is a fallback, the output names the path, says it may belong to another install and not the running daemon, and shows its last-modified time. When no candidate exists, it says which paths were looked at.
Acceptance criteria
When a fallback candidate (Homebrew) is chosen, the output names the path, says it may belong to another install, and states its last-modified time.
When no candidate exists, the message lists the paths checked.
~/Library/Logs/com.nodespace/nodespaced.log is considered as a last candidate if any registration or formula names it (today core's registration names ~/.nodespace/logs/nodespaced.log).
Unit tests for candidate_paths_for and the notice.
Why it matters
A tester or support engineer reads a stale foreign log as current.
Activity
mstomar125 commentedon Oct 20, 2026
Planned for core v0.3.9.