Skip to content

[Infra] Allow to programmatically scale actors on DevNet #883

@okdas

Description

@okdas

Objective

In order to thoroughly test the network, we need a way to programmatically provision and remove nodes on the network. This is a requirement for, for example, a state sync end-to-end test.

Origin Document

Identified the requirement for this during #829.

Goals

  • A way to easily change infrastructure during end-to-end tests.

Deliverable

  • An HTTP endpoint that accepts the name of the actor and the desired number of nodes.
  • As a consequence of that feature, we can scale network through the UI. Add that feature to the dashboard.
  • Update documentation to reflect the changes to scaling procedure, include information about HTTP endpoint and the UI.

General issue deliverables

  • Update the appropriate CHANGELOG(s)
  • Update any relevant local/global README(s)
  • Update relevant source code tree explanations
  • Add or update any relevant or supporting mermaid diagrams

Testing Methodology

  • Task specific tests or benchmarks: make ...
  • New tests or benchmarks: make ...
  • All tests: make test_all
  • LocalNet: verify a LocalNet is still functioning correctly by following the instructions at docs/development/README.md
  • k8s LocalNet: verify a k8s LocalNet is still functioning correctly by following the instructions here

Creator: @okdas
Co-Owners: N/A

Metadata

Metadata

Assignees

Labels

infraCore infrastructure - not protocol related

Type

No type

Projects

Status

In Review

Relationships

None yet

Development

No branches or pull requests

Issue actions