Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slowdown when running force:source:tracking:reset against some repos #1427

Closed
jstvz opened this issue Mar 2, 2022 · 1 comment
Closed

Slowdown when running force:source:tracking:reset against some repos #1427

jstvz opened this issue Mar 2, 2022 · 1 comment
Labels
investigating We're actively investigating this issue

Comments

@jstvz
Copy link

jstvz commented Mar 2, 2022

Summary

We're observing that the time to run force:source:tracking:reset in some repositories has increased in v7.140.0 (in repro case from ~4s to ~240s).

Steps To Reproduce:

  1. git clone https://github.com/SalesforceFoundation/EDA.git
  2. cd EDA
  3. sfdx force:org:create -f orgs/dev.json -n -d 1 -s
  4. time sfdx force:source:tracking:reset -p

Expected result

$ sfdx version
sfdx-cli/7.139.0 darwin-x64 node-v16.13.1
$ time sfdx force:source:tracking:reset -p
Reset local tracking files.
sfdx force:source:tracking:reset -p  4.47s user 1.28s system 142% cpu 4.024 total

Actual result

$ sfdx version
sfdx-cli/7.140.0 darwin-x64 node-v16.13.1
$ time sfdx force:source:tracking:reset -p
Reset local tracking files.
sfdx force:source:tracking:reset -p  246.30s user 27.91s system 114% cpu 3:59.39 total

System Information

{
	"cliVersion": "sfdx-cli/7.140.0",
	"architecture": "darwin-x64",
	"nodeVersion": "node-v16.13.1",
	"pluginVersions": [
		"@oclif/plugin-autocomplete 0.3.0 (core)",
		"@oclif/plugin-commands 1.3.0 (core)",
		"@oclif/plugin-help 3.3.1 (core)",
		"@oclif/plugin-not-found 1.2.6 (core)",
		"@oclif/plugin-plugins 1.10.11 (core)",
		"@oclif/plugin-update 1.5.0 (core)",
		"@oclif/plugin-warn-if-update-available 1.7.3 (core)",
		"@oclif/plugin-which 1.0.4 (core)",
		"@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
		"@salesforce/sfdx-scanner 2.13.0",
		"alias 1.2.1 (core)",
		"apex 0.9.0 (core)",
		"auth 1.8.1 (core)",
		"community 1.1.4 (core)",
		"config 1.3.19 (core)",
		"custom-metadata 1.0.12 (core)",
		"data 0.6.9 (core)",
		"generator 1.2.2 (core)",
		"info 1.2.1 (core)",
		"limits 1.3.0 (core)",
		"org 1.11.2 (core)",
		"salesforce-alm 53.12.0 (core)",
		"schema 1.1.0 (core)",
		"sfdx-cli 7.140.0 (core)",
		"source 1.8.15 (core)",
		"telemetry 1.4.0 (core)",
		"templates 53.6.0 (core)",
		"trust 1.1.0 (core)",
		"user 1.7.1 (core)"
	],
	"osVersion": "Darwin 19.6.0"
}

Additional information

Feel free to attach a screenshot.

@jstvz jstvz added the investigating We're actively investigating this issue label Mar 2, 2022
@github-actions
Copy link

github-actions bot commented Mar 2, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating We're actively investigating this issue
Projects
None yet
Development

No branches or pull requests

2 participants