pipecd icon indicating copy to clipboard operation
pipecd copied to clipboard

[pipedv1] Support plugin metadata in application data model and protobuf schema

Open UtkarshAnandd opened this issue 3 months ago • 4 comments

Parent Epic / Context

This issue is a sub-task derived from Epic #5252 (Make PipeCD control plane support plugin-arched piped) and Epic #5259.


What would you like to be added?

Update the application data model and Protobuf definitions in pkg/model to accommodate pipedv1 plugin metadata (plugins and deployTargets) while preserving backward-compatibility for legacy pipedv0 fields (platform_provider).


Why is this needed?

To allow the PipeCD Control Plane to handle both pipedv0 and pipedv1 agents simultaneously during the migration phase, the underlying application data structures must support plugin metadata without requiring legacy platform provider fields.


Proposed Solution & Implementation Plan

  1. Protobuf & Schema Updates: Update application .proto files in pkg/model to include plugins and deployTargets.
  2. Validation Logic: Update validation rules in pkg/model/application.go so that pipedv1 plugin-based application configurations pass validation without requiring platform_provider.
  3. Unit Tests: Add unit tests under pkg/model verifying marshaling, unmarshaling, and validation for both pipedv0 and pipedv1 application entities.

Acceptance Criteria

  • [ ] Protobuf definitions generate cleanly via project codegen tools.
  • [ ] pipedv1 application configs pass validation without requiring platform_provider.
  • [ ] Existing pipedv0 unit tests pass without regression.

UtkarshAnandd avatar Aug 05 '26 11:08 UtkarshAnandd

hey i would love to work on this issue please assign it to me. @rahulshendre @Ayushmore1214

vanshika2720 avatar Aug 07 '26 16:08 vanshika2720

@vanshika2720 Hey I am already working on this you can look for another sub issue from the parent issue bcz that one labelled as Epic

UtkarshAnandd avatar Aug 07 '26 17:08 UtkarshAnandd

@rahulshendre @mohammedfirdouss thoughts on this one ?

Ayushmore1214 avatar Aug 07 '26 17:08 Ayushmore1214

Hey @Ayushmore1214 , I noticed that its been a couple of months since the last update on this PR. I'd like to work on this could you assign this to me ?

Atharva-Ramawat avatar Oct 19 '26 04:10 Atharva-Ramawat