Repository navigation
XCL-196 マージ後の cleanup で Preview を確実に消し、消せたらブランチを消す - #264
Merged
Merged
Conversation
Contributor
Code reviewNo issues found. Checked for bugs and AGENTS.md / CLAUDE.md compliance. 範囲: 全体 |
Contributor
This was referenced Nov 29, 2026
PR を閉じたときの削除に失敗すると Preview が残り、Preview には期限切れも一覧のコマンドもないため。
Preview は自然には消えないため。消せなければブランチが残るので、気づける。
HyuuNyackman
force-pushed
the
feature/xcl-196
branch
from
November 29, 2026 14:17
e74face to
3218857
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
PR を閉じたときの削除に失敗すると、Cloudflare の Preview が残る。Preview は自然には消えない (Workers の古いバージョンは 30 日で消えるが、Worker Previews のブランチ用の URL は対象外。一覧を出すコマンドもない)。別の定期実行は作らず、CI の cleanup で確実に消し、消せなければ気づける形にする。
変更内容
_cloudflare-deploy.ymlの cleanup:code: 10025) ときは成功develop・mainは消さない。マージせずに閉じた PR のブランチは消さない)。消せなければブランチが残るので、気づけるcontents: writeを足す (ci.ymlの呼び出しも合わせる)preview-cleanup.ymlは消した)受け入れ条件
動作確認
feature/xcl-196のブランチが消えるリスクの確認
.env*、キー、トークン) を含めていない人が確認すること
delete_branch_on_merge: falseを設定できるようにしている (ワーカーが作業中)。x-clone を kit のスキルに移すときに、設定ファイルで切る補足