Skip to content

Tweak Copilot Coding Agent setup#123025

Merged
stephentoub merged 1 commit intodotnet:mainfrom
stephentoub:copilotsetup
Jan 9, 2026
Merged

Tweak Copilot Coding Agent setup#123025
stephentoub merged 1 commit intodotnet:mainfrom
stephentoub:copilotsetup

Conversation

@stephentoub
Copy link
Member

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.

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.
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

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 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+libs build 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

@stephentoub
Copy link
Member Author

/ba-g infra only

@stephentoub stephentoub merged commit 264afcb into dotnet:main Jan 9, 2026
22 of 23 checks passed
@stephentoub stephentoub deleted the copilotsetup branch January 9, 2026 05:22
@github-actions github-actions bot locked and limited conversation to collaborators Feb 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants