Skip to content

Conversation

@mikeprosserni
Copy link
Contributor

What does this Pull Request accomplish?

I've been experimenting with using Copilot's Agent Mode with the grpc-device repo, and the biggest challenge is that copilot is not able to do a build correctly when cmake is configured with ninja. Here's what happens when you try:

image

To fix this, I've added a copilot-instructions.md file that tells copilot to use a copilot-build.ps1 script that I've created. This build script always calls vcvars64.bat to set the environment variables before calling cmake.

Why should this Pull Request be merged?

This allows Copilot Agent Mode to do complete build/test/fix loops on its own.

What testing has been done?

image

@mikeprosserni mikeprosserni marked this pull request as ready for review October 27, 2025 21:42
@mikeprosserni mikeprosserni merged commit 5f047e3 into main Oct 28, 2025
17 of 18 checks passed
@mikeprosserni mikeprosserni deleted the users/mprosser/copilot-build-instructions branch October 28, 2025 23:34
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.

5 participants