Skip to content

fix(agent-manager): avoid stale history switch entries - #13428

Merged
marius-kilocode merged 1 commit into
mainfrom
fix/agent-manager-history-queue
Aug 25, 2026
Merged

fix(agent-manager): avoid stale history switch entries#13428
marius-kilocode merged 1 commit into
mainfrom
fix/agent-manager-history-queue

Conversation

@marius-kilocode

Copy link
Copy Markdown
Collaborator

Follow-up to #13421.

Opening history for the current project does not trigger a project switch, so adding that project to the pending-switch queue leaves an entry that can incorrectly keep history open during a later normal project activation.

Only enqueue the current project when another history-initiated switch is already pending. Background-project activations and overlapping history opens continue to preserve the intended history view.

@kilo-code-bot

kilo-code-bot Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • .changeset/agent-manager-history-switch-queue.md
  • packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx

Reviewed by grok-4.6 · Input: 87.7K · Output: 8.6K · Cached: 247.8K

Review guidance: REVIEW.md from base branch main

@marius-kilocode
marius-kilocode merged commit 3b91d09 into main Aug 25, 2026
24 checks passed
@marius-kilocode
marius-kilocode deleted the fix/agent-manager-history-queue branch August 25, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants