How to view/show changes/diff between a development and the production environment?

The AI made some changes to help update to a newer Shopify API version and is showing the changes in the AI sidebar. However, I cannot find any other view or diff of the changes between development and production environments. Is that possible somehow? It would be great, if I would know for sure what I was deploying. Maybe another dev pushed a changes as well, that I am not aware of (of course, also a communications issue). If I have missed previous posts or documentation about this, I apologize. I found the relevant keywords didn't produce helpful results 🙂
4 Replies
ljspoor94
ljspoor94•2mo ago
You can pull prod environment with the CLI now. Then just check in github the file diffs?
Joda Stößer
Joda StößerOP•2mo ago
That's certainly a possibility and was my plan as well. I just wanted to check, if there is a native way of doing it. Especially, for vibe coders that don't use Git, it could be a life saver. I don't recommend not using Git of course and also being very aware of what you code, but there could always be circumstances. Maybe a dev pushed changes to Gadget, but didn't create a commit as well. Also because pushing to Gadget or deploying to production, doesn't automatically make sure, that it is documented in Git with commits or merges as well.
[Gadget] matin
[Gadget] matin•2mo ago
There isn't a Gadget native way of seeing a diff of what you're about to deploy/dev,prod diffs but definitely something thats on our radar. And super useful
Joda Stößer
Joda StößerOP•2mo ago
Thank you for the info. And glad to hear you are considering changing that. There is situations where our own tools and processes could fail us and knowing what we are actually deploying would be super helpful. Probably even more for people using Gadget as one of their first tools to do development without having good processes.

Did you find this page helpful?