argoproj/argo-workflows · error

ListObjects is currently not supported for this artifact typ

Error message

ListObjects is currently not supported for this artifact type, but it will be in a future version

What it means

git ArtifactDriver.ListObjects is not implemented — it unconditionally returns this error. Any code path that tries to enumerate objects for a git artifact (e.g. artifact GC listing or browsing) hits this permanent capability gap.

Source

Thrown at workflow/artifacts/git/git.go:218

			Auth:              auth,
		}); err != nil {
			return fmt.Errorf("failed to update submodules: %w", err)
		}
	}
	return nil
}

func isFetchErr(err error) bool {
	return err != nil && err.Error() != "already up-to-date"
}

func (g *ArtifactDriver) OpenStream(ctx context.Context, a *wfv1.Artifact) (io.ReadCloser, error) {
	// todo: this is a temporary implementation which loads file to disk first
	return common.LoadToStream(ctx, a, g)
}

func (g *ArtifactDriver) ListObjects(ctx context.Context, artifact *wfv1.Artifact) ([]string, error) {
	return nil, fmt.Errorf("ListObjects is currently not supported for this artifact type, but it will be in a future version")
}

func (g *ArtifactDriver) IsDirectory(ctx context.Context, artifact *wfv1.Artifact) (bool, error) {
	return false, argoerrors.New(argoerrors.CodeNotImplemented, "IsDirectory currently unimplemented for Git")
}

View on GitHub (pinned to 35bff19146)

Solutions

  1. Do not call ListObjects for git artifacts; treat git as non-listable
  2. Use an object-store artifact type when listing is required
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at workflow/artifacts/git/git.go:218 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of argoproj/argo-workflows@35bff19146 (2026-09-03). Data as JSON: /api/errors/83bd8163eb650bb1. Report an issue: GitHub.