fix(vscode): count pending submission time - #11113
Merged
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge The fix is correct and well-scoped. The extracted Tests cover all four meaningful cases (pending-only, each active backend status, idle-with-no-pending, missing Files Reviewed (3 files)
Fix these issues in Kilo Cloud Reviewed by claude-4.6-sonnet-20260217 · 636,092 tokens Review guidance: REVIEW.md from base branch |
marius-kilocode
enabled auto-merge
June 11, 2026 11:22
chrarnoldus
approved these changes
Jun 16, 2026
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
fix(vscode): count pending submission time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#11103 makes the first prompt and Thinking spinner appear immediately in a new Agent Manager Local tab. While that tab is still waiting for the backend to create its real session, however, the backend status remains idle. The elapsed indicator interpreted that idle status as inactive, so users could see a spinner with no timer for several seconds, followed by the timer suddenly appearing at a higher value once session creation finished.
Treat a pending submission as active for elapsed-time tracking. The timer now progresses visibly from the moment the prompt is sent and continues from the same start time when the pending tab is promoted to a real session, rather than appearing late or resetting during the handoff.
Follow-up to #11103 (comment)