<#7748 Add ArtifactService.ListArtifactNames (dist...
# flyte-github
a
#7748 Add ArtifactService.ListArtifactNames (distinct names with version counts) Pull request opened by kumare3 What Adds `ArtifactService.ListArtifactNames`: lists distinct artifact names within a project, one entry per name. rpc ListArtifactNames(ListArtifactNamesRequest) returns (ListArtifactNamesResponse); message ArtifactGroup { Artifact latest = 1; // the most recently created version's full record uint64 versions = 2; // total versions published under the name } • Ordered by the latest version's creation time, newest first • Token pagination +
name
CONTAINS filter via the common
ListRequest
• Scoped by
ProjectIdentifier
(org stamped server-side, same as
ListArtifacts
) Why
ListArtifacts
pages over individual versions. A grouped per-name view (artifact catalogs/list UIs) built client-side is O(total versions) — an artifact with hundreds of versions starves discovery of the next name — and cannot produce correct per-name version counts. Server-side this is a single indexed query (
DISTINCT ON (name)
+ window count in the reference implementation). Follows up #7733 (ArtifactService) and #7745 (ArtifactSource provenance). 🤖 Generated with Claude Code flyteorg/flyte