Crashing without file in ./src folder
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 21
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 18446744073709551615', adr_core_local_impl\src\adr_repo\mod.rs:140:27
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
To Reproduce
Steps to reproduce the behavior:
- Install on Windows
- Set new config values
- try creating new adr
Expected behavior
An Entry should be added
Desktop (please complete the following information):
- OS: Windows 11
- adr adr 0.1.0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Windows 11 crash while creating a new ADR with the updated configuration values. Inspect adr_core_local_impl\src\adr_repo\mod.rs at line 140 and use RUST_BACKTRACE=1 for context. Done means creating an ADR adds an Entry without panicking when the ./src folder has no file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100