Deleting a memory with a broken stored field fails in the REST route

Đang mở
#539 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@Ankit874396 đang làm issue này rồi.

Từ ngày 31/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

area: memory bug good first issue priority: P2 size: S

Noted by @hskl18 in #537. Since #535, DELETE /api/memories/{id} checks that the memory exists by reading the whole row first. If one of the row's stored fields can't be read, for example broken JSON, the check fails, and a memory that should be easy to remove can't be deleted from the app.

#537 fixed the same thing for the memory_forget tool, with a check that only asks whether the id exists. Make the route use that same existence-only check.

Done when: a test stores a memory with a broken field, and DELETE /api/memories/{id} removes it; a missing id still answers 404.

Ngôn ngữ chính
Python
Star
716
Fork
132
Merge trung bình
16 giờ 34 phút
Pull request đã merge (30 ngày)
215

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của existence-master/Sentient

Tất cả issue của existence-master/Sentient

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.