Unable to deploy app with Flow extensions

Hi,

I recently started experimenting with Flow extensions and ran into an issue. Initially, I created an extension with a handle longer than 30 characters, unaware of the character limit. I deployed it to my staging environment, which failed, but oddly enough, the app version was released without the extension.

I then shortened the handle and redeployed to staging. Unfortunately, since then, I’ve been encountering errors like the following:

Failed to prompt:

Match flow-trigger-selected (local name) with flow-trigger-pickup-point-selected (name on Shopify Partners, ID: 870283771905)

This usually happens when running a command non-interactively, for example in a CI environment, or when piping to or from another process.

I tried deploying directly from my computer in the staging environment, and it worked fine. I was hopeful that it would now work in CI, but after retrying the release phase, the same error persists.

Next, I deleted the extension folder and redeployed to staging, and everything worked as expected - Flow extension was gone. However, when I reverted the commit that removed the folder, I’m back to encountering the same error.

I’m running out of ideas at this point. Could someone assist with this issue?

Thanks!

P.S. I’m running Shopify CLI in verbose mode all the time so happy to share logs privately if needed.

Sounds like a bad rollback on Shopify internally?

Especially if you were able to delete the extension locally, then deploy successfully, as if that deleted the remnants on the remote version?

You mentioned the revert of the commit caused the issue to crop up. Do you mean that the reverted commit recreated the Flow extension?

Hi Dylan,
Sounds like it!

When I reverted the commit that removed the extension, I restored the Flow extension in my codebase.

I managed to resolve it, but not 100% what was the problem.