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

caseworkctl check: honour --deny-warnings and --production instead of ignoring them

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

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

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

評価

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

調査の方向性

crates/registry-caseworkctl/src/project.rs の check と crates/registry-caseworkctl/src/lib.rs の CheckArgs 定義を読み、caseworkctl test が --deny-warnings をどのように扱うか比較してください。Issue に記載されたコマンドで再現し、その後、両方のフラグについてレポートと終了コードを確認してください。フラグがドキュメントどおりに動作するか、未対応の動作が CLI とリファレンスから削除されれば完了です。フラグに変更があれば、cargo run --locked -p registry-cli-docs -- --write で CLI ドキュメントを再生成してください。

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

説明

1.0-blocker area:casework bug criticality:p1 triage:needs-implementation
What Happened

caseworkctl check accepts --deny-warnings and --production and ignores both. With an authored warning present, caseworkctl check PROJECT --deny-warnings prints the warning, reports ok: true, and exits 0. The JSON report is identical with and without either flag. caseworkctl test PROJECT --deny-warnings on the same project does refuse (exit 1), so the two commands disagree about the same flag.

Expected Behavior
  • --deny-warnings: a check with any warning reports ok: false and exits with the domain-refusal code, as test --deny-warnings does.
  • --production: either runs the production checks its help text promises ("Check the exact package closure required for production"), or the flag is removed from the clap definition and the CLI reference until it does something.
Reproduction
caseworkctl init demo --template standalone-decision
mkdir -p demo/holiday-sets/nested
caseworkctl check demo --deny-warnings --production; echo "exit $?"   # warning, exit 0
caseworkctl test demo --deny-warnings; echo "exit $?"                 # warning, exit 1
Where

crates/registry-caseworkctl/src/project.rs:check (parameters _production, _deny_warnings); flags declared in crates/registry-caseworkctl/src/lib.rs CheckArgs. A change to the flags needs cargo run --locked -p registry-cli-docs -- --write.

Environment

Registry Stack 0.42.0, main as of 2026-10-18.

主要言語
Rust
スター
2
フォーク
0
平均マージ
10時間 32分
マージ済み PR(30日)
269

環境構築

はじめの一歩

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

registrystack/registry-stack のほかの issue

registrystack/registry-stack の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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