Piped v1 plan preview marks apps as changed when plugins report no changes
What happened
A pipedv1 plan preview can report NoChange: false for an application even when its only plugin returns NoChange: true for every deploy target. The GitHub Action then shows a detailed plan with the summary “No changes were detected” for the same app.
The builder writes the combined flag back to the plugin result. The application flag stays at its zero value and pipectl copies that value into the JSON the action reads. Builder · CLI output · Action grouping
What you expected to happen
When the preview reports no resource changes for any target, the app has NoChange: true and appears under “No resource changes were detected” in the PR comment.
How to reproduce it
- Deploy a plain YAML Kubernetes app with pipedv1.
- Open a PR that changes only
spec.descriptioninapp.pipecd.yaml. Leave the manifests unchanged. - Run
pipectl plan-previewwith--outor useactions-plan-preview. The plugin summary says “No changes were detected” but the application is treated as changed.
A local Go test confirmed that the Kubernetes plugin returns NoChange: true for the description-only change. With a stubbed plugin RPC returning that flag, a second test reproduced NoChange: false from the builder. That result went through the CLI JSON conversion and appeared in the detailed plans in the rendered PR comment.
Environment
pipedv1, pipectl and actions-plan-preview source at 87c6da5e7.
I'd like to work on this.