Is it impossible to release different versions based on staging and production environments?

Is it impossible to release different versions based on staging and production environments?

Currently, I need this functionality for 'module development'. To add and test a module within an app, it has to go through a Public Release. However, when the app developer releases it, the same version gets applied to both the staging and production environments, which makes it difficult to use the app in the production environment.

My ultimate goal is to be able to test in the app's edit mode or in the staging environment before releasing to production.

2 Likes

Hey @_Ryan,

I don't think this is possible, and I struggle withe the same issue as you when testing mofules. Environments are related to resources, rather than app versions.

@retool team, is there a feature request where you can select which published version of the module to use in an app?? I think this would help a lot!

2 Likes

Welcome to the community forum, @_Ryan! And howdy, @MiguelOrtiz. :wave:

This is a great shout. To Miguel's point, environments are currently tied to resources and not to apps themselves - of which modules are a subset.

I'll take this request to our dev team to see what can be done! As soon as I have any updates I'll share them here.

Last but not least, I'll just make a note here that you can achieve true differentiation of production and development apps with spaces or with a multi-instance deployment, both of which are available at the Enterprise level.

2 Likes

I did think of a workaround and thought I'd share.

It's definitely not ideal, but you can export the existing module and import the JSON elsewhere for the sake of development. :sweat_smile: That would at least allow for active embedding and testing without having an affect on production applications.

2 Likes

Yeah, I'd thought about that too in the past... I think the lazy bear in me has always won and I've never taken the trouble of doing it.

3 Likes

@Darren @MiguelOrtiz
Thank you both for answering my questions.
I'm having difficulties not only with the initial launch of the app but also with subsequent updates and improvements.
There are so many connected apps, you know :smiling_face_with_tear:
It would be great if there were any updates.

1 Like