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

project deploy shouldn't update tracking when deploy fails #2057

Closed
mshanemc opened this issue Apr 13, 2023 — with Slack · 3 comments
Closed

project deploy shouldn't update tracking when deploy fails #2057

mshanemc opened this issue Apr 13, 2023 — with Slack · 3 comments
Labels
bug Issue or pull request that identifies or fixes a bug

Comments

Copy link
Contributor

project deploy start command

If you have a fresh scratch org and you deploy an entire packageDirectory’s contents but one of those files has an error, the deployment event fails. That part is fine and expected. But then, if you edit the single file (in my case, it was a perm set file) to correct the issue and save the file, the source tracking seems to get confused. Because then when I try to execute the project deploy start command again, the source tracking wants to only push that one file that I edited and the deployment fails because none of the rest of the packageDirectory metadata was actually deployed on the previous attempt. For some reason the source tracking believes that it was deployed.

@mshanemc mshanemc added the bug Issue or pull request that identifies or fixes a bug label Apr 13, 2023 — with Slack
@git2gus
Copy link

git2gus bot commented Apr 13, 2023

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

@shetzel
Copy link
Contributor

shetzel commented May 1, 2023

Fix is now in production

@shetzel shetzel closed this as completed May 1, 2023
@ImJohnMDaniel
Copy link

Thanks for this one!!! I appreciate it! 😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug
Projects
None yet
Development

No branches or pull requests

3 participants