Skip to content

agentHost: fix state manager test access - #332086

Closed
roblourens wants to merge 1 commit into
microsoft:mainfrom
roblourens:roblou/agents/fix-compile-error-azure-build
Closed

agentHost: fix state manager test access#332086
roblourens wants to merge 1 commit into
microsoft:mainfrom
roblourens:roblou/agents/fix-compile-error-azure-build

Conversation

@roblourens

Copy link
Copy Markdown
Member

Summary

Testing

  • npm run compile
  • npm run hygiene
  • npm run typecheck-client
  • ./scripts/test.sh --run src/vs/platform/agentHost/test/node/agentService.test.ts --grep "waits for initial provider migration|a session the catalog migration will register"

(Written by Copilot)

Use the AgentService test composition seam after the service graph was sealed. (Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings August 22, 2026 04:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates migration-race tests to access the state manager through the test composition seam, preserving AgentService encapsulation.

Changes:

  • Replaces two direct stateManager accesses with getStateManager(svc).
Show a summary per file
File Description
src/vs/platform/agentHost/test/node/agentService.test.ts Uses the established test state-manager accessor in two migration tests.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

@roblourens roblourens closed this Aug 22, 2026
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