Skip to content

Keep Active Agents install paths loadable across VS Code window churn#336

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/fix-active-agents-install-stale-window-2026-04-22-18-11
Apr 22, 2026
Merged

Keep Active Agents install paths loadable across VS Code window churn#336
NagyVikt merged 1 commit intomainfrom
agent/codex/fix-active-agents-install-stale-window-2026-04-22-18-11

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

VS Code caches patch-specific local extension locations across already-open windows, while our installer was deleting those patch directories on each update. This change installs the companion into a canonical directory, refreshes a bounded same-major/minor patch compatibility window, and aligns the install/update messaging so stale windows keep resolving the companion until they reload.

Constraint: Already-open VS Code windows can keep older local extension paths cached until reload
Rejected: Document reload-only recovery | did not restore deleted patch paths for already-open windows
Confidence: medium
Scope-risk: narrow
Reversibility: clean
Directive: Keep the installer and the extension auto-update prompt aligned on reload-each-window wording when the local install layout changes
Tested: node --test test/vscode-active-agents-session-state.test.js test/metadata.test.js; openspec validate agent-codex-fix-active-agents-install-stale-window-2026-04-22-18-11 --type change --strict; openspec validate --specs; node scripts/install-vscode-active-agents-extension.js
Not-tested: visual confirmation of the SCM surface after reloading every already-open VS Code window
@NagyVikt NagyVikt merged commit d24ea04 into main Apr 22, 2026
@NagyVikt NagyVikt deleted the agent/codex/fix-active-agents-install-stale-window-2026-04-22-18-11 branch April 22, 2026 16:16
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.

1 participant