Skip to content
Source
Sign inSign up

Read the Impact tab

Software factory / Pull requests

Read the Impact tab

A large pull request can change how the parts of the project connect, or break the code of the people who use it. You want to know that before you read the diff, so you review those pull requests with more care.

8 min read

The Impact step of PR summary answers two questions for each pull request: does it change the architecture, and does it change the public API? It is on when an admin turns on PR summary, which is off by default.

1. Open the Impact tab

  1. Open the pull request.
  2. Click the Impact tab, next to Intent.

The line Latest push at the top names the head commit that the tab describes.

2. Read the parts that apply

The tab shows only the parts that the pull request has:

  • Architecture impact, for a major architecture change. Read it with the steps below.
  • Public API changes, for a change that users see. Step 3 shows how to read them.

To read the architecture impact:

  1. Read the first sentence, in large text. It says what the pull request makes possible or different. The text under it gives the main changes.
  2. Look at the change map. It shows the parts that the pull request touches, and how they connect.
  3. Read the color of each part. The legend under the map names each color that the map uses: Added, Changed, Removed or Same. A part gets a color only when the diff changes one of its files. A library that the pull request only connects to stays Same.
  4. To see one side of the pull request, click Before or After above the map. Before has no added parts, and After has no removed parts. Changes shows all of the parts again.
  5. Read the explanation under the map, then the Risks.

Some answers have no change map. They show a Before diagram and an After diagram, one under the other.

The Architecture impact card: a one-sentence summary in large text, the Changes, Before and After toggle, a change map with the legend Added, Changed and Same, then the explanation and the risks.

3. Read the public API changes

You want to find the changes that break the code of your users first.

  1. Read the badges at the top of Public API changes. Each badge counts the changes with one label, for example Breaking 2.
  2. Read the rows under the badges. Each package has its own group of rows, and in each group the breaking changes are first.
  3. Click a row to open the panel of its change.
  4. To go to the next or the previous change, click Next or Previous. You can also press the right or the left arrow key.

Each change has one of these labels:

LabelMeaning
Breaking (red)Callers must change their code.
Behavior change (amber)The same signature gives a different result.
Deprecated (amber)It still works, and it will go away.
Safe (green)It is new, or it is fully compatible.

In each group, the rows keep this order: Breaking, Behavior change, Deprecated, Safe, then the changes with no label. A row shows the name of the change, its label, Added, Removed or Changed, its kind and the first line of what changes.

The panel shows each of these parts that the change has:

  • What changes: what changes for the users of the code.
  • How to use it: a short code example.
  • Signature: the declaration or the signature, Before over After. An added change has only After, and a removed change has only Before.
  • Why: why the pull request needed the change.
  • Docs: the doc comment of the change in the code. It shows the text, a table of the parameters, what it returns, what it throws, and the examples.

The address of the page keeps the open change, as ?tab=impact&api=<n>. Copy the address to send someone to that change.

The panel of the change createReconnectTracker: its labels Behavior change, Changed and function, then What changes, How to use it with a code example, the Before and After signature, and Why. Behind the panel, the rows are in groups by package.

Done

The Impact tab tells you which pull requests change the architecture or the public API, and which API changes break the code of your users.

The pull request list also shows an impact for each open pull request, and you can sort by it. See Find the pull requests to handle first.

What the tab can say

The tab saysMeaning
No architecture impact and no public API changes.The pull request changes only docs, tests, generated files or assets, or the decision model said no to both questions.
Analyzing the impact of the latest push.A run is queued or running. People with write access see Watch it live, which opens the run's log as the model writes it.
The last run stopped: and a causeThe run did not succeed. The cause says why, for example that it used all of its time, or that the monthly spend cap is reached. See Why a run failed. People with write access see See its log.
The last run failed: and a reasonSomething else went wrong. People with write access see See its log.
Not analyzed yet. No run started on this commit.The agent did not look at this head yet, and it has no older answer. For example, Who starts it does not include the author.
This analysis is for an older commit. The latest push is not analyzed yet.The latest push has no answer and no run on it is going, so the tab shows the answer of an older commit, with a link to that commit. For example, a push on GitHub to a synced repository whose factory does not run on synced items starts no run. A failed run on the latest push shows it too.
The PR impact agent is off for this repository.An admin turned off PR summary, or its step Impact.
The last run was skipped: and a reasonA rule skipped the run. The tab says why.

When it runs

The agent looks again when the pull request opens, and on each push to it. Each push gets a new answer for its head commit.

A push that starts no run does not hide the last answer: the tab shows it, with a note that it is for an older commit. To analyze the latest push, start the step yourself: src factory start <number> impact.

Before a run, code and Cloudflare's decision model clef-flash decide which parts the pull request needs. A run starts only when one answer is yes.

The run gives the model the pull request, its diff and every path that it changes, in one call. The model reads no files itself. When the forge has an AI Gateway set up, the model is OpenAI's GPT-6 Luna with high reasoning. Without one, it is Workers AI's own DeepSeek V4.1 Flash model. A finished answer names its model at the top of the tab.

Who starts it applies, as for the other agents. A run counts toward the daily limit of an author without write access. See Pick who starts each agent.

Your agent can read the same answer

Use src pr impact <number>, the MCP tool get_pull_impact, or GET /api/v1/repos/{owner}/{repo}/pulls/{n}/impact.

  • For each public API change, src pr impact prints its label after its name, for example [Breaking]. Under the change, it prints the How to use it example and the Before and After code in code blocks.
  • For the architecture, src pr impact prints the summary, the explanation and the risks. Then it prints a Change map list with one line for the added, the removed and the changed parts, for example - Added: Reconnect tracker. An answer with no change map prints the Before and After mermaid diagrams.
  • In the MCP and REST answers, each public API change can have the fields label (breaking, behavior, deprecated or safe), before, after, example and language. example is the How to use it code. language is the code block language of before, after and example, for example ts.
  • architecture.map is the change map, with nodes and edges. A node or an edge with change (added, removed or changed) is a part that the pull request changes. A part with no change stays the same. A node can have paths: the folders or files of the repository that it holds. The forge keeps the change of a node only when one of its paths is in the diff.
  • architecture.before and architecture.after are mermaid diagrams. When the answer has a map, the forge makes them from the map: before has no added parts, and after has no removed parts.