-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Source hydrator fails with "Invalid revision range" #22039
Labels
Comments
crenshaw-dev
added a commit
that referenced
this issue
Feb 27, 2025
skyscannerBajpai
pushed a commit
to skyscannerBajpai/argo-cd
that referenced
this issue
Feb 27, 2025
…goproj#22015) Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: Harshit-Bajpai <Harshit.Bajpai@skyscanner.net>
chzar
pushed a commit
to chzar/argo-cd
that referenced
this issue
Mar 3, 2025
…goproj#22015) Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
kingbj940429
pushed a commit
to kingbj940429/argo-cd
that referenced
this issue
Mar 4, 2025
…goproj#22015) Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: kingbj0429 <kingbj0429@lunit.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
Hydration fails with an error like this:
The problem seems to be related to the fact that the first hash represents a commit on the dry branch, and the second hash represents a hash on the hydrated branch. The two aren't really comparable.
To Reproduce
This seems to randomly happen on any app that uses the manifest-generate-paths annotation.
I think it's flaky because the failure depends on a discrepancy between the state of the cached repo-server repo clone and the upstream repo. If the repo-server hasn't pulled either the dry or hydrated commit being compared, it will fail.
Expected behavior
The source hydrator shouldn't compare dry and hydrated commits for work-avoidance when manifest-generate-paths is specified. The hydrator doesn't even really support that annotation yet. We should just drop the annotation when doing hydration.
The text was updated successfully, but these errors were encountered: