pipectl transfer restore application drops backed-up labels
メンテナーはふだん 2 日以内に返信
@bhavishyajain545 がすでに取り組んでいます。
2026年11月13日 から。
評価
調査の方向性
AddApplicationRequest の構築箇所付近にある pkg/app/pipectl/cmd/transfer/restore_application.go と、関連する control plane のコードである pkg/app/server/grpcapi/api.go を読み、ラベルがどこに保存されるか確認してください。まず、バックアップからラベルがどのようにデコードされ、復元対象として選択されるかを追ってください。復元リクエストにバックアップのラベルが含まれ、復元テストでそれらが fake API client に届くことを検証できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What happened
A backup includes application labels, and pipectl transfer restore application can use them to select applications from the file. The restored application starts without those labels. restoreApplications omits Labels from AddApplicationRequest, and the control plane stores labels from that request. Restore request · Control plane
What you expected to happen
The application is created on the target control plane with the labels from the backup.
How to reproduce it
- Run
pipectl transfer backupfor a source application labeledteam=backend. Confirm that the backup contains that label. - Restore the Piped, connect it to the target control plane, and wait for its repositories to register. Migration guide
- Against the target, run
pipectl transfer restore application --input-file=backup.json --piped-id-mapping-file=piped-mapping.json --labels=team:backend. Inspect the new application withpipectl application get --app-id=<new-id>immediately after creation.
A local Go test round-tripped backup JSON and ran the restore with a fake API client. Restore reported one success and sent an empty label map despite team=backend being present in the backup.
Environment
pipectl and control plane source at 87c6da5e7 on master.
- 主要言語
- Go
- スター
- 1.4k
- フォーク
- 391
- 平均マージ
- 4日 1時間
- マージ済み PR(30日)
- 58
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pipe-cd/pipecd のほかの issue
-
Applications at the repository root are not triggered by new commits対応中かも @Daksha1611 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 2 日以内に返信
-
pipedv1 kubernetes plugins ignore trafficRouting.istio.host in K8S_TRAFFIC_ROUTING対応中かも @Dhirenderchoudhary が今日担当しました。 オープン
難易度 2/5 半日 初心者へのやさしさ 74/100
pipe-cd/pipecd#7626 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 2 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
docker-compose: postgres healthcheck should probe TCP (pg_isready -h localhost)対応中かも @zezo-mohamed22 が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
OneBusAway/watchdog#305 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
self-care self-care:agent-discoverability
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
githubnext/gh-cao#20928 ·
メンテナーはふだん 1 日以内に返信
-
automation documentation
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
SocialGouv/iterion#3287 ·
メンテナーはふだん 1 日以内に返信