← Back to issue list

BUILD step of a part organizing to the overlay should invalidate overlay contents of following parts

View original Github issue

Metadata

Project
craft-parts
Number
#1291
Type
issue
State
open
Author
upils
Labels
Created
2025-09-11 15:35:06+00:00
Updated
2025-09-11 15:35:06+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Bug Description See discussion https://github.com/canonical/craft-parts/pull/1261/files#r2333141004 If the BUILD step of a part organizing to the overlay is run/updated, content in the layer of this part can be changed. Consequently, layers of part applied on top of this one must be invalidated and the OVERLAY step of these part re-executed. ### To Reproduce See `test_basic_lifecycle_actions` First run with: ``` parts: bar: after: [foo] plugin: nil foo: plugin: nil organize: '*': (overlay)/ ``` Then change it to: ``` parts: bar: after: [foo] plugin: nil foo: plugin: nil source: a.tar.gz organize: '*': (overlay)/ ``` The OVERLAY step of `bar` will be re-executed but it should. ### part yaml ```shell ``` ### Relevant log output ```shell N/A ```

Evaluation history

No evaluation history available.