Repository navigation
Keep the daemon running after the window closes; PATH step reports what it wrote (closes #3822, closes #3823) - #3828
Conversation
Code Review SummaryVerdict: REQUEST CHANGES (daemon half is good; one real bug and a test gap on the PATH half). Self-approval is blocked, so this is posted as a comment review. The #3822 half is clean and minimal: the daemon-stop call is deleted outright (no flag, no dead code), pid-file cleanup stays, tray Quit is untouched, the CLI error names the start paths, and FindingsCritical Issues
Suggested Improvements (should fix before merge)
Edge cases checked
Stale comments / docs
Nitpicks
Acceptance criteria#3822: window close/Cmd+Q leaves daemon (met, by deletion); tray Quit stops both (unchanged, wiring tests present); relaunch attaches (existing healthy no-op); launchd/systemd/Windows independence (met, pre-existing flags); CLI message (met); tests updated (met at source-text level; the Verify launchctl scenario needs a manual run); docs landed separately. |
malibio
left a comment
There was a problem hiding this comment.
Review posted in the comment above. Verdict: REQUEST CHANGES (macOS bash rc target bug, missing frontend tests for the PATH banner and settings states, plus smaller improvements). The daemon-lifecycle half (#3822) looks good.
Review addressedFixed
Skipped
Re-Review DecisionDecision: NO RE-REVIEW NEEDED Rationale: Small, targeted fixes with direct tests; no new architecture or behavior beyond what the review requested. |
…eport what it wrote (closes #3822, closes #3823) Window close and Cmd+Q end the UI only; the tray Quit is the one way to stop the daemon, and the CLI's not-running error names how to start it. The onboarding PATH step checks whether nodespace really resolves, writes the login shell's rc file (creating it), covers every rc file the installer may use, reports what it changed, and says open terminals need a restart. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… tests Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
004a180 to
8ba1343
Compare
What
graceful_shutdownno longer stops the daemon; the tray Quit remains the explicit stop (and closes the UI). Removedsignal_daemon_to_stop(both platforms). The CLI's not-running error names how to start it. The Windows spawn was already detached; launchd/systemd own the service.nodespacereally resolves (check_cli_on_path), writes the login shell's rc file (creating it; fish and other shells covered), detects and removes across the same file set (.zshrc,.bash_profile,.bashrc,.profile, fish config), reports written/created/unchanged per file, and says open terminals need a restart. Settings shows Remove only when NodeSpace's own line exists.Docs:
architecture/daemon-cli-lifecycle.mdupdated in nodespace-docs; cloud-sync's "keeps syncing while the window is closed" is now true as written.Test
bun run test:changedpassed (frontend, scripts, browser, types, node-types, Rust nextest).🤖 Generated with Claude Code