Reviewing a Pull Request

Statuscandidate
Version1.0.0(changelog)

This playbook guides reviewers through conducting effective code reviews for SDK pull requests. It covers PR description validation, CI verification, code quality assessment, and feedback conventions using the LOGAF scale. By following these steps, reviews will focus on risk reduction, maintain consistent quality standards, and provide actionable feedback.

Related resources:


Does it explain what and why? Is there a linked issue? If either is missing, request it before reviewing code.

A reviewer SHOULD NOT begin a full review unless all of the following conditions are met:

  • All CI checks, builds, and tests have completed successfully.
  • All requested AI code review agents have completed their reviews.
  • All comments from previous review cycles (AI or human) have been addressed, resolved, or explicitly marked as not applicable.

If any of the above conditions are unmet, the reviewer MAY leave comments to help the author unblock CI failures or address outstanding feedback.

Use the code review checklist. You MUST focus on:

  • Runtime errors and potential crashes
  • Performance concerns (N+1 queries, unbounded operations)
  • Unintended side effects or behavior changes
  • Backwards compatibility
  • Security vulnerabilities
  • Test coverage appropriate for the change type (Test requirements by change type)
  • Test quality — do assertions verify real behavior? (Test quality)

You SHOULD use the sentry-skills:code-review skill to systematically check for issues.

(Required reviewers): public API changes, new dependencies, schema changes, security-sensitive code, new frameworks. If any apply and no @sdk-seniors reviewer is assigned, flag it.

You MUST use LOGAF prefixes on all feedback (Review feedback conventions):

  • h: (high) — must fix before merge. Bugs, security issues, breakage, data loss.
  • m: (medium) — should fix. Design concerns, missing tests, unclear code.
  • l: (low) — optional nit. Style preferences, minor suggestions.

You MUST NOT block for style preferences. The goal is risk reduction, not perfection.


VersionDateSummary
1.0.02026-02-21Initial playbook — standardized code review process with LOGAF feedback conventions
Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").