salesforcedx-vscode icon indicating copy to clipboard operation
salesforcedx-vscode copied to clipboard

Source tracking issues with changes in default source-tracked org

Open randi274 opened this issue 1 year ago • 2 comments

Summary

Source tracking is not being updated correctly when making changes in a default source-tracked org. I encountered these issues with a scratch org specifically, but assume it would apply equally to a source-tracked sandbox.

Steps To Reproduce:

  1. Create a new default scratch org.
  2. Run Deploy this Source to Org
  3. Run View All Changes -> there should be no code changes (maybe an admin profile, but that's fine)
  4. Create a class in the org
  5. Run View All Changes -> no new class is detected

Expected result

View All Changes should show that there's a Remote Add for the new class.

Actual result

There is no update to Source Status. Also, if I make a change locally, then run View All Changes I'll see a local change. If I make another change in the org and run the command again, I still don't see Remote Changed, but I should.

Salesforce Extension Version in VS Code: 57.14.1

SFDX CLI Version: 7.183.1

OS and version: Latest mac

randi274 avatar May 16 '23 17:05 randi274

This issue has been linked to a new work item: W-13285418

git2gus[bot] avatar May 18 '23 17:05 git2gus[bot]

@CristiCanizales Can you please verify if this still exists? If not please close this with appropriate comments

diyer avatar Mar 22 '24 18:03 diyer