Skip to content

modernize and optimize task#531

Merged
tekhaus merged 1 commit intolightward:mainfrom
tekhaus:update/switch-to-shopifyql-for-rolling-spend
Feb 12, 2026
Merged

modernize and optimize task#531
tekhaus merged 1 commit intolightward:mainfrom
tekhaus:update/switch-to-shopifyql-for-rolling-spend

Conversation

@tekhaus
Copy link
Collaborator

@tekhaus tekhaus commented Feb 12, 2026

A merchant with a large volume of customer and order data ran into an issue where the Shopify API determined at run time that the customer segment members query needed to be run async instead.

In lieu of creating a complex aync job and polling routine to handle this, the customer segment queries were removed from the task and ShopifyQL queries of analytics were used instead. The primary benefit is that the analytics queries are much faster to run, and (so far) no upper limit has been encountered for the data returned by ShopifyQL.

@tekhaus tekhaus merged commit 873e4c5 into lightward:main Feb 12, 2026
2 checks passed
@tekhaus tekhaus deleted the update/switch-to-shopifyql-for-rolling-spend branch February 12, 2026 20:18
@github-actions github-actions bot locked and limited conversation to collaborators Feb 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant