Skip to content

cursor: unbounded per-conversation maps leak in long-lived processes #1024

Description

@code-yeongyu

conversationStateCache / conversationBlobStores / rotatedConversationIds (packages/ai/src/api/cursor-agent.ts:302-311) never evict; blob stores hold per-conversation byte blobs. In a long-lived RPC/multi-session daemon this is a slow leak. Proposal: TTL or LRU cap; verification: drive 1000 distinct conversation ids and assert bounded sizes. (2026-08-20 audit, arch-protocol D6.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions