You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
As part of a tidy up exercise I am trying to deploy metadata files (reports) in bulk to my production org (folder reorganisation). However when highlighting a number of files and choosing the "Deploy Source to Org" option I get the error "sf:INVALID_OPERATION: INVALID_OPERATION: testLevel of NoTestRun cannot be used in production organizations". There is no actual code being deployed, so tests aren't really required but happy to run some as a box ticking step using something like "-l RunLocalTests" to progress but no option to do this through this mechanism.
Describe the solution you'd like
Provide facility to augment the commands generated via "Deploy Source to Org" to add additional switches such as "-l RunLocalTests". This could be through an additional menu option which would prompt for this or perhaps a workspace level setting option to configure a customised default.
Describe alternatives you've considered
With an additional switch I can run these commands manually one by one through VSCode's Terminal and deploy successfully to production but I want to be able to do this in bulk. So being able to highlight multiple files and use the menu command would save considerable time adjusting paths etc.
Additional context
Please let me know if I missed a way of doing this that is already provided!
This discussion was converted from issue #1796 on August 23, 2024 21:18.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is your feature request related to a problem? Please describe.
As part of a tidy up exercise I am trying to deploy metadata files (reports) in bulk to my production org (folder reorganisation). However when highlighting a number of files and choosing the "Deploy Source to Org" option I get the error "sf:INVALID_OPERATION: INVALID_OPERATION: testLevel of NoTestRun cannot be used in production organizations". There is no actual code being deployed, so tests aren't really required but happy to run some as a box ticking step using something like "-l RunLocalTests" to progress but no option to do this through this mechanism.
Describe the solution you'd like
Provide facility to augment the commands generated via "Deploy Source to Org" to add additional switches such as "-l RunLocalTests". This could be through an additional menu option which would prompt for this or perhaps a workspace level setting option to configure a customised default.
Describe alternatives you've considered
With an additional switch I can run these commands manually one by one through VSCode's Terminal and deploy successfully to production but I want to be able to do this in bulk. So being able to highlight multiple files and use the menu command would save considerable time adjusting paths etc.
Additional context
Please let me know if I missed a way of doing this that is already provided!
Beta Was this translation helpful? Give feedback.
All reactions