Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.
This repository was archived by the owner on May 15, 2026. It is now read-only.

[BUG] Strange context bloat and truncation #11990

Open

Description

@JNevrly

Problem (one or two sentences)

Lately I'm getting problems with strange context bloat that is not related to actual prompt (I have experienced it even on empty project folder and in the beginning of the prompt session). I have only noticed it by increase token consumption (=costs) and context truncation messages, which look like the truncated context is larger than the original context:

Image

Context (who is affected and when)

I have experienced it in Architect and Code roles, during sessions and even in the beginning of the prompt session. I haven't yet figured out the pattern.

Reproduction steps

I have not yet figured out clear reproduction pattern.

Expected result

Actual result

Variations tried (optional)

No response

App Version

3.51.1 (7c9722b)

API Provider (optional)

OpenRouter

Model Used (optional)

openai/gpt5.1-codex, openai/gpt5.3-codex

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Activity

  1. JNevrly commented on Mar 25, 2026

    @JNevrly
    Author

    @roomote

    1. Yes, the indicator shows before 251367, after 334680
    2. Auto-condense context: disabled; context management threshold - don't see this setting anywhere. No per-profile override.
    3. Yes, at times even the first prompt already shows Context Truncation symbol
    4. Context window is reported 400000 tokens
    5. I have 0 MCP servers, no custom mode prompts and short custom instructions. Moreover, I havent changed those for some time and this has started happenning only recently.
    6. The problem appears even when there is no hiden folder or .git folder.
  2. ghost added a commit that references this issue on Mar 25, 2026
    23b3a11
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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions