pipe-cd / pipe-cd/pipecd

Rollback stage for K8s app is not removing the newly added resources in the new commit

Open
#1,972 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/bug
Dominant language
Go
Stars
1.4k
Forks
364
Avg merge
1d 4h
Merged PRs (30d)
84

Description

What happened:

https://github.com/pipe-cd/pipe/blob/master/pkg/app/piped/executor/kubernetes/rollback.go
Currently, it only removes "canary", "baseline" resources.

What you expected to happen:

How to reproduce it:

Environment:

  • piped version:
  • control-plane version:
  • Others:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading pkg/app/piped/executor/kubernetes/rollback.go and trace how rollback currently handles canary and baseline resources. Identify how resources newly added by the new commit are represented and determine the expected removal behavior; verify that rollback removes those resources without affecting retained ones.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.