Docs: document vg scan / vg build exit codes for CI gating

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

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
cli, github-actions, node.js, typescript

調査の方向性

このTypeScript CLIで vg scan と vg build(および関連するreport/sbomコマンド)がプロセスの終了コードを設定している箇所を見つけ、成功、予算超過の検出結果、重大な失敗、設定ミスを列挙できるようにします。公開ドキュメントに終了コードの表と、検出結果をクラッシュとは異なる形で扱う vg を使った最小限のshellまたはGitHub Actionsのスニペットを追加します。issue #152に相互リンクしますが、そのdrift-gateの範囲をコピーしないでください。受け入れチェックリストの項目がドキュメントに記載され、DCOに署名されていれば完了です。

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

説明

documentation good first issue

Context

CI users gate pipelines on vg scan / vg build exit status but the public docs do not spell out which codes mean success, findings-above-budget, hard failure, or misconfiguration. Actionable, local-first CLI behavior needs an explicit exit-code table.

What to do

  1. Document exit codes for vg scan and vg build (and note related report/sbom commands if they share the same convention).
  2. Give a minimal CI snippet (shell or GitHub Actions) that treats “findings” differently from “tool crashed”.
  3. Cross-link #152 (Action drift-gate example) without duplicating that issue’s scope.

Acceptance

  • Exit-code table is in public docs
  • Distinguishes config/runtime failure from “findings present”
  • Example uses vg
  • DCO sign-off

Refs: #152 · #150 · roadmap #144

主要言語
TypeScript
スター
4
フォーク
3
平均マージ
1日 22時間
マージ済み PR(30日)
76

環境構築

はじめの一歩

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

vibgrate/cli のほかの issue

vibgrate/cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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