[FEATURE]: show the duration of the current tasks runtime right before automatic compaction kicks in #9172

Open
opened 2026-02-16 18:11:49 -05:00 by yindo · 1 comment
Owner

Originally created by @mfn on GitHub (Feb 12, 2026).

Originally assigned to: @rekram1-node on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Usually when a task is done and OC returns control back to the user, it shows the duration how long it took.

When OC is working on a long running task and runs out of tokens for the context window, it starts to automatically compact.

When this happens, the duration of the task before compaction starts is not shown. Only the compactions runtime itself, after that is done.

That is, you loose the information how ling it was running (wall time, ignoring sub-agents) before automatic compaction starts.

Originally created by @mfn on GitHub (Feb 12, 2026). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Usually when a task is done and OC returns control back to the user, it shows the duration how long it took. When OC is working on a long running task and runs out of tokens for the context window, it starts to automatically compact. When this happens, the duration of the task before compaction starts is **not** shown. Only the compactions runtime itself, after that is done. That is, you loose the information how ling it was running (wall time, ignoring sub-agents) before automatic compaction starts.
yindo added the discussion label 2026-02-16 18:11:49 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 12, 2026):

Thanks for the well-written feature request! This is related to #13217 which discusses issues after compaction. Your feature request for showing the duration before compaction would help with debugging and understanding task timing during long operations.

@github-actions[bot] commented on GitHub (Feb 12, 2026): Thanks for the well-written feature request! This is related to #13217 which discusses issues after compaction. Your feature request for showing the duration before compaction would help with debugging and understanding task timing during long operations.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9172