Validate the `config` input before scanning
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 76/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github-actions, javascript
調査の方向性
Read src/action.js and src/config.js to trace how parsed config reaches analyze, then inspect test/config.test.js and the core CLI’s validation for parity. Add coverage for the listed invalid inputs and a valid config; done when invalid configs exit 2 with clear messages and the valid config remains unchanged. Run npm test -- test/config.test.js.
索引モデルが issue の本文から書いたものです。
説明
Context
The action parses the config with JSON.parse and passes the result to analyze. An unknown key or an inverted range is accepted silently, unlike the core CLI, which validates it.
Scope
src/action.jssrc/config.jstest/config.test.js
Acceptance criteria
- Unknown keys, inverted ranges, non-integer bounds and unknown ignore ids exit
2with a clear message. - The validation logic matches
codepact-coreand is covered by parity tests. - A valid config is unchanged.
Verification
npm test -- test/config.test.js
Complexity
Medium (3-4 hours)
Part of Stellar Wave. Comment to claim this issue before starting.
- 主要言語
- JavaScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 7時間 28分
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codepacct/codepact-action のほかの issue
-
documentation good first issue wave
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
codepacct/codepact-action#68 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue wave
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
codepacct/codepact-action#67 ·
メンテナーはふだん 1 日以内に返信
-
good first issue tests wave
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
codepacct/codepact-action#66 ·
メンテナーはふだん 1 日以内に返信
-
good first issue tests wave
難易度 1/5 1〜3時間 初心者へのやさしさ 79/100
codepacct/codepact-action#65 ·
メンテナーはふだん 1 日以内に返信
-
good first issue tests wave
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
codepacct/codepact-action#64 ·
メンテナーはふだん 1 日以内に返信
codepacct/codepact-action の issue をすべて見る
似ている issue
-
bug security
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
IbrahimHafez1/loadwise#251 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
erkamyaman/unslop-anything#421 ·
メンテナーはふだん 1 日以内に返信