Skip to content

Run CI for #1157: Read only theme directories and their direct children when preloading files#1158

Draft
graygilmore wants to merge 1 commit intomainfrom
gg-run-ci-for-1157
Draft

Run CI for #1157: Read only theme directories and their direct children when preloading files#1158
graygilmore wants to merge 1 commit intomainfrom
gg-run-ci-for-1157

Conversation

@graygilmore
Copy link
Contributor

Running CI for #1157

Restrict preload() to Shopify theme directories (assets, blocks,
config, layout, locales, sections, snippets, templates). Previously
all .json files under the root were loaded, including unrelated data
files. A single 175 MB JSON file parsed into an AST can consume
1-2 GB of heap, easily exhausting even an 8 GB limit on large repos.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants