Repository navigation
インフラまわりのコメントを削って行数を減らす - #447
Merged
Merged
Conversation
workflow・bootstrap・talos・pulumi・tools・renovate.json のコメントから、 経緯の語り(日付・以前の構成・撤去したもの)、コードを言い直しただけの説明、 複数のファイルで繰り返していた理由を削った。罠の警告(anonymous、 KubePrism 7445、--api-versions、CEL の claim 規則、nodePort の範囲など)は 1 行ずつ残した。 コメント以外の変更は無い。machine config に埋め込まれるファイル (namespace.yaml・rbac.yaml・local-path.yaml)と SOPS のファイルには触れていない。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JbmWyUB9jcBcYCnNyiGBSV
🍹
|
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.
概要
.github/・bootstrap/・talos/・pulumi/・tools/・renovate.json・.sops.yaml・compose.yaml・deploy/argocd.yamlのコメントを削った。差し引き 736 行減(57 ファイル、+333 / -1069)。削ったもの:
残したもの(1 行に縮めた):
anonymousを消さない、KubePrism 7445、--api-versionsと GatewayClass、CEL の claim 規則で絞っている理由claude_args: |の中に注釈を書かない、[ -n … ] &&で trap を終えない、sops -d | inlineと繋がない動きが変わらないこと
#///)を除いた中身が HEAD と同じであることを diff で確かめた。renovate.jsonはdescriptionの文字列だけで、JSON として読めることも確かめたtalos/render.shはコメントだけなので出力は変わらない。sh -n/bash -nを通した(tools/creds.sh・pulumi/*.shも同じ)。tools/t.ps1は PowerShell のパーサで構文エラー 0、BOM はそのままbootstrap/*/namespace.yaml・bootstrap/apiserver/rbac.yaml・talos/manifests/local-path.yaml)と、SOPS のファイル・talos/secrets.yaml・talos/registries.yaml・recovery/には触れていないtalos/patches/*.yamlとbootstrap/*/values.yamlはコメントだけ(talosctl と helm が捨てる)。ブロックスカラーの中のコメント(oidc.configなど)には触れていないbootstrap/*/version.yamlは先頭の説明行を消し、# renovate:の行とversion:だけにした(Renovate の正規表現と render.sh の sed が読むのはこの 2 行)🤖 Generated with Claude Code
https://claude.ai/code/session_01JbmWyUB9jcBcYCnNyiGBSV