← Back to issue list

Config service should check whether the program is running in the app's snap

View original Github issue

Metadata

Project
craft-application
Number
#816
Type
issue
State
open
Author
lengau
Labels
Created
2025-07-17 22:12:06+00:00
Updated
2025-07-17 22:12:06+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Bug Description https://github.com/canonical/craft-application/blob/86fcd4078907cf084367d38fceda1b8a52b97911/craft_application/services/config.py#L91-L97 Currently we just check if we're running in *a* snap, we should check if we're running in the app's snap. ### To Reproduce Set the `SNAP` environment variable ### part yaml ```shell ``` ### Relevant log output ```shell n/a ```

Evaluation history

No evaluation history available.