Skip to content

feat(consensus): add --start-policy to consensus node install - #1488

Open
radkomih wants to merge 2 commits into
01067-consensus-node-start-stopfrom
01107-consensus-start-policy
Open

radkomih wants to merge 2 commits into
01067-consensus-node-start-stopfrom
01107-consensus-start-policy

Conversation

@radkomih

Copy link
Copy Markdown
Contributor

Description

This pull request changes the following:

  • Adds consensus node start and consensus node stop. These commands set spec.desiredRunState on the node's ConsensusCapsule with a separate server-side apply field manager, so install does not remove the value. They then wait for the node to reach the requested state (--ready-timeout, default 5m).
  • Adds --start-policy Auto|Manual to consensus node install. A Manual node stays stopped until consensus node start. If the flag is empty, install keeps the live policy of an installed node. A new node gets Auto.
  • Records startPolicy in state and adds it to the drift check.
  • The network genesis wait and the install status step do not wait for nodes that stay stopped. The install next steps show the consensus node start command only for such a node.
  • Updates docs/commands/README.md.

Related Issues

@radkomih radkomih self-assigned this Nov 24, 2026
@radkomih
radkomih added this pull request to stack #1489 November 24, 2026 07:33
@radkomih radkomih added the skip-kvm-runner Skip kvm-runner jobs (UAT, integration) in PR checks; for stacked PRs below the top label Nov 24, 2026
@radkomih
radkomih marked this pull request as ready for review November 24, 2026 14:01
@radkomih
radkomih requested review from a team as code owners November 24, 2026 14:01
@radkomih radkomih removed the skip-kvm-runner Skip kvm-runner jobs (UAT, integration) in PR checks; for stacked PRs below the top label Nov 24, 2026
@radkomih
radkomih requested a review from leninmehedy November 25, 2026 09:48
leninmehedy
leninmehedy previously approved these changes Nov 26, 2026

@leninmehedy leninmehedy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

leninmehedy
leninmehedy previously approved these changes Dec 3, 2026
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.

feat(consensus): --start-policy flag and conditional readiness wait for node install

2 participants