acoustic-carpenter-78188
08/01/2026, 8:37 PMArtifactSource provenance when publishing artifacts (builds on flyteorg/flyte#7745, stacked on #191):
• Artifact.create(..., external_ref=...) — record an opaque external-system reference (URI, model id, …) as the artifact's source.
• Automatic in-task stamping — when Artifact.create runs inside a task and no external_ref is given, the producing task action (`run`/`action`/`attempt`) is stamped from the task context. Scope fields are left empty; the server inherits the artifact's own org/project/domain.
• flyte create artifact --external-ref <ref> CLI flag.
• Filter by source — Artifact.listall(source_run=..., source_action=..., source_external_ref=...) and matching flyte get artifact --source-run/--source-action/--source-external-ref flags: every artifact produced by a run/action (or imported from the same external ref) is discoverable. Uses generic ListRequest EQUAL filters; no extra proto surface.
• Artifact.source display property (run r1/a0 (attempt 2) / the external ref), shown in the rich repr.
• flyte get artifact restructured around the new ArtifactService.ListArtifactNames (flyteorg/flyte#7748): bare flyte get artifact lists distinct names (latest info + version count, --search); flyte get artifact <name> lists every version; flyte get artifact <name> <version> shows details. Adds Artifact.list_names (ArtifactGroup wrapper).
Status
⚠️ Partially blocked on the next flyteidl2 release: ListArtifactNames is in flyteorg/flyte#7748 (unreleased). Everything else targets the released 2.0.34. Verified with a dev wheel from the #7748 branch: full artifact test suite, mypy, ty green; all three CLI forms devbox-e2e-verified.
Server side is in the cloud artifacts branch: normalized source_* columns, scope validation, oneof round-trip, and the actions→artifact-service replication pipeline.
🤖 Generated with Claude Code
flyteorg/flyte-sdkacoustic-carpenter-78188
08/01/2026, 8:37 PMacoustic-carpenter-78188
08/02/2026, 12:18 AM