Skip to content

chore: refine Copilot PR interface review prompt [no-ci]#405

Merged
lukeocodes merged 1 commit into
mainfrom
chore/refine-copilot-pr-review-prompt
May 6, 2026
Merged

chore: refine Copilot PR interface review prompt [no-ci]#405
lukeocodes merged 1 commit into
mainfrom
chore/refine-copilot-pr-review-prompt

Conversation

@lukeocodes

Copy link
Copy Markdown
Contributor

Refines .github/prompts/pr-interface-review.md based on Copilot review feedback raised during the original rollout:

  1. Step 1 / Step 5 consistency — Step 1 said "ignore tests except deleted" but Step 5 also requires reviewing added tests that prove compat shims. Broadened Step 1 to cover added, deleted, and modified-to-remove tests. (raised on deepgram/deepgram-go-sdk#329)

  2. Tier 6 broadened — original wording only mentioned same-named local symbols as collision vectors. Now also covers glob/namespace imports (Python from X import *, Rust use X::*, Go dot-imports, TypeScript import * as destructuring). (raised on deepgram/deepgram-js-sdk#495)

  3. Fence language — the template fenced block now declares markdown to satisfy markdownlint MD040. (raised on deepgram/deepgram-go-sdk#329)

Canonical source: deepgram/dx-stack. Rollout context: docs/copilot-prompts.md.

[no-ci] — docs-only refinement to a previously-merged file.

Copilot AI review requested due to automatic review settings May 6, 2026 13:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Refines the repository’s Copilot “PR Interface & Contract Review” prompt to improve consistency and reduce review blind spots when assessing backward compatibility and public-surface changes.

Changes:

  • Aligns Step 1 guidance with Step 5 by requiring reviewers to note tests that are added, deleted, or modified to remove a compat case.
  • Broadens Tier 6 (“brand-new public type”) collision guidance to include glob/namespace import patterns across languages.
  • Adds an explicit fenced code-block language (markdown) to satisfy markdownlint MD040.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lukeocodes lukeocodes merged commit d0d6fee into main May 6, 2026
6 checks passed
@lukeocodes lukeocodes deleted the chore/refine-copilot-pr-review-prompt branch May 6, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants