Skip to content

Commit 603f8e2

Browse files
hanniavaleraCopilot
andcommitted
Move copilot-test-coverage to .github/instructions/ and update references
Rename .github/copilot-test-coverage.md to .github/instructions/copilot-test-coverage.instructions.md so Copilot picks it up as an instructions file. Update the two references in copilot-instructions.md and check-coverage-and-open-issue.mjs. Co-authored-by: Copilot <[email protected]>
1 parent 11cfd80 commit 603f8e2

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ One entry under the current version in `CHANGELOG.md`, in the appropriate sectio
113113

114114
## Test coverage improvements
115115

116-
When working on issues labeled `test-coverage`, read `.github/copilot-test-coverage.md` before starting — it contains the mandatory self-audit protocol, test quality rules, and scope constraints for coverage work.
116+
When working on issues labeled `test-coverage`, read `.github/instructions/copilot-test-coverage.instructions.md` before starting — it contains the mandatory self-audit protocol, test quality rules, and scope constraints for coverage work.
117117

118118
## Where to start
119119

.github/copilot-test-coverage.md renamed to .github/instructions/copilot-test-coverage.instructions.md

File renamed without changes.

.github/scripts/check-coverage-and-open-issue.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ ${tableRows}
115115
### Agent instructions
116116
117117
You are improving test coverage in \`microsoft/vscode-cmake-tools\`.
118-
Read \`.github/copilot-test-coverage.md\` before starting — it contains the
118+
Read \`.github/instructions/copilot-test-coverage.instructions.md\` before starting — it contains the
119119
mandatory self-audit protocol and test quality rules for this repo.
120120
121121
**Files to cover (worst first):**
@@ -125,7 +125,7 @@ For each file:
125125
1. Read the source file fully before writing any test
126126
2. Identify the module's exported API surface
127127
3. Write tests in \`test/unit-tests/backend/\` that cover the uncovered branches
128-
4. Run the self-audit steps from \`copilot-test-coverage.md\`
128+
4. Run the self-audit steps from \`.github/instructions/copilot-test-coverage.instructions.md\`
129129
5. Only open the PR after every self-audit step passes
130130
131131
### Self-audit checklist (must be checked before opening PR)

0 commit comments

Comments
 (0)