Enhancement: add a `junit` input to the GitHub Action
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 74/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github-actions, typescript
調査の方向性
Start with action.yml and the action implementation, then read the baseline path validation and summary-out help probe; the issue names src/reporting/commands/scan.ts as the existing --junit entry point. Check the test/action-*.ts contract tests. Done when the optional input adds --junit only when set, rejects unsafe or conflicting paths, handles older CLI versions with a notice, and leaves default runs unchanged.
索引モデルが issue の本文から書いたものです。
説明
- Difficulty: small
- Area: GitHub Action
Problem
vg scan already has --junit <file> (src/reporting/commands/scan.ts, around line 406). The composite action in action.yml maps max-score, fail-on-epss, baseline, and max-worsening to flags, but has no first-class junit input. Callers must stuff --junit … into args, which is easier to get wrong and is not documented next to the other gates.
Expected behaviour
Add an optional junit input (repo-relative output path). When it is set, pass --junit <path> to scan, after the same kind of path check used for baseline (inside the repository, not absolute, not ..). Do not default it (empty means no JUnit file). output / --out and junit must remain different files; if they resolve to the same path, fail the step with the same message the CLI already uses. Probe scan --help for --junit the way summary-out is probed, so an older image-tag gets a notice instead of a hard failure on an unknown flag.
Acceptance
action.ymldocuments the input and that it maps to--junit.- A unit/contract test in the
test/action-*.tsstyle asserts the flag is added only when the input is set, is omitted when empty, and is rejected when it equalsoutput. - Default runs (no
junitinput) are unchanged.
- 主要言語
- TypeScript
- スター
- 4
- フォーク
- 3
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 76
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
vibgrate/cli のほかの issue
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
documentation Entwickler
難易度 1/5 1時間未満 初心者へのやさしさ 89/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area:frontend bug ci-test level:low priority:high
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
skytuhua-org/Gen-V1#2974 · コメント 4 件 ·
メンテナーはふだん 2 日以内に返信
-
area: cli area: core priority: P3 type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
appandflow/stim#6736 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
naomiaro/waveform-playlist#973 ·
メンテナーはふだん 1 日以内に返信