Test: add Helm Chart.yaml / Chart.lock edge-case fixture for vg scan --iac

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

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
helm, nodejs, typescript
領域
cli, devops, testing

調査の方向性

test/ の下で、Dockerfile/Terraform のカバレッジに使用されている、既存の --iac / スキャン用フィクスチャランナーを探してください。欠落したロックファイルなど、ローカルのみで再現できるエッジケースを含む小さな Helm 構成(Chart.yaml、任意で Chart.lock または values、小さな templates/ サンプル)を追加してください。フィクスチャをそのランナーに組み込み、vg scan --iac が順序の安定したアサーションで、ネットワークを使わずに実行されるようにしてください。pnpm test、pnpm lint、pnpm typecheck が成功し、issue のチェックリストを満たせば完了です。

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

説明

enhancement good first issue

Context

--iac coverage already has a Dockerfile/Terraform corpus ticket (#159) and a quickstart docs issue (#145). Helm charts (Chart.yaml, optional Chart.lock, values files) are a common IaC path that still needs a small deterministic fixture so parse/resolve regressions show up in pnpm test rather than in user CI.

What to do

  1. Add a minimal Helm fixture under test/ (Chart.yaml + a tiny templates/ or values sample; include an edge case such as missing lock or unusual apiVersion if useful).
  2. Wire it into the existing --iac / scan fixture runner pattern; assert deterministic findings or graph facts (stable order).
  3. Keep the fixture tiny and free of secrets; prefer local-only paths.
  4. DCO (git commit -s).

Acceptance

  • Fixture is scanned via the same path users hit with vg scan --iac
  • Output assertions are order-stable across runs
  • No network required for the test
  • pnpm test, pnpm lint, pnpm typecheck pass
主要言語
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 を短くまとめたダイジェスト。