Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open Beginner friendly
#1,620 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
88/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
cli

Research direction

Start in crates/registry-evidencectl/src/doctor.rs and read the committed test doctor_passes_a_relative_audit_path_from_the_default_current_directory_project. Run the declared audit.path through shared runtime validation before filesystem inspection, while retaining the resolved path for inspection. Update the test to expect validation refusal, then run the relevant test.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Rust
Stars
2
Forks
0
Avg merge
5h 13m
Merged PRs (30d)
176

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from registrystack/registry-stack

All issues in registrystack/registry-stack

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.