Artifact sweep keeps digests named in node settings

A Service's weights or a wren node's model held only in a setting were
swept once the run that produced them was deleted.

Claude-Session: https://claude.ai/code/session_01H89mFby73wwhthP9htfcuB
This commit is contained in:
2026-10-24 21:28:35 +02:00
parent ea781c923c
commit 2a09f0b765
5 changed files with 43 additions and 12 deletions
+2 -2
View File
@@ -217,8 +217,8 @@ def delete_artifact(
raise HTTPException(
status_code=409,
detail=(
"The artifact is still referenced by a run, a current message or "
"a flow input's initial value"
"The artifact is still referenced by a run, a current message, "
"a flow input's initial value or a node setting"
),
)
if not store.delete(digest):