Skip to content

refactor(api): move machine controller to separate crate#1964

Open
poroh wants to merge 2 commits into
NVIDIA:mainfrom
poroh:machine-controller-crate
Open

refactor(api): move machine controller to separate crate#1964
poroh wants to merge 2 commits into
NVIDIA:mainfrom
poroh:machine-controller-crate

Conversation

@poroh
Copy link
Copy Markdown
Contributor

@poroh poroh commented May 27, 2026

Description

This is final PR of moving out machine state controller to separate crate.

It contains two comits:

  1. Move of the controller code to the crate
  2. Split RPC types to avoid machine controler -> full RPC crate dependency

Type of Change

  • Add - New feature or capability
  • Change - Changes in existing functionality
  • Fix - Bug fixes
  • Remove - Removed features or deprecated functionality
  • Internal - Internal changes (refactoring, tests, docs, etc.)

Related Issues (Optional)

Breaking Changes

  • This PR contains breaking changes

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed
  • No testing required (docs, internal refactor, etc.)

Additional Notes

@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 27, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@poroh poroh force-pushed the machine-controller-crate branch from e748795 to 4820a2b Compare May 27, 2026 22:39
@poroh poroh marked this pull request as ready for review May 28, 2026 00:39
@poroh poroh requested a review from a team as a code owner May 28, 2026 00:39
poroh added 2 commits May 27, 2026 17:43
Signed-off-by: Dmitry Porokh <dporokh@nvidia.com>
Move Scout firmware upgrade payload messages into a small dedicated proto and
use that generated code from the machine controller instead of depending on the
full RPC crate.

This keeps the machine controller’s RPC usage limited to JSON serialization of
firmware upgrade tasks and reduces coupling while preserving the existing
ForgeAgentControl wire shape.

Signed-off-by: Dmitry Porokh <dporokh@nvidia.com>
@poroh poroh force-pushed the machine-controller-crate branch from d9fb3b1 to f3b0b50 Compare May 28, 2026 00:43
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