Is there a reason we cannot get this “dryrun” abil...
# sdf
e
Is there a reason we cannot get this “dryrun” ability in VS Code?
m
Where do you see that list? I am unaware of
dryrun
support in WebStorm and use the CLI specifically for deployments because of this?
e
dryrun is a switch in CLI for “deploy” I believe. This screenshot was from one of the docs shared earlier
I believe SuiteCoudSDKOverview.pdf
m
Yep. That's it. Thanks! I agree, though. This is a GREAT feature and it would be nice in all of the extensions/plugins
1000 1
m
What's the difference between Dry Run & the currently available Validate?
e
Validate doesn’t quite go as far as dryrun - there were times when a project passed validation but in actual deployment something failed; also, I believe dryrun will show you a preview of what would have been updated; validate simply tells you yes/no it will run smoothly.
a
@ec You can open an enhancement request. Will try to fit it in somewhere when possible!
m
@ec thanks I don't have webstorm so I was wondering what the difference was. Yes I have had validation pass and the deployment fail. Validate does show you everything that will be pushed, but I guess dryrun actually does a diff on files that differ? That would be a huge benefit to understand if something might have been altered in production that wasn't properly pulled down before pushing.
e
I’m not sure exactly what it includes to be honest; don’t know the inner workings, and it’s been a while since that has been disabled for me. I’m also on VS Code, not Webstorm
n
How can I use dry run in WebStorm? Is it available via UI or just CLI?
m
@NickSuite It looks like it's available via UI, but it doesn't seem to be quite the same (it doesn't run tests before the preview like the CLI) and it's not obvious. • Go to Edit Configurations… • Click + • Select SuiteCloud • Give it a name like "Preview SB1" • Select "Preview" for the Action • Select your current project for Project • Select the Auth ID you want to use • Click "OK" Now you can preview the deployment with the click of a button.
n
Thanks @Mike Robbins I will give it a try.