Skip to content

Conversation

@alexgex
Copy link
Contributor

@alexgex alexgex commented Jan 12, 2026

This pull request introduces several changes to the node CLI, primarily focused on improving host preparation and passive node operations, as well as cleaning up unused configuration paths. The most important updates include adding host environment checks during passive node initialization and update, adjusting file ownership for Redis data, and refactoring how compose file paths are determined for different node types.

Passive Node Operations and Host Checks:

  • Added pre-install host requirements checks to both init_passive and update_passive functions, ensuring that any failed checks are reported before proceeding. [1] [2]

Host Preparation Improvements:

  • Updated prepare_host to change ownership of the Redis data directory using chown, improving permission handling for Redis operations. [1] [2]

Docker Compose Services and Configuration:

  • Expanded BASE_PASSIVE_COMPOSE_SERVICES to include api and watchdog services in addition to existing ones, ensuring these services are managed for passive nodes.
  • Refactored get_compose_path to remove the use of PASSIVE_COMPOSE_PATH and instead select compose files based on node type, simplifying configuration logic.
  • Removed the unused PASSIVE_COMPOSE_PATH constant from configuration files and imports, cleaning up the codebase. [1] [2]

@alexgex alexgex linked an issue Jan 12, 2026 that may be closed by this pull request
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.

Merge SKALE active and passive node pipelines

4 participants