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

🤖 verification skills: harden check.sh and verify.sh argument and file handling (#391 follow-ups)

オープン 初心者向け
#392 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
bash
領域
devops, tooling

調査の方向性

hack/formal/aigatewaykey/check.sh と .mux/skills/verify-coder-k8s/scripts/verify.sh を読んでください。check.sh が --config、--out、--set をどのように解析するかを確認し、続いて load_run と verify.sh の EXIT トラップを調べてください。オプション値が欠けている場合に終了コード 2 で終了し、run.env がシンボリックリンクである場合、またはグループやその他のユーザーに書き込み権限がある場合に拒否され、VERIFY_RUN_DIR にシングルクォートが含まれていてもトラップ処理が機能すれば完了です。issue ではテストコマンドも実行コマンドも指定されていません。

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

説明

Follow-ups from Codex review round 4 on #391. Under the review limit for #391 (rounds 4 to 6 fix blockers only), I judged these minor and deferred them.

  1. hack/formal/aigatewaykey/check.sh: --config, --out or --set as the last argument exits 1 ("unbound variable"). Exit 1 means a rule violation. A malformed call must exit 2. Fix: check that each option has a value before reading $2.
  2. .mux/skills/verify-coder-k8s/scripts/verify.sh load_run: before it sources run.env, check that the file is a regular file (not a symlink) with no group or other write bits. Launch creates it with mode 0600 in a private run dir, so this matters only after someone changes its mode.
  3. verify.sh EXIT traps (coder-api port-forward, temp files): the traps build shell code from expanded paths. A ' in VERIFY_RUN_DIR breaks the trap and leaves the port-forward running. Use a trap function that reads already-set variables.

Trigger: the next change to either script.


Generated with mux • Model: anthropic:claude-opus-5-5 • Thinking: high

主要言語
Go
スター
5
フォーク
3
平均マージ
2時間 56分
マージ済み PR(30日)
163

環境構築

はじめの一歩

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

coder/coder-k8s のほかの issue

coder/coder-k8s の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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