Skip to content

Conversation

dr-frmr
Copy link
Contributor

@dr-frmr dr-frmr commented Mar 15, 2024

Problem

Kernel currently restarts all persisted processes, which is confusing for developers given that a process exits when the node is shut down. This is a draft at reworking process exit behavior to be clearer and simpler

Solution

  1. On boot, only restart processes with OnExit::Restart or OnExit::Requests (TODO maybe only Restart?)
  2. Preserve a process' selected OnExit behavior by fixing bug

Docs Update

I'll just have to rework this whole section of docs when we get a good solution here

@dr-frmr dr-frmr changed the base branch from develop to main March 17, 2024 14:19
@dr-frmr dr-frmr changed the title kernel: do not reboot persisted processes if their OnExit behavior is None fix: kernel: do not reboot persisted processes if their OnExit behavior is None Mar 17, 2024
@dr-frmr dr-frmr merged commit af8e298 into main Mar 17, 2024
@dr-frmr dr-frmr deleted the dr/fix-on-exit branch March 17, 2024 14:19
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