← Workflows

阅读中文版本

Review Quality Feedback Workflow

Give reviewers feedback on their reviews using escaped-defect evidence: what a second look would have caught, delivered as learning not blame.

intermediate~25 mincode-reviewqualitylearning

Objective

Improve review effectiveness by closing the loop from production escapes back to the review that passed them, as calibration data for reviewers.

Environment

  • Postmortem or escape analysis that identifies the missed signal
  • The original PR with its review thread
  • A blame-free feedback channel to reviewers

Steps

1. Analyze each escape for review-reachable causes

For production defects, determine whether the fixing diff would have been visible in the original PR: the bug was present, the tests missing, or the risk uncalled-out.

Expected state: Each escape is classified as review-reachable or not before any feedback.

2. Reconstruct what a stronger review would say

For reachable escapes, write the specific comment a thorough review should have made, grounded in the original diff.

Expected state: A model review comment exists per reachable escape.

3. Deliver as pattern, not blame

Share findings with the involved reviewers as a pattern library update — here is what to look for — never as a scorecard of who missed what.

Expected state: Reviewers engage with the pattern library; nobody hides from the feedback.

4. Add the pattern to the review prompts

Promote recurring escape patterns into the structured review checklist or automation, so the lesson outlives the individuals.

Expected state: The checklist gains items traceable to specific escaped defects.

5. Track the escape class trend

Monitor whether the class of review-reachable escapes declines after its pattern lands in the checklist.

Expected state: Escape classes addressed by new checklist items show declining recurrence.

Expected outcome

Reviews improving from production evidence, patterns institutionalized in the checklist, and escape classes measurably declining after their lesson lands.

Verification

Review-reachable escape rate declines over quarters; checklist items exist for every recurring escape class from the last year.

The escape is the review’s exam paper

Every production defect that passed review contains a lesson about reviewing — if traced blamelessly. Reconstructing the comment a stronger review would have made, and promoting the pattern to the checklist, converts escapes into calibration.

escape: INC-3088  (promo double-applied at checkout)
analysis:
  fix diff: guard promo state against concurrent
    requests -- WAS visible in original PR #5102
  tests present: single-thread only  <- missable
  classification: REVIEW-REACHABLE

model comment (from original diff):
  "blocking: promo state is read-modify-write
   with no idempotency guard; two fast clicks
   = double discount. Needs a key + test."

delivery (blameless, pattern):
  "new pattern in library: RMW state needs
   an idempotency question on every PR"
checklist gains: [ ] read-modify-write state:
  what happens on concurrent requests?

escape class trend: RMW concurrency --
  Q2: 4   Q3: 1   Q4: 0

Blameless is a design constraint, not politeness

The moment review feedback reads as a scorecard, engineers optimize for not being tagged: smaller diffs behind fewer eyes, defensive approvals, escape classifications gamed to unreachable. Designing the channel as a pattern library keeps the data honest and the improvement real.

The checklist is the institutional memory

A lesson delivered to one reviewer fixes one reviewer; a checklist item fixes every future review. Promoting recurring patterns into the structured prompts is what makes the escape-analysis investment compound rather than repeat.