<@UFUCXSXCJ> We used to get a confirmation modal i...
# sdf
m
@Ali Syed (NS DevTools QA) We used to get a confirmation modal indicating we were deploying to a production environment in the WebStorm plugin. With the 2026.2 release, we no longer see that confirmation modal which unfortunately led to an inadvertent deployment to production. Was this removed intentionally, or is this a defect?
a
Hello, yes that was intentional as the new backend didn't support it But I will discuss this with my team if we can do something about it.
m
OK, thank-you. I would love to see if that could be added back in.
👍 1
a
not that it helps right now... but after doing the same thing myself i starting following a policy of delete prod credentials after use... no accidental prod accounts to click on that way
m
That's probably the right way to go. I'll discuss with the team. Inconvenient, yes, because we're frequently comparing with production or importing from production. But in our low tolerance dev environment, it's better to be safe than sorry.
c
I also delete prod credentials when I am done. I only keep dev and/or sandbox accounts around.
Good to know i'm not the only one who has hit deploy and then went "oh shit"
Just throwing this out there but maybe a config for something like when it recognizes you're deploying to a prod account, it always prompts you for the credentials and that is your confirmation and then once it deploys, it doesn't save the credentials. Basically a 1 time use credentials that is an optional feature.
s
It would be nice if the browser based oauth token tied to an administrator role would default to 1 hour refresh max
c
We have a npm script specifically for deploy:sb/prod to prevent this kind of thing. There's a large red box that displays confirming you want to deploy to production. It runs preview first, and then you confirm it's fine before running the actual deploy.
💯 1
m
@Ali Syed (NS DevTools QA) Just wanted to circle back on this. Is this something that will come back in the future or do we need to reach out to support about this and open an enhancement?
a
We have logged this as enhancement internally. But you can still request via NetSuite "officially" if you prefer.
👍 1