Skip to content

fix: show desktop daemon origin info#168

Merged
Tyru5 merged 2 commits into
mainfrom
bugfix/daemon-registry-info
Jul 18, 2026
Merged

fix: show desktop daemon origin info#168
Tyru5 merged 2 commits into
mainfrom
bugfix/daemon-registry-info

Conversation

@Tyru5

@Tyru5 Tyru5 commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Render daemon registry info with launcher provenance, treat Electron utility workers as running when their parent is alive, and pass the worker marker through execArgv so it shows up in process listings. Add coverage for PID ownership, status output, and desktop daemon startup.

Render daemon registry info with launcher provenance, treat Electron utility workers as running when their parent is alive, and pass the worker marker through execArgv so it shows up in process listings. Add coverage for PID ownership, status output, and desktop daemon startup.
@greptile-apps

greptile-apps Bot commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

This PR is safe to merge. The changes are well-scoped, all three changed behaviors (status display, Electron utility process detection, orphan detection) are exercised by new or updated tests, and the execArgv pitfall is explicitly guarded in both code and tests.

All modified paths have direct test coverage. The isElectronUtilityCommand check is correctly narrowed to the Node-specific sub-type rather than the broader Chromium utility type. The args-vs-execArgv decision is correct and verified by the fork-call assertion. No pre-existing injection or liveness issues are made worse by the changes.

No files require special attention.

Reviews (2): Last reviewed commit: "fix: harden desktop daemon ownership che..." | Re-trigger Greptile

Comment thread packages/desktop/src/main/desktop-daemon-manager.ts Outdated
Comment thread packages/cli/src/pid.ts
Comment thread packages/desktop/src/main/desktop-daemon-manager.ts
Drop invalid execArgv that would crash Node workers, narrow utility matching to NodeService, and honor injected PID liveness hooks.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Tyru5
Tyru5 merged commit 4098459 into main Jul 18, 2026
4 checks passed
@Tyru5
Tyru5 deleted the bugfix/daemon-registry-info branch July 18, 2026 04:03
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.

1 participant