Cached recipe tracking issue
- Dominant language
- Rust
- Stars
- 35.8k
- Forks
- 846
- Avg merge
- 27m
- Merged PRs (30d)
- 3
Description
`just` now has a `[cache]` attribute added in #3437 and released in [1.54.0](https://github.com/casey/just/releases/tag/1.54.0) which skip recipe invocations if an entry matching the invocation is found in an on-disk cache.
This is a complex feature, so try it out and let me know what you think!
Possible future additions:
- Check input file mtime instead of hashing
- Invalidate cache if an executable changes
- Remove automatically added cache keys
- Allow input files to be directories
- Cache shell recipes
- Allow referencing `extra`, `inputs`, and `outputs` in recipe
Contributor guide
Research direction
Start by trying the `[cache]` attribute released in just 1.54.0 and exercise recipe invocations against an on-disk cache. Review the listed future additions and record concrete behavior gaps; done is a clearly scoped follow-up with reproducible observations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100