states: make stage package tracking optional
Metadata
Current evaluation
Stage package tracking became optional, reducing resource use and enabling tmpfs work directories when disabled. PR #343 was merged in commit 82a419ec.
Resolution: closed resolved
Reason: The approved change was merged in commit 82a419ec, adding configurable stage-package tracking for faster, lower-resource execution.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Stage package tracking is used Snapcraft to add a list of primed stage packages to the manifest file when `--enable-manifest` is used. This is implemented using extended file attributes in Linux.
Making stage package tracking optional brings in a number of advantages: it allows other applications such as Rockcraft and Charmcraft to run faster and consume less resources, and also allows work dirs on tmpfs when package tracking is disabled (e.g. when configuring the default lxd profile for application projects to mount `/tmp` and `/root` as tmpfs).
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Stage package tracking became optional, reducing resource use and enabling tmpfs work directories when disabled. PR #343 was merged in commit 82a419ec. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in craft-parts#343, making stage package tracking optional to reduce resource use and allow tmpfs work directories when tracking is disabled. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Makes stage package tracking optional, improving performance and reducing resource usage for Rockcraft and Charmcraft while enabling tmpfs work directories. Approved by one reviewer and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Stage package tracking in Snapcraft is now optional, improving performance and reducing resource usage for Rockcraft and Charmcraft. This change also enables tmpfs work directories when tracking is disabled. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.