Skip to content

Conversation

@stephentoub
Copy link
Member

Since removing the build setup step, copilot is being lazy about doing the baseline setup. Try to coax it to do it more aggressively.

Since removing the build setup step, copilot is being lazy about doing the baseline setup. Try to coax it to do it more aggressively.
@stephentoub
Copy link
Member Author

/ba-g markdown only

@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 adds an explicit instruction to the copilot instructions file to emphasize that baseline setup must be completed before building and testing. The goal is to ensure copilot performs the prerequisite build steps more consistently.

Changes:

  • Added a MUST requirement to handle baseline setup before building/testing, with a specific example for libraries workflow

Emphasize the importance of completing the baseline setup before building and testing code changes, including a note on the time required.

If you make code changes, do not complete without checking the relevant code builds and relevant tests still pass after the last edits you make. Do not simply assume that your changes fix test failures you see, actually build and run those tests again to confirm. You can avoid building if you only change comments or files that do not affect builds and tests (e.g. README.md).

**In order to successfully build and run tests, you MUST first handle the baseline setup (see "1.2. Baseline Setup"), e.g. before you can build/test libraries, you must run `./build.sh clr+libs -rc release` at least once. This could take upwards of 10-20 minutes. You MUST wait for it to complete. You MUST not skip this step if you're making _any_ non-comment code changes.**
Copy link
Member

@jkotas jkotas Jan 10, 2026

Choose a reason for hiding this comment

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

./build.sh clr+libs -rc release

This is libraries workflow specific. Would it work better if this emphasis is in "1.2. Baseline Setup" that has the right command line to use?

@stephentoub
Copy link
Member Author

Replaced by #123067

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants