Skip to content

Commit 4aa3ba2

Browse files
docs(sdk): Rewrite Review and CI spec for readability (#17018)
Rewrites the Review and CI standards page to be more human-friendly: - Add intro paragraph framing the purpose - Merge reviewers, review SLAs, and feedback conventions into one cohesive "Code review" section - Move commit message validation from required to recommended CI checks - Replace rigid Rule/Enforcement/Per-SDK override template with natural prose - Remove enforcement boilerplate, StatusBadge components, and suggested skills - Promote spec status to stable --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b56a09d commit 4aa3ba2

9 files changed

Lines changed: 60 additions & 152 deletions

File tree

‎develop-docs/sdk/getting-started/playbooks/development/handling-a-regression.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ This helps identify gaps in testing, review processes, or monitoring that can be
7272

7373
- [Post-release monitoring](/sdk/getting-started/standards/coordination-maintenance#releases) — monitoring that detects regressions
7474
- [Rollback procedures](/sdk/getting-started/standards/coordination-maintenance#releases) — emergency rollback process
75-
- [Release Gating Criteria](/sdk/getting-started/standards/review-ci#release-gating-criteria) — gates that may be expedited for critical patches
75+
- [Release Gating Criteria](/sdk/getting-started/standards/review-ci#release-gating) — gates that may be expedited for critical patches
7676

7777
---
7878

‎develop-docs/sdk/getting-started/playbooks/development/handling-external-contributor-pr.mdx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Related resources:
3535

3636
#### 1. Triage within 2 business days
3737

38-
([Review SLAs](/sdk/getting-started/standards/review-ci#review-slas)). Every external PR **REQUIRES** a timely, substantive response.
38+
([Review SLAs](/sdk/getting-started/standards/review-ci#code-review)). Every external PR **REQUIRES** a timely, substantive response.
3939

4040
#### 2. Check for a linked issue
4141

@@ -55,16 +55,16 @@ Review it using the standard process ([Reviewing a PR](/sdk/getting-started/play
5555

5656
#### 6. When requesting changes
5757

58-
You **MUST** be specific, use LOGAF prefixes ([Review feedback conventions](/sdk/getting-started/standards/review-ci#review-feedback-conventions)), and explain *why* — so the contributor (or their AI tool) can address the feedback effectively.
58+
You **MUST** be specific, use LOGAF prefixes ([Review feedback conventions](/sdk/getting-started/standards/review-ci#code-review)), and explain *why* — so the contributor (or their AI tool) can address the feedback effectively.
5959

6060
#### 7. Closing fast is kind
6161

6262
A 30-second close with a clear, respectful reason is better than a PR that sits open for weeks with no response. That respects everyone's time.
6363

6464
## Referenced Standards
6565

66-
- [Review SLAs](/sdk/getting-started/standards/review-ci#review-slas) — timely response requirements
67-
- [Review feedback conventions](/sdk/getting-started/standards/review-ci#review-feedback-conventions) — LOGAF scale for feedback
66+
- [Review SLAs](/sdk/getting-started/standards/review-ci#code-review) — timely response requirements
67+
- [Review feedback conventions](/sdk/getting-started/standards/review-ci#code-review) — LOGAF scale for feedback
6868
- [PR description quality](/sdk/getting-started/standards/code-submission#pr-description-quality) — linked issue requirement
6969

7070
---

‎develop-docs/sdk/getting-started/playbooks/development/opening-a-pr.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ When green, mark the PR as ready for review.
7575

7676
#### 9. Assign 1–2 reviewers
7777

78-
If the PR touches public API, dependencies, or security-sensitive areas, you **MUST** assign an @sdk-seniors reviewer ([Required reviewers](/sdk/getting-started/standards/review-ci#required-reviewers)).
78+
If the PR touches public API, dependencies, or security-sensitive areas, you **MUST** assign an @sdk-seniors reviewer ([Required reviewers](/sdk/getting-started/standards/review-ci#code-review)).
7979

8080
## Referenced Standards
8181

@@ -87,7 +87,7 @@ If the PR touches public API, dependencies, or security-sensitive areas, you **M
8787
- [Changelog entry](/sdk/getting-started/standards/code-submission#changelog-entry) — user-facing change documentation
8888
- [One logical change per PR](/sdk/getting-started/standards/code-submission#one-logical-change-per-pr) — focused PR scope
8989
- [Documentation-with-code](/sdk/getting-started/standards/repository-docs#documentation-with-code) — docs PR requirements
90-
- [Required reviewers](/sdk/getting-started/standards/review-ci#required-reviewers) — @sdk-seniors review triggers
90+
- [Required reviewers](/sdk/getting-started/standards/review-ci#code-review) — @sdk-seniors review triggers
9191
- [Test requirements by change type](/sdk/getting-started/standards/code-quality#testing) — test coverage requirements
9292

9393
---

‎develop-docs/sdk/getting-started/playbooks/development/reviewing-a-pr.mdx‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ You **SHOULD** use the [`sentry-skills:code-review`](https://github.com/getsentr
6363

6464
#### 4. Check for @sdk-seniors review triggers
6565

66-
([Required reviewers](/sdk/getting-started/standards/review-ci#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.
66+
([Required reviewers](/sdk/getting-started/standards/review-ci#code-review)): public API changes, new dependencies, schema changes, security-sensitive code, new frameworks. If any apply and no @sdk-seniors reviewer is assigned, flag it.
6767

6868
#### 5. Use LOGAF prefixes on all feedback
6969

70-
You **MUST** use LOGAF prefixes on all feedback ([Review feedback conventions](/sdk/getting-started/standards/review-ci#review-feedback-conventions)):
70+
You **MUST** use LOGAF prefixes on all feedback ([Review feedback conventions](/sdk/getting-started/standards/review-ci#code-review)):
7171
- `h:` (high) — must fix before merge. Bugs, security issues, breakage, data loss.
7272
- `m:` (medium) — should fix. Design concerns, missing tests, unclear code.
7373
- `l:` (low) — optional nit. Style preferences, minor suggestions.
@@ -78,9 +78,9 @@ You **MUST NOT** block for style preferences. The goal is risk reduction, not pe
7878

7979
## Referenced Standards
8080

81-
- [Review feedback conventions](/sdk/getting-started/standards/review-ci#review-feedback-conventions) — LOGAF scale and blocking criteria
82-
- [Required reviewers](/sdk/getting-started/standards/review-ci#required-reviewers) — @sdk-seniors review triggers
83-
- [Required CI checks baseline](/sdk/getting-started/standards/review-ci#required-ci-checks-baseline) — minimum CI requirements
81+
- [Review feedback conventions](/sdk/getting-started/standards/review-ci#code-review) — LOGAF scale and blocking criteria
82+
- [Required reviewers](/sdk/getting-started/standards/review-ci#code-review) — @sdk-seniors review triggers
83+
- [Required CI checks baseline](/sdk/getting-started/standards/review-ci#required-ci-checks) — minimum CI requirements
8484
- [Test requirements by change type](/sdk/getting-started/standards/code-quality#testing) — test coverage expectations
8585
- [Test quality](/sdk/getting-started/standards/code-quality#testing) — meaningful assertion requirements
8686
- [PR description quality](/sdk/getting-started/standards/code-submission#pr-description-quality) — description content requirements

‎develop-docs/sdk/getting-started/playbooks/development/reviewing-ai-generated-code.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Public API, dependencies, schema changes, security-sensitive code, frameworks.
5353

5454
#### 5. Use LOGAF prefixes on feedback
5555

56-
([Review feedback conventions](/sdk/getting-started/standards/review-ci#review-feedback-conventions))
56+
([Review feedback conventions](/sdk/getting-started/standards/review-ci#code-review))
5757

5858
#### 6. Approve when only `l:` items remain
5959

@@ -91,7 +91,7 @@ You **SHOULD** use the [`sentry-skills:find-bugs`](https://github.com/getsentry/
9191

9292
## Referenced Standards
9393

94-
- [Review feedback conventions](/sdk/getting-started/standards/review-ci#review-feedback-conventions) — LOGAF scale and blocking criteria
94+
- [Review feedback conventions](/sdk/getting-started/standards/review-ci#code-review) — LOGAF scale and blocking criteria
9595
- [Test requirements by change type](/sdk/getting-started/standards/code-quality#testing) — test coverage expectations
9696
- [Test quality](/sdk/getting-started/standards/code-quality#testing) — meaningful assertion requirements
9797
- [AI attribution](/sdk/getting-started/standards/code-submission#ai-attribution) — Co-Authored-By footer requirement

‎develop-docs/sdk/getting-started/playbooks/sdk-lifecycle/cutting-a-release.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Related resources:
3939

4040
#### 1. Verify release gating criteria
4141

42-
You **MUST** verify all criteria pass ([Release gating criteria](/sdk/getting-started/standards/review-ci#release-gating-criteria)):
42+
You **MUST** verify all criteria pass ([Release gating criteria](/sdk/getting-started/standards/review-ci#release-gating)):
4343
- All required CI checks pass on the default branch
4444
- No unresolved `h:` (high) review comments on merged PRs since last release
4545
- Changelog is substantive (not empty or internal-only for a release with user-facing changes)
@@ -111,7 +111,7 @@ Common SDK-specific variations include:
111111

112112
## Referenced Standards
113113

114-
- [Release gating criteria](/sdk/getting-started/standards/review-ci#release-gating-criteria) — pre-release quality gates
114+
- [Release gating criteria](/sdk/getting-started/standards/review-ci#release-gating) — pre-release quality gates
115115
- [Post-release monitoring](/sdk/getting-started/standards/coordination-maintenance#releases) — monitoring requirements and timeline
116116
- [Rollback procedures](/sdk/getting-started/standards/coordination-maintenance#releases) — emergency rollback process
117117

‎develop-docs/sdk/getting-started/playbooks/setup/setting-up-new-sdk-repo.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Related resources:
4141

4242
Create the repository in the `getsentry` organization. You **MUST** configure branch protection rules:
4343
- Require CI checks to pass ([Required CI checks baseline](/sdk/getting-started/standards/review-ci#required-ci-checks))
44-
- Require at least one approving review ([Required reviewers](/sdk/getting-started/standards/review-ci#required-reviewers))
44+
- Require at least one approving review ([Required reviewers](/sdk/getting-started/standards/review-ci#code-review))
4545

4646
You **MUST** set up a `CODEOWNERS` file with team members to automatically request reviews.
4747

@@ -109,7 +109,7 @@ If the tool cannot do this, the documentation needs work.
109109
- [CONTRIBUTING.md](/sdk/getting-started/standards/repository-docs#repo-files) — contributor guidelines
110110
- [PR template](/sdk/getting-started/standards/repository-docs#repo-files) — pull request template structure
111111
- [AI context file maintenance](/sdk/getting-started/standards/repository-docs#ai-context) — maintaining AI-readable documentation
112-
- [Required reviewers](/sdk/getting-started/standards/review-ci#required-reviewers) — review approval requirements
112+
- [Required reviewers](/sdk/getting-started/standards/review-ci#code-review) — review approval requirements
113113
- [Required CI checks baseline](/sdk/getting-started/standards/review-ci#required-ci-checks) — minimum CI pipeline requirements
114114
- [Commit message format](/sdk/getting-started/standards/code-submission#commit-message-format) — conventional commit format
115115
- [Linting and formatting in CI](/sdk/getting-started/standards/code-quality#linting-and-type-checking) — automated code style checks

‎develop-docs/sdk/getting-started/playbooks/setup/setting-up-release-infrastructure.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ For the ongoing release process after setup, see "Cutting a release" (wip).
129129

130130
- [Version format](/sdk/getting-started/standards/release-versioning#versioning) — SemVer requirements
131131
- [Release tooling](/sdk/getting-started/standards/release-versioning#release-tooling) — Craft and publish setup
132-
- [Release gating criteria](/sdk/getting-started/standards/review-ci#release-gating-criteria) — Pre-release validation requirements
132+
- [Release gating criteria](/sdk/getting-started/standards/review-ci#release-gating) — Pre-release validation requirements
133133
- [Rollback procedures](/sdk/getting-started/standards/coordination-maintenance#releases) — Emergency release rollback process
134134

135135
---

‎develop-docs/sdk/getting-started/standards/review-ci.mdx‎

Lines changed: 41 additions & 133 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Review and CI
33
spec_id: sdk/getting-started/standards/review-ci
44
spec_version: 1.1.0
5-
spec_status: candidate
5+
spec_status: stable
66
spec_platforms:
77
- all
88
spec_changelog:
@@ -19,181 +19,89 @@ sidebar_order: 4
1919

2020
<SpecMeta />
2121

22-
<SpecSection id="required-reviewers" status="candidate" since="1.0.0">
22+
These standards cover how code gets reviewed and what CI must check before anything merges or ships. The goal: catch problems early, keep reviews useful, and make sure releases are safe.
2323

24-
## Required Reviewers
24+
<SpecSection id="code-review" status="stable" since="1.0.0">
2525

26-
#### Rule
26+
## Code review
2727

28-
Every PR **REQUIRES** at least one approving review.
29-
@sdk-seniors review **REQUIRED** for:
28+
### Who needs to review
3029

31-
- Public API ([Public API change approval gate](/sdk/getting-started/standards/api-architecture#public-api-change-approval-gate))
32-
- New dependencies ([Dependency management](/sdk/getting-started/standards/code-quality#dependency-management))
33-
- Security-sensitive code ([Security practices](/sdk/getting-started/standards/code-quality#security-practices))
34-
- Schema changes
35-
- Frameworks/architectural shifts.
36-
External contributor PRs **REQUIRE** review from someone with area context.
37-
38-
#### Enforcement
39-
40-
- GitHub branch protection
41-
- CODEOWNERS file
42-
43-
#### Suggested skill(s)
44-
45-
- [`sentry-skills:code-review`](https://github.com/getsentry/skills#available-skills)
46-
47-
#### Per-SDK override
48-
49-
<StatusBadge type="yes" /> CODEOWNERS and reviewer count are team-specific.
50-
51-
</SpecSection>
52-
53-
---
54-
55-
<SpecSection id="review-slas" status="candidate" since="1.0.0">
56-
57-
## Review SLAs
58-
59-
#### Rule
60-
61-
Internal PRs: first review within 1 business day.
62-
External PRs: first response within 2 business days.
63-
64-
"First review" means substantive feedback, not just a reaction.
65-
66-
If an area has only a single reviewer or if that reviewer lacks capacity, the reviewer **MUST** proactively find coverage (another reviewer or AI assist). The PR author **SHOULD** also help identify an appropriate reviewer to avoid blocking the PR.
67-
68-
#### Enforcement
69-
70-
- Dashboard tracking
71-
- Periodic reporting
72-
73-
#### Per-SDK override
74-
75-
<StatusBadge type="yes" /> Teams can set stricter SLAs. Baseline is universal.
76-
77-
</SpecSection>
78-
79-
---
80-
81-
<SpecSection id="review-feedback-conventions" status="candidate" since="1.0.0">
82-
83-
## Review Feedback Conventions
30+
Every PR **REQUIRES** at least one approving review. Some changes need review from an [SDK Senior Engineer](https://github.com/orgs/getsentry/teams/sdk-seniors):
8431

85-
#### Rule
86-
87-
LOGAF scale:
32+
- [Public API changes](/sdk/getting-started/standards/api-architecture#public-api-changes)
33+
- [New dependencies](/sdk/getting-started/standards/code-quality#dependencies)
34+
- [Security-sensitive code](/sdk/getting-started/standards/code-quality#security)
35+
- Schema changes
36+
- Frameworks or architectural shifts
8837

89-
- `h:` (high) — must fix (bugs, security, breakage, data loss)
90-
- `m:` (medium) — should fix (design, missing tests, clarity)
91-
- `l:` (low) — optional nit (style, minor suggestions)
38+
PRs from external contributors need review from someone with context on the affected area.
9239

93-
Comments without a prefix are treated as `m:` (medium). A PR **MUST NOT** be merged if it has any unresolved `h:` comments.
40+
### Turnaround time
9441

95-
#### Enforcement
42+
Internal PRs should get a first substantive review within 1 business day. External PRs should get a first response within 2 business days. "First review" means real feedback, not just a reaction.
9643

97-
- Convention
44+
If you're the sole reviewer for an area and don't have capacity, proactively find coverage — another reviewer or AI assist. PR authors should also help identify an appropriate reviewer to avoid blocking.
9845

99-
#### Suggested skill(s)
46+
### Feedback conventions
10047

101-
- [`sentry-skills:iterate-pr`](https://github.com/getsentry/skills#available-skills) — triages by LOGAF level.
102-
- [`sentry-skills:code-review`](https://github.com/getsentry/skills#available-skills) — uses LOGAF in feedback.
48+
Use the LOGAF scale to signal the weight of your feedback:
10349

104-
#### Per-SDK override
50+
- **`h:`** (high) — must fix: bugs, security issues, breakage, data loss
51+
- **`m:`** (medium) — should fix: design, missing tests, clarity
52+
- **`l:`** (low) — optional nit: style, minor suggestions
10553

106-
<StatusBadge type="no" />
54+
Comments without a prefix are treated as medium. A PR **MUST NOT** merge with unresolved `h:` comments.
10755

10856
</SpecSection>
10957

11058
---
11159

112-
<SpecSection id="required-ci-checks" status="candidate" since="1.0.0">
60+
<SpecSection id="required-ci-checks" status="stable" since="1.0.0">
11361

114-
## Required CI Checks Baseline
62+
## CI checks
11563

116-
#### Rule
117-
118-
Every SDK repo **MUST** have as required status checks:
64+
Every SDK repo **MUST** have these as required status checks:
11965

12066
1. Build
121-
2. Lint ([Linting and formatting in CI](/sdk/getting-started/standards/code-quality#linting-and-formatting-in-ci))
122-
3. Type check where applicable ([Type checking in CI](/sdk/getting-started/standards/code-quality#type-checking-in-ci))
67+
2. Lint
68+
3. Type check (where applicable)
12369
4. Tests
124-
5. Commit message structure and content ([Commit message structure and content](/sdk/getting-started/standards/code-submission#commit-message-structure-and-content)).
125-
126-
Optional/**RECOMMENDED**:
70+
5. Secret Scanning
12771

128-
- Size/Performance Check ([SDK size and performance budgets](/sdk/getting-started/standards/code-quality#size-performance-budgets))
129-
- API Snapshot ([Public API change approval gate](/sdk/getting-started/standards/api-architecture#public-api-change-approval-gate))
130-
- Changelog Check ([Changelog entry](/sdk/getting-started/standards/code-submission#changelog-entry))
131-
- Secret Scanning ([Security practices](/sdk/getting-started/standards/code-quality#security-practices)).
72+
These are also recommended but not yet required everywhere:
13273

133-
#### Enforcement
74+
- Commit message validation
75+
- Size and performance checks
76+
- API snapshot diffs
77+
- Changelog validation
13478

135-
- GitHub branch protection
79+
</SpecSection>
13680

137-
#### Suggested skill(s)
81+
---
13882

139-
- [`sentry-skills:claude-settings-audit`](https://github.com/getsentry/skills#available-skills)
83+
<SpecSection id="warden" status="stable" since="1.1.0">
14084

141-
#### Per-SDK override
85+
## Warden
14286

143-
<StatusBadge type="no" /> Additional checks per SDK. Baseline is universal.
87+
SDK repos **SHOULD** have [Warden](https://warden.sentry.dev/) configured in CI via the Warden GitHub Action. Warden runs AI-powered skills against PR diffs to enforce SDK-specific conventions that static linters can't express. Which skills are active varies by SDK.
14488

14589
</SpecSection>
14690

14791
---
14892

149-
<SpecSection id="release-gating-criteria" status="candidate" since="1.0.0">
93+
<SpecSection id="release-gating" status="stable" since="1.0.0">
15094

151-
## Release Gating Criteria
152-
153-
#### Rule
95+
## Release gating
15496

15597
A release **MUST NOT** ship if:
15698

15799
- Any required CI check fails
158-
- Any `h:` comment remains unresolved on merged PRs since last release
100+
- Any `h:` review comment remains unresolved on merged PRs since the last release
159101
- The changelog is empty for user-facing changes
160102
- Any known regression remains unresolved
161103

162-
#### Enforcement
163-
164-
- Release tooling checks
165-
- Human judgment for regressions
166-
167-
See also: [Setting up release infrastructure playbook](/sdk/getting-started/playbooks/setup/setting-up-release-infrastructure) for initial release setup.
168-
169-
#### Per-SDK override
170-
171-
<StatusBadge type="no" /> Additional gates per SDK possible (e.g., beta/rc periods).
172-
173-
</SpecSection>
174-
175-
---
176-
177-
<SpecSection id="warden" status="candidate" since="1.1.0">
178-
179-
## Warden
180-
181-
#### Rule
182-
183-
SDK repos **SHOULD** have [Warden](https://warden.sentry.dev/) configured in CI via the Warden GitHub Action. Warden runs AI-powered skills against PR diffs to enforce SDK-specific conventions that static linters cannot express.
184-
185-
#### Enforcement
186-
187-
- GitHub Actions (Warden GitHub Action)
188-
- Human review for follow-up on findings
189-
190-
#### Suggested skill(s)
191-
192-
- [`sentry-skills:warden-lint-judge`](https://github.com/getsentry/skills#available-skills) — converts findings into permanent lint rules.
193-
194-
#### Per-SDK override
195-
196-
<StatusBadge type="yes" /> Which Warden skills are active varies per SDK.
104+
See [Setting up release infrastructure](/sdk/getting-started/playbooks/setup/setting-up-release-infrastructure) for initial release setup.
197105

198106
</SpecSection>
199107

0 commit comments

Comments
 (0)