openai / openai/codex

ChatGPT Working Astra Compaction takes 5x longer than before Astra update with Sol

Open
#43,038 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug context performance
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

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

Version 26.901.41600

What subscription do you have?

Pro 200

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Auto-Compaction and Manual Compaction are taking 3-5x+ longer to complete than what I was used to seeing before the Astra update using Sol. Not sure if it's a new compaction method that was implemented or if Model makes the difference, but i'm seeing 5-6 minute manual compactions on relatively new chat sessions. Normally new chat sessions are faster before around 45 seconds to 1.5 min depending on length of the session chat history. But even on new chats, this is taking an unreasonably long time. I did notice Astra is definitely slower than Sol, so I wasn't sure if compaction is just inheriting that difference.

What steps can reproduce the bug?

Just let it auto-compact or run manual compaction on a short chat thread.

What is the expected behavior?

I would expect 30 seconds to 2.5 minutes at most depending on chat length.

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing both auto-compaction and manual compaction on a short chat thread, recording timings with Astra and Sol for comparison. Investigate the compaction entry points and verify the fix by returning short-session compaction to the reported expected range of roughly 30 seconds to 2.5 minutes.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.