Skip to content

Compaction fails with: Error running remote compact task: Request blocked. #32028

Open

Description

@AcrylicShrimp

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.707.31428

What subscription do you have?

Pro plan

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

Compaction fails with:

Error running remote compact task: Request blocked.

What steps can reproduce the bug?

Feedback ID: 019f472f-e43f-77d1-aac2-1f3ce1cfc7d7

What is the expected behavior?

No response

Additional information

Image Image Image

Activity

  1. added
    bugSomething isn't working
    contextIssues related to context management (including compaction)
    on Jul 10, 2026
  2. github-actions commented on Jul 10, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. TheRoughy commented on Jul 10, 2026

    @TheRoughy

    Experienced the same problem ( in CLI ) today with all the 5.6 models, only affecting one of my sessions.
    Temporarily switching to a 5.5 model and compacting there worked fine.
    Compacting with a 5.6 model afterwards also worked fine.
    Edit: Until normal prompts also started getting blocked. Guess it's back to 5.5.

  4. cuipengfei commented on Jul 12, 2026

    @cuipengfei

    Cross-referencing related gpt-5.6 Request blocked reports that may share the same root cause.

    Since your issue is compaction itself being blocked: compaction serializes conversation history into a text summary and sends it as input to the model. If that serialized text contains Harmony control-token markers (e.g. <|channel|>analysis from assistant reasoning/thinking), the gpt-5.6 input-side safety classifier may reject it — which would explain why compaction fails on 5.6 but works on 5.5.

    Your workaround (switch to 5.5, compact, switch back) is consistent with this: the 5.5 compaction produces a summary that strips or doesn't trigger the control-token pattern, after which 5.6 can process the cleaned summary. However, your edit noting that "normal prompts also started getting blocked" suggests the trigger text may persist in the thread's context even after compaction, eventually poisoning subsequent requests as well.

    Related: #32177, #32533.

  5. ASIeinicher commented on Jul 16, 2026

    @ASIeinicher

    i see this error still having 21% context left

    no change on restart with codex resume

  6. jsgreenawalt commented on Jul 19, 2026

    @jsgreenawalt

    I also received this error when working with codex on modifications to a llama.cpp jinja template for an open weights model, that channel marker was definitely in my context, as we'd been discussing the template logic. I asked for a change to the template at some point later and then the session died with every request blocked. I tried to compact, the compact operation was also blocked.

  7. giladgd commented on Aug 11, 2026

    @giladgd

    I also received this error when working with codex on modifications to a llama.cpp jinja template for an open weights model, that channel marker was definitely in my context, as we'd been discussing the template logic. I asked for a change to the template at some point later and then the session died with every request blocked. I tried to compact, the compact operation was also blocked.

    I second this. My requests consistently get blocked when I'm using codex to help me with a jinja template

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

    appIssues related to the Codex desktop appbugSomething isn't workingcontextIssues related to context management (including compaction)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions