Skip to content

[codex] add root process id setter#96

Merged
levivilet merged 1 commit into
mainfrom
codex/add-set-root-process-id
Jul 4, 2026
Merged

[codex] add root process id setter#96
levivilet merged 1 commit into
mainfrom
codex/add-set-root-process-id

Conversation

@levivilet

Copy link
Copy Markdown
Contributor

Summary

  • add ProcessExplorer.setRootProcessId for updating the worker root process id
  • initialize unknown rootPid as -1
  • reuse the resolved root process id after the first refresh instead of re-requesting it

Impact

This avoids repeated ProcessId.getMainProcessId calls after the process explorer has already resolved the root PID, while preserving the existing backend process-listing API.

Validation

  • cd packages/process-explorer-worker && npm test

@levivilet levivilet marked this pull request as ready for review July 4, 2026 20:58
@levivilet levivilet enabled auto-merge (squash) July 4, 2026 20:58
@levivilet levivilet merged commit 2eb5983 into main Jul 4, 2026
3 checks passed
@levivilet levivilet deleted the codex/add-set-root-process-id branch July 4, 2026 20:59
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