fix(stabilization): harden attachment lifecycle and agent guard signals (#5420)

* fix: harden stabilization attachment and agent guards

* fix(uploads): preserve durable references during cleanup

* fix(uploads): close cleanup and compaction races
This commit is contained in:
falabellamichael
2026-07-11 10:14:14 -04:00
committed by GitHub
parent 6b8f84553c
commit d16b849c3e
29 changed files with 2718 additions and 189 deletions
+2
View File
@@ -191,6 +191,8 @@ class ChatHandler:
"name": fi.get("name") or fi.get("original_name") or fi["id"],
"mime": fi.get("mime", ""),
"size": fi.get("size", 0),
"checksum_sha256": fi.get("checksum_sha256") or fi.get("hash"),
"created_at": fi.get("created_at") or fi.get("uploaded_at"),
"width": fi.get("width"),
"height": fi.get("height"),
})