-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Getting Could not find
error when generating delta source
#862
Comments
To clarify, sfdx-git-delta version 2.34.0 works as expected for us. We encounter this issue with later versions. |
Hi @kez-sophos ! Thanks for raising this issue and thanks for contributing in making this project better! We are aware of this issue already, it has been discovered with the #762 You are right, the issue is not there with the Do you have a way to reproduce the issue I could use with a VM ? |
Hi @kez-sophos, do you have any way to help me reproduce the issue ? |
Hi @kez-sophos I need your help to reproduce please, could you send us the minimal steps to follow to reproduce it please ? |
we also get the issue with sfdx-git-delte version 5.42.0 on our build servers and if we downgrade to the vertion 5.43.0 then the package creation is working again but with the older API version 59.0 OS: MS Windows Server 2019 on my local machine Windows 11 and pretty similar versoins the issue is not appearing any ideas what could be the cause of the problem? |
Thanks for those information. It really helps What api version are you using ? 61 ? |
hi @scolladon, we try or have to use the api vesion 61 because some implementations already requires it. sorry that was a number mix-up. So the sgd version 5.42.0 is not working then we downgraded to 5.34.0 like "[kez-sophos]" wrote and it start to work without issue |
This issue is very hard because it is windows dependent and also requires a very big project. |
hi @scolladon, I will not be available for some days but afterwards maybe we can plan a session for screen sharing and check together. |
That's nice of you @ALesc21 to give a bit of your time but it is very hard to investigate with a screen share and a limited amount of time. We tried already with another person and we did not manage to find the root cause. |
Issue verification check:
What is the problem?
We are getting an error when trying to generate delta source with sfdx-git-delta versions above 5.34.0.
What is the parameter and the value you used with it?
sgd source delta --to HEAD --from stash/master --source C:<REPO_PATH> --api-version 59.0 --output C:<REPO_PATH>\delta-src/ --generate-delta
What is the expected result?
Delta source generation succeeds.
What is the actual result?
Delta source generation fails.
Json Response:
{"success":false,"error":"Could not find b2c43ed8d669af3b0af194a54362238c0ed66de5.","output":"C:\<REPO_PATH>\delta-src/","warnings":[]}
Steps to reproduce
We are unable to reproduce the issue locally (within our machines) the issue is occurring within our build servers.
Execution context
Within our build servers we use Bamboo and Windows 2012.
Operating System: Windows 2012
yarn version: N/A
node version: v18.12.0
git version: git version 2.29.2.windows.3
sfdx version: @salesforce/cli/2.40.7 win32-x64 node-v20.12.2
sgd plugin version: sfdx-git-delta 5.39.2 (5.39.2)
The text was updated successfully, but these errors were encountered: