Record which inputs a run's caller passed, and mark defaults from it
`Run.passed` (migration d5a3c8e1f246) keeps the names the caller chose, so the run detail and the comparison table can mark a value as the flow's own again; rows from before it fall back to the names their params lack. Retries hand on their parent's list, imports record their entry's. Also: a cancel of a queued run no longer leaves its id in `_cancelled`, a linked comparison no longer crashes before the list loads, and the pre-commit failures are fixed (stale client, `text-[10px]`, worker formatting).
This commit is contained in:
@@ -139,9 +139,7 @@ class _Reporter(ModuleType):
|
||||
bytes(source), name or "artifact.bin", media_type, volatile
|
||||
)
|
||||
path = str(source)
|
||||
return _store_file(
|
||||
path, name or os.path.basename(path), media_type, volatile
|
||||
)
|
||||
return _store_file(path, name or os.path.basename(path), media_type, volatile)
|
||||
|
||||
def load_artifact(self, ref: dict[str, Any]) -> str:
|
||||
"""Fetch an artifact and hand back a local path to read it from."""
|
||||
|
||||
Reference in New Issue
Block a user