Closed MGarfOppLoans 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.
Hi @MGarfOppLoans thanks for reporting this! Do you mind sharing what version of the plugins you have locally and in your github actions? You can find this by running sfdx plugins --core
.
@oclif/plugin-autocomplete 0.3.0
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.10.0 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/lwc-dev-server 2.10.0
├─ @oclif/plugin-update 1.3.10
└─ @oclif/plugin-help 2.2.3
@salesforce/sfdx-diff 0.0.6
@salesforce/sfdx-scanner 2.8.0
@salesforce/sfdx-trust 3.6.0 (core)
alias 1.1.8 (core)
auth 1.5.1 (core)
config 1.2.7 (core)
evergreen 0.34.0
└─ evergreen-build 0.20.2
generator 1.1.5 (core)
salesforcedx 51.6.0 (core)
├─ limits 1.0.4 (core)
├─ schema 1.0.4 (core)
├─ data 0.4.3 (core)
├─ apex 0.1.4 (core)
├─ org 1.6.0 (core)
├─ custom-metadata 1.0.11 (core)
├─ templates 51.3.0 (core)
├─ user 1.2.1 (core)
├─ @salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
└─ salesforce-alm 51.6.6 (core)
sfdx-cli 7.94.3 (core)
telemetry 1.1.1 (core)
Thanks @MGarfOppLoans is that what you have locally? And in GithubActions, do you know what version of the cli gets installed?
That's locally, I'll get the other. Just need to run the command in my ci/cd
@MGarfOppLoans we've done some work on this recently, can you retest and let us know if you're still facing an issue?
no longer running into the issue
Summary
Running
sfdx force:apex:test:run -l RunLocalTests -u ${username} --json
in CI/CD waits for all tests to finish, running locally on mac/windows it returns immediately with the test run idSteps To Reproduce:
sfdx force:apex:test:run -l RunLocalTests -u ${username} --json
in Windows or MacExpected result
Returns immediately with Test Report ID
Actual result
Only for CI/CD it long tails, the rest give immediate response
Additional information
SFDX CLI Version(to find the version of the CLI engine run sfdx --version): Locally: 7.94.3-a4e7c7955b Remotely: 7.96.0-633fe15
OS and version: Tested on Mac/Windows locally and tested on ubuntu-latest in github actions