Skip to content

[upstream #17050] Drain Assistants runs before erasing the account (#17050) #352

Open

Description

@berry-13

Codex finding on LibreChat-AI#17050: LibreChat-AI#17050 (comment)

Assistants v1 and v2 chat runs do not create a GenerationJobManager job, so stopUserGenerations cannot see or cancel them. A run that passed requireJwtAuth just before an account deletion fence can reach saveAssistantMessage after eraseUserData and recreate messages and conversation state for the deleted user. Pre-existing on the base for self-service deletion. Fix: register Assistants runs with the account cleanup barrier, or add a post-auth deletion check and drain before their persistence steps.

Activity

  1. added
    bugSomething isn't working
    readyreviewctl followups state
    area: apireviewctl followups state
    on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: apireviewctl followups statebugSomething isn't workingreadyreviewctl followups state

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions