[pipedv1] Support plugin metadata in application data model and protobuf schema
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.4k
- Forks
- 364
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 84
Description
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
- Protobuf & Schema Updates: Update application
.protofiles inpkg/modelto includepluginsanddeployTargets. - Validation Logic: Update validation rules in
pkg/model/application.goso thatpipedv1plugin-based application configurations pass validation without requiringplatform_provider. - Unit Tests: Add unit tests under
pkg/modelverifying marshaling, unmarshaling, and validation for bothpipedv0andpipedv1application entities.
Acceptance Criteria
- Protobuf definitions generate cleanly via project codegen tools.
-
pipedv1application configs pass validation without requiringplatform_provider. - Existing
pipedv0unit tests pass without regression.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the application .proto files and application.go under pkg/model, then identify the project's code generation command. Add support for pipedv1 plugins and deployTargets while preserving pipedv0 platform_provider compatibility. Add pkg/model tests for marshaling, unmarshaling, and validation, and confirm code generation and existing pipedv0 tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100