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

fix(evidencectl): doctor accepts a relative audit.path that evidence rejects

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

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

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

評価

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

調査の方向性

crates/registry-evidencectl/src/doctor.rs から始め、コミット済みのテスト doctor_passes_a_relative_audit_path_from_the_default_current_directory_project を読みます。ファイルシステムを検査する前に、audit.path を共有ランタイム検証に通しつつ、検査用に解決済みのパスを保持します。検証の拒否を期待するようにテストを更新し、その後、関連するテストを実行します。

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

説明

area:evidence criticality:p3 triage:needs-implementation

Raised in review of #1560 (crates/registry-evidencectl/src/doctor.rs).

evidencectl doctor resolves a relative audit.path against the project directory before checking it, so the audit check passes, while RuntimeAuditConfig::validate requires the declared value to be absolute and evidence check and serve refuse the same runtime file. The committed test doctor_passes_a_relative_audit_path_from_the_default_current_directory_project encodes the mismatch.

Fix: run the declared path through the shared runtime validation first and report its refusal; use the resolved path only for the filesystem inspection. Update that test to expect the refusal.

主要言語
Rust
スター
2
フォーク
0
平均マージ
5時間 13分
マージ済み PR(30日)
176

環境構築

はじめの一歩

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

registrystack/registry-stack のほかの issue

registrystack/registry-stack の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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