App snippets product theme check warning [OrphanedSnippet]

I have reproduced the issue on the latest CLI version.

Yes, I am on the latest version

I have searched existing posts and this report is not a duplicate.

Yes, this isn’t a duplicate

In which of these areas are you experiencing a problem?

App

Expected behavior

Running shopify app dev produces a clean output for app theme extension snippets and obeys .theme-check.yml

Actual behavior

Regardless of if a app snippet is used in an app block, it produces OrphanedSnippet warnings. It appears that adding a .theme-check.yml isn’t a work around for this issue either.

Reproduction steps

Run shopify app dev with a file in the snippets folder and view output

Verbose output

theme β”‚ [warning]: OrphanedSnippet
13:29:13 β”‚                     theme β”‚ This snippet is not referenced by any other files
13:29:13 β”‚                     theme β”‚
13:29:13 β”‚                     theme β”‚ 1  {% assign currency_unit = shop.metafields.discount_kit.shop_currency_unit.value %}
13:29:13 β”‚                     theme β”‚
13:29:13 β”‚                     theme β”‚
13:29:13 β”‚                     theme β”‚ [warning]: OrphanedSnippet
13:29:13 β”‚                     theme β”‚ This snippet is not referenced by any other files
13:29:13 β”‚                     theme β”‚
13:29:13 β”‚                     theme β”‚ 1  {% style %}
13:29:13 β”‚                     theme β”‚
13:29:13 β”‚                     theme β”‚
13:29:13 β”‚                     theme β”‚ [warning]: OrphanedSnippet
13:29:13 β”‚                     theme β”‚ This snippet is not referenced by any other files
13:29:13 β”‚                     theme β”‚
13:29:13 β”‚                     theme β”‚ 1  {% liquid
13:29:13 β”‚                     theme β”‚
13:29:13 β”‚                     theme β”‚
13:29:13 β”‚                     theme β”‚ [warning]: OrphanedSnippet
13:29:13 β”‚                     theme β”‚ This snippet is not referenced by any other files
13:29:13 β”‚                     theme β”‚
13:29:13 β”‚                     theme β”‚ 1  {% liquid
13:29:13 β”‚                     theme β”‚
13:29:13 β”‚                     theme β”‚
13:29:13 β”‚                     theme β”‚ [warning]: OrphanedSnippet
13:29:13 β”‚                     theme β”‚ This snippet is not referenced by any other files
13:29:13 β”‚                     theme β”‚
13:29:13 β”‚                     theme β”‚ 1  <template id='normalize'>
13:29:13 β”‚                     theme β”‚ Bundling theme extension theme...

Operating system

Mac OS Tahoe

CLI version

3.94.3

Shell

zsh

Nodejs version

25.1.0

Very weird! We’ll have a look. I don’t think anything has changed on that front for a while.

Thanks @Gray-Shopify - appreciate it. Obviously not a big deal/non-urgent.

It’s been there for a while, and I’d finally found the time to tidy up!