We’re migrating extensions from React to Preact, and suddenly it just stops building the dev preview. If we replay our branch from 2 days ago, 5 days ago, 10 days ago versions of our app code that would run locally a week ago won’t enter dev preview.
Can anyone working at Shopify tell us why these requests fail to start a preview?
I know that there are some undocumented ways a Shopify extension could fail dev preview looking at other posts if there are more than (3) extensions per target, but after printing the targets used, I am at (3) or below for each target.
@keiraarts, I had a look at our logs for those Request IDs, and they’re showing a file upload timeout. Since your extensions previewed fine a week ago, I’ll look into whether something on our end caused this. I’ll share another update once I have more information.
Looking at these logs, the build step completed successfully, and the issue occurs during the upload step for dev preview. These seem to be separate issues. I’ll take a look at the issue you’re encountering as well.
@keiraarts we have a temporary fix in place for this at the moment. Just a heads up that the CLI snapshot version shared in the other thread is unrelated to this fix.
The failure is sporadic. I was able to run shopify app dev about an hour ago with the same local setup, but now it fails again.
One interim workaround has been to temporarily remove some toml files where type = "ui_extension", so those extensions are not registered during shopify app dev. Earlier today it worked after removing 3 TOML files, but now I had to remove a 4th one before shopify app dev would start successfully.
I haven’t yet checked whether the removed TOMLs share a specific pattern, such as extension targets or validation config, but I can provide those details if helpful.
Thanks both for sharing those request IDs. It looks like the temporary fix we had in place is no longer active, which is why this is showing up again. I’ll check whether we can reinstate that mitigation while we work on a permanent fix, and I’ll update this thread once I know more.