Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Disable DeleteCollection for DCP resources

オープン
#280 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@TJ2005 がすでに取り組んでいます。

2026年10月8日 から。

  • #289 @TJ2005 による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
api, backend

調査の方向性

Start by reading Tilt filepath storage's DeleteCollection implementation and the v2NamespaceLifecycleStorage.DeleteCollection delegation described in the issue. Review the API storage tests, add coverage that collection deletion returns MethodNotSupported for the applicable V1 and V2 resources, and confirm shutdown and namespace cleanup still use individual Delete requests.

索引モデルが issue の本文から書いたものです。

説明

Tilt filepath storage implements DeleteCollection by directly removing matching files. It does not run the per-object deletion path, honor finalizers, or publish deletion watch events.

DCP production cleanup does not require collection deletion: shutdown cleanup and V2 namespace cleanup list resources and issue individual Delete requests. However, DCP currently exposes DeleteCollection through its API, including explicitly delegating it for namespace-scoped V2 child resources in v2NamespaceLifecycleStorage.DeleteCollection.

Restrict collection deletion so clients cannot bypass normal controller-driven cleanup semantics.

Scope

  • Reject DeleteCollection for namespace-scoped V2 resources.
  • Review V1 resources for the same exposure and disable the operation where it is not intentionally supported.
  • Update API storage tests to verify collection deletion returns MethodNotSupported.
  • Confirm ordinary shutdown and namespace cleanup continue using individual object deletion.
主要言語
Go
スター
192
フォーク
27
平均マージ
2日 2時間
マージ済み PR(30日)
30

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/dcp のほかの issue

microsoft/dcp の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。