`ComparisonError: Failed to load target state: failed to generate manifest for source 1 of 1: rpc error: code = Unknown desc = Manifest generation error (cached): ...`
IntermediateTroubleshootingManifest Generation & ComparisonError
Answer
Likely causes → Rendering failed (Helm or Kustomize error) and the repo-server cached the failure; it returns the cached error until the cache expires or something changes.
Diagnose → Read the rest of the message for the real error; reproduce locally with helm template or kustomize build at the same commit; check kubectl -n argocd logs deploy/argocd-repo-server.
Fix → Fix the manifests and push, then argocd app get web --hard-refresh to bypass the cached error.
Prevent → Render every app in CI on PRs to the config repo.
More on Manifest Generation & ComparisonError
`rpc error: code = Unknown desc = `helm template . --name-template web --namespace web ... --include-crds` failed exit status 1: Error: template: web/templates/deployment.yaml:24:20: executing "web/templates/deployment.yaml" at <.Values.image.tag>: nil pointer evaluating interface {}.tag`Beginner`Error: open envs/prod/values.yaml: no such file or directory` when the app renders.Beginner`Error: values file '../../envs/prod/values.yaml' resolved to outside repository root`IntermediateKustomize app fails: `kustomize build ... failed exit status 1: Error: accumulating resources: accumulation err='accumulating resources from '../../base': ... must build at directory: not a valid directory'`.Beginner`Error: trouble configuring builtin HelmChartInflationGenerator with config: ... must specify --enable-helm`Intermediate`rpc error: code = DeadlineExceeded desc = context deadline exceeded` on several apps' comparison.Advanced