Check disk free space ahead of time when updating toolchains
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 22h 40m
- Merged PRs (30d)
- 46
Description
Problem you are trying to solve
Currently, when the disk free space is low (still usable, but not enough for the old toolchain and new toolchain to coexist), the update proceeds, then when using up all remaining space, it rolls back.
Solution you'd like
This processed could be enhanced to estimating remaining space a head of time, and failing and prompting user early.
Notes
No response
Contributor guide
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
No files, tests, or entry points are named. Start by tracing the toolchain update and rollback flow, then identify how available disk space and toolchain sizes can be determined before the update; done means low-space updates fail with a user-facing prompt before consuming the remaining space.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100