Closed PalGenadich closed 2 years ago
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
wow. Few questions: do you see this on any deploy, or is it something specific to the territory example you gave? Are the things it's displaying as a cursor consistent? (is that an apex test there? is it always an apex test?) Does not running the tests change the error?
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
Ran a couple more tests. I could notice the issue in these cases:
when running any deployment validation (--checkonly) with or without tests. Here's an example deploying a single apex class. Notice that last output line is overwritten and should say something like "Successfully validated the deployment". And cursor is expected on the following line.
when running a deployment with tests. It seems that Deployed Source output section overwrites the previous Test Success output section. This is again because of the wrong cursor position when outputting the Deployed Source section, so final view depends on the content of the deployment/number of tests but the issue happens every time. Example below.
Let me know if I can help with more info.
If you're still up for helping debug, can you see if the problem happens in the newer windows terminal / powershell7? https://github.com/microsoft/terminal
Our one windows user on the CLI team uses that.
Sure, happy to help. I installed this https://github.com/PowerShell/PowerShell/releases/tag/v7.1.3 And this https://www.microsoft.com/en-sg/p/windows-terminal/9n0dx20hk701?rtc=1&activetab=pivot:overviewtab Both are PowerShell 7.1.3. Result is exactly the same as before. Here's a gif
fwiw, I don't think this is OS specific. I've seen this in some cases when canceling in progress deploys on Mac. I don't see this in the new source plugin we're working on which will hopefully be ready for public testing very soon (end of the month or early June).
gonna close since this is now in the new plugin. Please open a new issue if you still see it
Summary
When executing sfdx force:source:deploy in terminal (tested PowerShell, Git Bash and cmd) the command executes successfully but returns the cursor inside the output. See the screenshot attached. The cursor was returned at the undelined point.
Steps To Reproduce:
Expected result
Cursor is returned after the end of output.
Actual result
Cursor is returned inside the output.
Additional information
SFDX CLI Version: sfdx-cli/7.94.3-a4e7c7955b win32-x64 node-v14.15.4
SFDX plugin Version
OS and version: Windows 10 Enterprise 64 bit 20H2 19042.928
Terminals tested: PowerShell, Git Bash, cmd