Skip to content

Add copilot review instructions#3076

Merged
PingXie merged 6 commits into
valkey-io:unstablefrom
PingXie:infra/copilot-integration
Jan 20, 2026
Merged

Add copilot review instructions#3076
PingXie merged 6 commits into
valkey-io:unstablefrom
PingXie:infra/copilot-integration

Conversation

@PingXie

@PingXie PingXie commented Jan 19, 2026

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Ping Xie <pingxie@outlook.com>
@PingXie PingXie force-pushed the infra/copilot-integration branch from 494f746 to 2d2a638 Compare January 19, 2026 19:18
Signed-off-by: Ping Xie <pingxie@outlook.com>
Signed-off-by: Ping Xie <pingxie@outlook.com>
Signed-off-by: Ping Xie <pingxie@outlook.com>
@codecov

codecov Bot commented Jan 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.18%. Comparing base (0b1f99d) to head (3abef97).

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #3076      +/-   ##
============================================
- Coverage     74.33%   74.18%   -0.15%     
============================================
  Files           129      129              
  Lines         71009    71009              
============================================
- Hits          52784    52680     -104     
- Misses        18225    18329     +104     

see 21 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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 GitHub Copilot review integration by introducing a workflow trigger and a comprehensive instruction set document that defines code review standards for AI-assisted reviews.

Changes:

  • Added a GitHub Actions workflow that triggers on pushes to the unstable branch and pull request events to signal for AI code review
  • Created a detailed instructions document that consolidates Valkey project's coding standards, contribution requirements, governance policies, and review escalation procedures for AI consumption

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/copilot-review.yml Defines the workflow trigger for Copilot reviews with concurrency controls and event handling
.github/copilot-instructions.md Provides comprehensive AI review guidelines covering coding style, testing, security, governance, and escalation procedures

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

Comment thread .github/copilot-instructions.md Outdated
Comment thread .github/workflows/copilot-review.yml Outdated
Comment thread .github/copilot-instructions.md Outdated

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.


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

Comment thread .github/instructions/code-review.instructions.md Outdated
Comment thread .github/instructions/core-engine.instructions.md Outdated
Comment thread .github/copilot-instructions.md Outdated
@PingXie PingXie force-pushed the infra/copilot-integration branch from a0597e4 to 964bb5c Compare January 19, 2026 20:56
@PingXie PingXie requested a review from a team January 19, 2026 21:06
@PingXie PingXie changed the title Add copilot review instructions and workflow Add copilot review instructions Jan 19, 2026
Add repository-wide and path-specific instructions to guide Copilot
code reviews with actionable feedback on code quality, safety, and
project standards.

General instructions focus on what Copilot can check and comment on:
- DCO sign-off presence in commits
- Security vulnerability handling (flag public PRs)
- Major decision detection (mention @core-team for TSC review)
- Documentation and issue linking reminders
- Governance file change detection (mention @core-team)

Code-specific instructions in three scoped files:
- core-engine: C code standards, safety, testing, command JSON updates
  Critical file changes mention @core-team for architectural review
- integration-tests: Tcl test organization and practices
- utils: Script standards for Python/Ruby/Shell/C tools

Copilot can mention teams/users in comments but cannot add labels,
request reviews via GitHub API, or enforce approval requirements.

Signed-off-by: Ping Xie <pingxie@outlook.com>

@zuiderkwast zuiderkwast 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.

I didn't review it very carefully, but it can't break anything. Let's merge this so can try it out. We can change it again later when we want.

@PingXie PingXie merged commit 62c303f into valkey-io:unstable Jan 20, 2026
2 checks passed
@PingXie PingXie deleted the infra/copilot-integration branch January 21, 2026 00:13
arshidkv12 pushed a commit to arshidkv12/valkey that referenced this pull request Jan 23, 2026
Signed-off-by: Ping Xie <pingxie@outlook.com>
Signed-off-by: arshidkv12 <arshidkv12@gmail.com>
harrylin98 pushed a commit to harrylin98/valkey_forked that referenced this pull request Feb 19, 2026
Signed-off-by: Ping Xie <pingxie@outlook.com>
hpatro pushed a commit to hpatro/valkey that referenced this pull request Mar 5, 2026
Signed-off-by: Ping Xie <pingxie@outlook.com>
Signed-off-by: Harkrishn Patro <bunty.hari@gmail.com>
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