fix(evidencectl): doctor accepts a relative audit.path that evidence rejects
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
crates/registry-evidencectl/src/doctor.rs から始め、コミット済みのテスト doctor_passes_a_relative_audit_path_from_the_default_current_directory_project を読みます。ファイルシステムを検査する前に、audit.path を共有ランタイム検証に通しつつ、検査用に解決済みのパスを保持します。検証の拒否を期待するようにテストを更新し、その後、関連するテストを実行します。
索引モデルが issue の本文から書いたものです。
説明
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
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
registrystack/registry-stack のほかの issue
-
area:casework bug criticality:p3 triage:needs-implementation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
registrystack/registry-stack#1623 ·
メンテナーはふだん 1 日以内に返信
-
area:docs area:render bug criticality:p3 triage:needs-implementation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
registrystack/registry-stack#1618 ·
メンテナーはふだん 1 日以内に返信
-
agent-ready area:platform bug criticality:p3 rust triage:needs-implementation
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
registrystack/registry-stack#1583 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
docs(breg): configure/breg.mdx lists stages for a request_lifecycle when, which bregctl refusesオープンagent-ready area:breg area:docs criticality:p3 documentation triage:needs-implementation
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
registrystack/registry-stack#1574 ·
メンテナーはふだん 1 日以内に返信
-
area:docs area:release criticality:p2 documentation triage:needs-implementation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
registrystack/registry-stack#1474 ·
メンテナーはふだん 1 日以内に返信
registrystack/registry-stack の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
linebender/parley#849 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
boxlite-ai/boxlite#1729 ·
メンテナーはふだん 1 日以内に返信
-
external
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
langchain-ai/docs#6255 ·
メンテナーはふだん 1 日以内に返信
-
P2 testing
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信