Skip to content

Approve all permission requests#1046

Merged
kvenkatrajan merged 1 commit intomicrosoft:mainfrom
tmeschter:260226-EnableToolsInIntegrationTestRuns
Feb 26, 2026
Merged

Approve all permission requests#1046
kvenkatrajan merged 1 commit intomicrosoft:mainfrom
tmeschter:260226-EnableToolsInIntegrationTestRuns

Conversation

@tmeschter
Copy link
Member

PR #1028 updated the Copilot SDK package we use for testing to at least version 0.1.25. This brought along a breaking change where all tool operations are denied by default.

Since our integration tests needs to run in a fully automated manner, this commit adds onPermissionRequest: approveAll to restore the previous behavior.

PR microsoft#1028 updated the Copilot SDK package we use for testing to at least version 0.1.25. This brought along a [breaking change](github/copilot-sdk#509) where all tool operations are denied by default.

Since our integration tests needs to run in a fully automated manner, this commit adds `onPermissionRequest: approveAll` to restore the previous behavior.
Copilot AI review requested due to automatic review settings February 26, 2026 16:54
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 pull request updates the integration test utilities to handle a breaking change introduced in @github/copilot-sdk version 0.1.25, where all tool operations are now denied by default. The change restores the previous behavior by explicitly approving all permission requests during automated test execution.

Changes:

  • Added approveAll import from @github/copilot-sdk package
  • Added onPermissionRequest: approveAll parameter to both createSession calls in the agent runner utilities

@kvenkatrajan kvenkatrajan merged commit 1e8c293 into microsoft:main Feb 26, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants