When running shopify app deploy with CLI version of 3.76.0, everything works fine. Then only changing one thing, CLI version to latest 3.84.0 and running shopify app deploy again, it generates the error at the end, Unexpected system error.
I can see that a new version was created using the partners dashboard, but it did not get released. I have no idea if there was any error in this version or if it is safe to release to customers manually.
@Liam-Shopify Thank you for looking into it. I just tested it again several times and I am still seeing the same issue.
When I run deploy from my laptop, then sometimes I have seen it succeed, perhaps 1 out of 3 times. But it always fails when running from github actions with a force flag to automatically deploy. I am just guessing here, but it could be related to it taking more than 9mins to deploy from github actions? while from my laptop it only takes a few minutes as it has some sort of cache to speedup compiling. When running the command second time from my laptop, I’ve seen it succeed more often.
@curzey thanks for checking, but I believe the difference is, my app has around 50 functions at the moment. Deploying with a few functions should be fine, as it is fast enough. Perhaps when number of functions increase then this issue also happens more often?