Skip to content

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

Todo

Description

@itsskofficial

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.

Activity

  1. added
    bug
    good first issue
    area: memory
    priority: P2
    size: S
    on Oct 31, 2026
  2. Ankit874396 commented on Oct 31, 2026

    @Ankit874396

    /assign

  3. github-actions commented on Oct 31, 2026

    @github-actions

    @Ankit874396 Assigned to you. Open a PR within a week or comment if you need more time.

  4. github-actions commented on Nov 14, 2026

    @github-actions

    Hi @Ankit874396, checking in on this one. Are you still working on it? A quick comment or a draft PR is perfect. If you have moved on, comment /unassign so someone else can pick it up. No pressure either way.

  5. github-actions commented on Nov 21, 2026

    @github-actions

    Hi @Ankit874396, we have unassigned you because we have not heard back in a while, so others can pick this up. Thanks for your interest! If you want it back, comment /assign while it is still free.

  6. syedmustafan commented on Nov 24, 2026

    @syedmustafan
    Contributor

    /assign

  7. github-actions commented on Nov 24, 2026

    @github-actions

    @syedmustafan Assigned to you. Open a PR within a week or comment if you need more time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: memorybuggood first issuepriority: P2size: S

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions