Skip to content

refactor(measured-boot): move grpc conversions into rpc crate#1853

Open
poroh wants to merge 1 commit into
NVIDIA:mainfrom
poroh:measured-boot-rpc-conv-to-rpc
Open

refactor(measured-boot): move grpc conversions into rpc crate#1853
poroh wants to merge 1 commit into
NVIDIA:mainfrom
poroh:measured-boot-rpc-conv-to-rpc

Conversation

@poroh
Copy link
Copy Markdown
Contributor

@poroh poroh commented May 21, 2026

Description

Move measured-boot protobuf conversion traits and impls out of the measured-boot crate and into the rpc crate. This removes the transitional measured-boot -> rpc dependency and eliminates a transitive rpc dependency from downstream database/model crates.

This is part of the broader effort to remove direct model -> rpc and db -> rpc dependencies by keeping grpc-specific conversion logic alongside the generated protobuf types.

Also move measured-boot CLI table/summary helpers into the measured-boot crate so admin-cli output formatting no longer depends on rpc for those traits.

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

@poroh poroh requested a review from a team as a code owner May 21, 2026 01:30
Move measured-boot protobuf conversion traits and impls out of the
measured-boot crate and into the rpc crate. This removes the transitional
measured-boot -> rpc dependency and eliminates a transitive rpc dependency
from downstream database/model crates.

This is part of the broader effort to remove direct model -> rpc and db -> rpc
dependencies by keeping grpc-specific conversion logic alongside the generated
protobuf types.

Also move measured-boot CLI table/summary helpers into the measured-boot crate
so admin-cli output formatting no longer depends on rpc for those traits.

Signed-off-by: Dmitry Porokh <dporokh@nvidia.com>
@poroh poroh force-pushed the measured-boot-rpc-conv-to-rpc branch from 9d7549e to 27d3a3f Compare May 21, 2026 01:47
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