You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Liquid: JS asset reference test fails on Windows due to path separator #5579
On Windows, test_js_liquid_keeps_liquid_references fails on the clean v0.9.122 tag. The test checks whether target_file ends with assets/x.js, but the extractor supplies a native Windows path containing backslashes. The reference edge itself is present. This makes a correct extraction appear to fail in the test suite.
The Liquid extractor was introduced as part of the Shopify theme work related to #5552.
The test should pass when the reference points to assets/x.js using the platform’s native path representation. Comparing Path(target_file) components or converting to POSIX form in the assertion would make the check portable.
Environment
Windows, Python 3.12, clean upstream tag v0.9.122. The failure and the presence of the edge were checked on that tag.
Activity
github-actions commentedon Nov 28, 2026
Thanks for opening this issue, @sub4biz. A maintainer will take a look soon.
If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.
To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.
fix(liquid): compare target_file path components portably in JS-Liqui…