-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Update copilot instructions with baseline setup details #123064
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Since removing the build setup step, copilot is being lazy about doing the baseline setup. Try to coax it to do it more aggressively.
|
/ba-g markdown only |
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
There was a problem hiding this 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.** |
There was a problem hiding this comment.
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?
|
Replaced by #123067 |
Since removing the build setup step, copilot is being lazy about doing the baseline setup. Try to coax it to do it more aggressively.