← Back to issue list

Test must only pack if necessary

View original Github issue

Metadata

Project
craft-application
Number
#800
Type
issue
State
open
Author
cmatsuoka
Labels
Status: Triaged
Created
2025-07-04 17:11:18+00:00
Updated
2025-07-04 17:11:43+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Bug Description Running the test command shouldn't repack the artifact unless it's necessary. Keep a packed file state and use the state service to verify if the file needs to be repacked. ### To Reproduce Run `snapcraft test` on a project that uses craft testing and see the artifact being packed even if it's not necessary to repack. ### part yaml ```shell N/A ``` ### Relevant log output ```shell N/A ```

Evaluation history

No evaluation history available.