Skip to content

feat(copm): consolidate and remove redundant proto definitions #4086

@LordKubaya

Description

@LordKubaya

Proto definitions are currently duplicated across multiple packages, with copies originally sourced from weaver/common/protos. To reduce fragmentation and maintenance overhead, we will centralize all shared proto definitions in the packages/cacti-comp-core package and update the rest of the codebase to reference them from there.

Problem

  • Multiple packages contain copied proto definitions, leading to divergence and inconsistent behavior.
  • Recent work has highlighted how widespread these duplicates are.
  • Maintaining these scattered copies is error-prone and inefficient.

Plan

  1. Identify all duplicated proto definitions across the repository.
  2. Move or consolidate the authoritative versions into packages/cacti-comp-core.
  3. Remove local proto copies from other packages.

Related PR

#4085

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions