Build and Publish to Oxygen fails in Github Actions after updating to Remix v2.2.0

Solved

Build and Publish to Oxygen fails in Github Actions after updating to Remix v2.2.0

luukdebruin
Shopify Partner
6 0 6

Since Remix v2 is stable now I wanted to update my Hydrogen store to version 2.2.0. All went well until I pushed all the changes to GitHub and triggered an Oxygen deployment. The install and build commands work fine, but the action breaks on "Unable to verify worker deployment completion". I have no idea what is failing here as I cannot get any logs from this. 

 

CleanShot 2023-11-06 at 11.31.10@2x.png

 

I've seen another thread about this error but clearing the GitHub Actions cache doesn't resolve it (that was the accepted answer for that thread). 

 

Is anyone experiencing the same and does someone know how to fix it?

 

Accepted Solution (1)
SBD_
Shopify Staff
1830 272 417

This is an accepted solution.

Update is live. Helpful errors should now surface in the admin. Let me know if you're still seeing anything strange!

Scott | Developer Advocate @ Shopify 

View solution in original post

Replies 16 (16)

ptrck_schndr
Shopify Partner
11 0 11

We have also this issue without even updating the version of Hydrogen. It seems to be a general deployment problem in Shopify's end. Might be an issue with deploying the workers to Cloudflare...

bitf
Shopify Partner
3 0 4

Same issues here! we've problem pushing updates on the code, without any changes on package or github actions. for us it's a major issue, we've to deploy in prod new changes! 🐛

SBD_
Shopify Staff
1830 272 417

Hey @luukdebruin  @ptrck_schndr  @bitf,

 

Thanks for reporting this - was an issue on our end and should now be resolved.

 

Let me know if you're still having issues.

Scott | Developer Advocate @ Shopify 

iamkevingreen
Shopify Partner
3 0 4

I am experiencing this same issue on a brand new deployment, have tried disconnecting git and creating new oxygen deployments, same issues reported else where.

luukdebruin
Shopify Partner
6 0 6

Thanks for looking into this! It's still not working though, I'm getting the same error as before. Anything else I could do to resolve this?

bitf
Shopify Partner
3 0 4

for us it's Fixed but we've had to add
"resolutions": {
"run/minimatch": "8.0.0"
},

luukdebruin
Shopify Partner
6 0 6

Doesn't seem to work for me sadly

iamkevingreen
Shopify Partner
3 0 4

this also doesn't work for me

bitf
Shopify Partner
3 0 4

Fixed!
but we've had to add
"resolutions": {
"run/minimatch": "8.0.0"
},

luukdebruin
Shopify Partner
6 0 6

@SBD_ I'm still having the same issue. Any updates on this?

SBD_
Shopify Staff
1830 272 417

Chasing up with the Oxygen folks, will report back.

Scott | Developer Advocate @ Shopify 

SBD_
Shopify Staff
1830 272 417
 
The Oxygen team say this looks like a problem with our error reporting. User script errors are blanket throwing `Unable to verify worker deployment completion`. We're updating the admin to display the actual error right now (PR is in review) and working on surfacing errors in the CLI.
 
@iamkevingreen - interesting you're seeing this on a fresh deploy. Will DM you for store details.

Scott | Developer Advocate @ Shopify 

SBD_
Shopify Staff
1830 272 417

This is an accepted solution.

Update is live. Helpful errors should now surface in the admin. Let me know if you're still seeing anything strange!

Scott | Developer Advocate @ Shopify 

luukdebruin
Shopify Partner
6 0 6

Deleted the cache, pushed a new commit and re-ran the action and it's still failing and the error is still not useful: "Error: Process completed with exit code 1."

 

CleanShot 2023-11-10 at 08.27.04@2x.png

SBD_
Shopify Staff
1830 272 417

Hey @luukdebruin 

 

Any message showing in your Admin / Hydrogen channel? Can you DM me store URL please.

Scott | Developer Advocate @ Shopify 

luukdebruin
Shopify Partner
6 0 6

A useful error actually showed up on the Hydrogen channel. I think I can work with that. Thanks for looking into this problem!