From 7ef32575f375ac66ec76f4f7c68f8366f77de50e Mon Sep 17 00:00:00 2001 From: Sergey Zelenov Date: Mon, 13 Apr 2026 13:17:39 +0200 Subject: [PATCH 1/2] ci: exclude spec files from copilot review --- .github/instructions/spec-tests.instructions.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/instructions/spec-tests.instructions.md diff --git a/.github/instructions/spec-tests.instructions.md b/.github/instructions/spec-tests.instructions.md new file mode 100644 index 0000000000..443ee5b242 --- /dev/null +++ b/.github/instructions/spec-tests.instructions.md @@ -0,0 +1,5 @@ +--- +applyTo: "test/spec/**" +--- +These are unified spec test files copied from the mongodb/specifications repo. +Do not suggest changes to these files. They must match the upstream spec exactly. \ No newline at end of file From 43195225848955cbea6b7b37ccecf1ccba80c382 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 13 Apr 2026 21:01:40 +0000 Subject: [PATCH 2/2] ci: narrow spec instruction paths for Copilot review Agent-Logs-Url: https://github.com/mongodb/node-mongodb-native/sessions/cb968079-3e20-4226-8b7a-bdf588ae854c Co-authored-by: dariakp <81593090+dariakp@users.noreply.github.com> --- .github/instructions/spec-tests.instructions.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/instructions/spec-tests.instructions.md b/.github/instructions/spec-tests.instructions.md index 443ee5b242..4485639d25 100644 --- a/.github/instructions/spec-tests.instructions.md +++ b/.github/instructions/spec-tests.instructions.md @@ -1,5 +1,8 @@ --- -applyTo: "test/spec/**" +applyTo: + - "test/spec/**/*.json" + - "test/spec/**/*.yml" + - "test/spec/**/README.md" --- These are unified spec test files copied from the mongodb/specifications repo. -Do not suggest changes to these files. They must match the upstream spec exactly. \ No newline at end of file +Do not suggest changes to these files. They must match the upstream spec exactly.