Skip to content

chore: add CODEOWNERS and a PR template for the review process - #646

Open
hongquanli wants to merge 1 commit into
masterfrom
chore/pr-process
Open

hongquanli wants to merge 1 commit into
masterfrom
chore/pr-process

Conversation

@hongquanli

Copy link
Copy Markdown
Contributor

What

  • .github/CODEOWNERS: every PR requests a review from @Alpaca233 (maintainer of master); firmware/, control/microcontroller.py and control/firmware_sim_serial.py request @hongquanli.
  • .github/pull_request_template.md: the ready-for-review checklist (what, why, the flag or config that gates the change, CI and hardware evidence, size and stacking).

Why

61 PRs were open on 2026-09-08 and 44 of them had never been reviewed, because nobody was assigned. CODEOWNERS makes GitHub do the assignment. The template makes "ready for review" mean the same thing for everyone.

Process design with the merge order for the open backlog: AI-docs Squid/to-do/2026-09-09-pr-backlog-and-customer-lanes-design.md (approved 2026-09-08).

Test plan

  • After merge, open any PR touching firmware/ and confirm both reviewers are requested.
  • Open a PR and confirm the template pre-fills.

🤖 Generated with Claude Code

https://claude.ai/code/session_0135ZEPVUoAwjCfCQCjpPcnU

CODEOWNERS routes every PR to the maintainer of master (@Alpaca233) and
firmware plus the host<->MCU driver to @hongquanli, so GitHub requests the
right reviewer automatically. The PR template carries the ready-for-review
checklist: what, why, the flag or config that gates the change, CI and
hardware evidence, size and stacking.

Design and rationale: AI-docs Squid/to-do/2026-09-09-pr-backlog-and-customer-lanes-design.md

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0135ZEPVUoAwjCfCQCjpPcnU

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.

🟡 Changes recommended

The current CODEOWNERS patterns override the default * entry for firmware/protocol paths, so they won’t request both reviewers as intended.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR adds GitHub metadata files to standardize the review process by automatically requesting reviewers via CODEOWNERS and by providing a structured pull request template to ensure consistent “ready for review” criteria across contributors.

Changes:

  • Add .github/CODEOWNERS to route reviews by path (default maintainer + firmware/protocol owner).
  • Add .github/pull_request_template.md with a ready-for-review checklist and evidence/size expectations.
File summaries
File Description
.github/CODEOWNERS Introduces path-based review ownership rules for automatic reviewer requests.
.github/pull_request_template.md Adds a PR template checklist to standardize review readiness and evidence expectations.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/CODEOWNERS
Comment on lines +3 to +8
* @Alpaca233

# Firmware and the host <-> MCU protocol: Hongquan reviews.
/firmware/ @hongquanli
/software/control/microcontroller.py @hongquanli
/software/control/firmware_sim_serial.py @hongquanli
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.

2 participants