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

Remaining input checks: checkPage screenId, receipt counts, and verdict versus exit code

オープン
#304 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

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

調査の方向性

Start by locating checkPage, the receipt store's isReceipt, and the stdin Result checks used by usabl comment and usabl enforce; inspect their existing input validation and tests. Cover the shared screenId grammar, whole non-negative receipt counts, and verdict consistency with exit code, with refusals that identify the field without echoing its value. Done when each invalid input is refused and the command line exits 4.

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

説明

area: engine bug

Three small gaps left after the library boundary checks:

  1. checkPage does not check the caller's screenId against the shared id grammar. Every other entry point now does.
  2. The receipt store's isReceipt accepts any number for its counts. Counts should be whole, non-negative numbers.
  3. The Result check that usabl comment and usabl enforce run on stdin checks shape only. A Result whose verdict disagrees with its exit code is accepted.

Each one should refuse with InputRefusedError (or exit 4 on the command line), naming the field and never echoing the value.

主要言語
TypeScript
スター
0
フォーク
0
平均マージ
2時間 48分
マージ済み PR(30日)
8

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

usabl-dev/usabl のほかの issue

usabl-dev/usabl の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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