Checklist:
Describe the bug
When upgrading argocd-image-updater to use argo-cd v3.4.1, it failed to resolve gitops-engine version
go mod tidy
go: downloading github.com/argoproj/argo-cd/gitops-engine v0.7.1-0.20250908182407-97ad5b59a627
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20260209200024-4cfbd4190f57
go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20260226221140-a57be14db171
go: downloading go.opentelemetry.io/otel/sdk/metric v1.42.0
go: downloading github.com/go-openapi/testify/v2 v2.4.0
go: downloading go.opentelemetry.io/otel/metric v1.42.0
go: downloading go.opentelemetry.io/otel/trace v1.42.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.42.0
go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.42.0
go: downloading go.opentelemetry.io/proto/otlp v1.9.0
go: downloading github.com/klauspost/cpuid/v2 v2.2.4
go: github.com/argoproj-labs/argocd-image-updater/cmd imports
github.com/argoproj/argo-cd/v3/pkg/apis/application/v1alpha1 imports
github.com/argoproj/argo-cd/gitops-engine/pkg/health: github.com/argoproj/argo-cd/gitops-engine@v0.7.1-0.20250908182407-97ad5b59a627: invalid version: missing github.com/argoproj/argo-cd/gitops-engine/go.mod at revision 97ad5b59a627
go: github.com/argoproj-labs/argocd-image-updater/cmd imports
github.com/argoproj/argo-cd/v3/pkg/apis/application/v1alpha1 imports
github.com/argoproj/argo-cd/gitops-engine/pkg/sync/common: github.com/argoproj/argo-cd/gitops-engine@v0.7.1-0.20250908182407-97ad5b59a627: invalid version: missing github.com/argoproj/argo-cd/gitops-engine/go.mod at revision 97ad5b59a627
go: github.com/argoproj-labs/argocd-image-updater/cmd imports
github.com/argoproj/argo-cd/v3/pkg/apis/application/v1alpha1 imports
github.com/argoproj/argo-cd/gitops-engine/pkg/utils/kube: github.com/argoproj/argo-cd/gitops-engine@v0.7.1-0.20250908182407-97ad5b59a627: invalid version: missing github.com/argoproj/argo-cd/gitops-engine/go.mod at revision 97ad5b59a627
In go.mod, the gitops-engine version in v3.4.1 is declared as:
github.com/argoproj/argo-cd/gitops-engine v0.7.1-0.20250908182407-97ad5b59a627
That version was probably from the standalone gitops-engine, before it was merged back into argo-cd. So it's invalid for the new module path argocd/gitops-engine.
This works with argo-cd itself since this dep is later replaced with in-repo path. But for downstream consumer of v3.4.1, the upgrade will fail with above error.
The workaround is to add a replace entry in any downstream projects that depend on argo-cd and gitops-engine. See https://github.com/argoproj-labs/argocd-image-updater/pull/1636/changes#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
It will be good to tag and release gitops-engine as part of the argo-cd release, and reference that tag by argo-cd and downstream projects.
To Reproduce
Expected behavior
consumer projects should be able to upgrade to argo-cd 3.4.1 and the corresponding gitops-engine smoothly.
Screenshots
Version
Paste the output from `argocd version` here.
v3.4.1
Logs
Paste any relevant application logs here.
Checklist:
argocd version.Describe the bug
When upgrading argocd-image-updater to use argo-cd v3.4.1, it failed to resolve gitops-engine version
In go.mod, the gitops-engine version in v3.4.1 is declared as:
That version was probably from the standalone gitops-engine, before it was merged back into argo-cd. So it's invalid for the new module path
argocd/gitops-engine.This works with argo-cd itself since this dep is later replaced with in-repo path. But for downstream consumer of v3.4.1, the upgrade will fail with above error.
The workaround is to add a replace entry in any downstream projects that depend on argo-cd and gitops-engine. See https://github.com/argoproj-labs/argocd-image-updater/pull/1636/changes#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
It will be good to tag and release gitops-engine as part of the argo-cd release, and reference that tag by argo-cd and downstream projects.
To Reproduce
Expected behavior
consumer projects should be able to upgrade to argo-cd 3.4.1 and the corresponding gitops-engine smoothly.
Screenshots
Version
Paste the output from `argocd version` here. v3.4.1Logs