DEV Community

Cover image for How to Prioritize Risky Pull Requests
Parsa Mohammadi
Parsa Mohammadi

Posted on Originally published at tomosu.ai

How to Prioritize Risky Pull Requests

When a team has dozens of pull requests, not every change can receive the same amount of attention.

The useful question is:

Where will additional review, testing, or investigation provide the most value?

Prioritization should start with potential production impact, not simply the number of changed lines.

Start with production impact

Ask what the change could affect.

A change to a shared payment component deserves different attention from a change to an isolated internal tool.

Look at change scope

Understand which files, services, APIs, databases, and infrastructure are involved.

Then look for indirect effects.

Check dependencies

A small change can affect many services when it sits low in a dependency graph.

Dependency reach is therefore an important prioritization signal.

Check production usage

How heavily is the affected component used?

How important are the workflows that depend on it?

Check testing evidence

Limited testing increases uncertainty.

Strong evidence can reduce the amount of additional investigation required.

Check incident history

Previous incidents and rollbacks provide context about areas that may deserve closer attention.

Look at runtime behavior

Current production signals can help identify changes touching areas that are already behaving abnormally.

Consider recent activity

Frequent changes, recent regressions, or rapidly evolving components can add context.

Assess blast radius

Think about the systems, users, workflows, and dependencies that could be affected.

Consider deployment conditions

A change that can be safely rolled back or gradually deployed may be easier to manage than one with the same potential impact but no practical rollback path.

A practical prioritization model

Potential impact
      +
Evidence
      +
Uncertainty
      +
Deployment control
      ↓
Attention required
Enter fullscreen mode Exit fullscreen mode

This is a prioritization model, not a universal formula.

Risky does not automatically mean blocked

A change can deserve additional attention without being rejected.

Possible actions include:

  • Additional review
  • More integration testing
  • Staged deployment
  • Feature flags
  • Additional monitoring
  • Rollback preparation

Where PRI fits

The Production Reliability Index (PRI) can summarize multiple signals so teams can focus investigation where the evidence suggests more attention may be useful.

Run a PRI assessment:

https://tomosu.ai/start

Top comments (0)