Skip to content

Conversation

@DonJayamanne
Copy link
Collaborator

No description provided.

@DonJayamanne DonJayamanne self-assigned this Dec 8, 2025
@DonJayamanne DonJayamanne requested a review from Copilot December 8, 2025 04:04
@DonJayamanne DonJayamanne changed the base branch from don/troubled-salmon to main December 8, 2025 04:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the CLI e2e tests to properly test terminal commands across both Unix-like systems and Windows platforms. It also refactors CopilotCLIImageSupport to use direct Node.js fs APIs instead of IWorkspaceService.

Key changes:

  • Removes platform-specific test skip for Windows in terminal command tests
  • Updates test to use platform-appropriate commands (Get-Location for Windows, pwd for Unix)
  • Adds IChatDelegationSummaryService to test service registration
  • Refactors CopilotCLIImageSupport to remove IWorkspaceService dependency

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
test/e2e/cli.stest.ts Adds service registration for IChatDelegationSummaryService, enables terminal command test on Windows, and updates test to use platform-specific commands with case-insensitive permission matching
src/extension/agents/copilotcli/node/copilotCLIImageSupport.ts Removes IWorkspaceService dependency and replaces filesystem operations with direct Node.js fs module calls

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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