Full rebuild after killing daemon
- Dominant language
- Rust
- Stars
- 4.4k
- Forks
- 394
- PR merge metrics
- No merged PRs in 30d
Description
If I do `buck2 build //...` then `buck2 kill` then `buck2 build //...` it does a full rebuild every single time. I have the following in my buckconfig.
```
[buck2]
materializations = deferred
sqlite_materializer_state = true
defer_write_actions = true
hash_all_commands = true
restarter = true
```
This seems like a bug, wondering if this is expected behavior.
Contributor guide
Research direction
Reproduce the sequence `buck2 build //...`, `buck2 kill`, and `buck2 build //...` with the listed buckconfig settings, comparing whether the second build is a full rebuild. Trace the daemon shutdown and materializer state handling, then verify that artifacts are reused after `buck2 kill`, or establish and document that the behavior is expected.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100