Tweak Copilot Coding Agent setup#123025
Merged
stephentoub merged 1 commit intodotnet:mainfrom Jan 9, 2026
Merged
Conversation
Any request to CCA takes at least 20 minutes before anything happens as the setup instructions involve a full build. We did that previously to avoid that counting against the agent's time window, but that was 8 months ago. Experimenting with removing it, along with a few tweaks to the instructions.
Contributor
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR optimizes the Copilot Coding Agent (CCA) setup by removing a time-consuming initial build step and refining instructions to be more flexible and specific. The goal is to reduce the 20-minute setup overhead while maintaining code quality standards.
Key changes:
- Removes the
clr+libsbuild from the setup workflow to reduce initial wait time - Adds flexibility to skip builds for non-code changes (comments, documentation)
- Adds specific guidance for working with System.Private.CoreLib
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/copilot-setup-steps.yml |
Removes the build step that was causing 20+ minute delays before any work could begin |
.github/copilot-instructions.md |
Refines instructions to allow skipping builds for non-code changes, adds System.Private.CoreLib-specific guidance, and clarifies when builds are required |
Member
Author
|
/ba-g infra only |
jkotas
approved these changes
Jan 9, 2026
This was referenced Jan 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Any request to CCA takes at least 20 minutes before anything happens as the setup instructions involve a full build. We did that previously to avoid that counting against the agent's time window, but that was 8 months ago. Experimenting with removing it (along with a few tweaks to the instructions). We can revert if this still proves problematic.