Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update copilot instructions with baseline setup details - #123064

#123064
Closed
stephentoub wants to merge 2 commits into
maindotnet/runtime:mainfrom
stephentoub-patch-1dotnet/runtime:stephentoub-patch-1Copy head branch name to clipboard
Closed

Update copilot instructions with baseline setup details#123064
stephentoub wants to merge 2 commits into
maindotnet/runtime:mainfrom
stephentoub-patch-1dotnet/runtime:stephentoub-patch-1Copy head branch name to clipboard

Conversation

@stephentoub

Copy link
Copy Markdown
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
Copy Markdown
Member Author

/ba-g markdown only

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.**

@jkotas jkotas Jan 10, 2026

Copy link
Copy Markdown
Member

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
Copy Markdown
Member Author

Replaced by #123067

@jkotas
jkotas deleted the stephentoub-patch-1 branch January 24, 2026 03:49
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 23, 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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.