Docs Review code

Read a review

What each part of a review page tells you: intent, findings, who is affected, the angles checked and open questions.

Every review has one page. It tells you what the change says it does and whether it does it. It shows who is affected, what the reviewer checked, what it found, and what it could and could not prove. This page walks through it from top to bottom, then the rail on the right, where you decide.

In the portal Reviews › a change, or Decide on Entropix → in the merge request's comment Everyone reads · Member decides

The head

The top of the page shows the review's state, then chips for the merge request (linked to the Git host), its branches (source → target), its author and its PRD, if it names one. Open on GitHub ↗ or Open on GitLab ↗ sits in the page header.

StateMeaning
ReviewingThe round is running. The page refreshes itself every 10 seconds and shows how far it has got.
Needs attentionRound 1 has finished and waits for a person.
Needs your decision · round NA later round has finished and waits for a person.
Round did not finishThe round stopped with an error. See A round that did not finish.
Checking the requirementA requirement round is running (see Add a requirement to a review).
Sent backA person sent it back. It waits for the developer's push.
ApprovedA person approved it.
Merged / ClosedThe merge request was merged, or closed without merging.
Round N, replaced by round MYou are looking at an older round. A newer one exists.

Under the chips, one bold line gives the verdict, for example "3 to decide: 1 will break, 2 should fix, 0 notes." The reviewer compares what the merge request says it does with what the code does. If they differ, the line adds "It only partly does what it says" or "It does not do what it says", with the reviewer's reason. If checks are failing on the reviewed commit, the line says so. What it says it does folds out the merge request's own description.

A finished review has three tabs. Review is this page. Data flow draws the change on your code's import graph (see Data flow and Across repos). Tests shows the tests your test runner ran on the base and the head (see Review tests). A finding filed from a test is tagged as from tests, shows the last lines of the test's output on the head and links to the test; it never blocks Approve.

Who this change affects

Up to four boxes show where the change reaches beyond its own files:

BoxWhat it lists
Other repositoriesYour other repositories that the change breaks or that need an update
DataDatabase and data changes
API & contractsChanged interfaces that other code depends on
Runtime & configInfrastructure, rollout and observability changes

Each line has a dot that says whether something there will break, should be fixed, or was touched with nothing raised. A line links to its finding or to the place in the code. A box shows at most 3 lines, then "+N more". A box with nothing in it is left out. If all four are empty, the section is not shown.

Checked from nine angles

The reviewer reports on the change from eight angles, and Entropix works out the ninth, Tests, from the behaviours. The heading reads "Checked from 9 angles", or "Checked from N of 9 angles" when the reviewer did not report on some.

AngleThe question it answers
RequirementsDoes it do what was asked? Reads "PRD criteria" when the review has a PRD.
CorrectnessDoes the code do the right thing, including its edge cases?
Contracts & compatibilityDoes it break anyone who calls or depends on it?
SecurityDoes it open a hole?
Data & migrationsIs the data and its schema safe?
PerformanceIs it fast enough, and does it scale?
ObservabilityWill you see it fail?
Rollout & rollbackCan it be deployed and undone safely?
TestsIs it proven by tests that passed? Computed by Entropix, not reported by the reviewer.

Each tile has a mark: ✓ clear, ⚠ a finding, ✕ something will break (its tile opens by itself), or ? unproven or not reported. Open a tile to see its findings ("2 findings · 1 to fix · 1 undecided"), the reviewer's note, and the path:line places the note points at. Entropix checks each place against the reviewed commit and marks one that is not there. A tile can also carry a caveat, for example:

  • "No test check passed on (commit), so no test here counts as proof." with a link to set test checks.
  • "Other repositories were not read."
  • "N criteria unknown."
  • "Reviewer skills missing: …"
  • "Not reported by the reviewer."

Findings

Findings · decide each one lists what the reviewer found. Each finding has an id (F-1, F-2, …) and one of three levels:

LevelMeans
Will breakSomething stops working if this merges.
Should fixA real problem, but nothing breaks right away.
NoteWorth knowing. Notes are folded under Notes (N).

A finding card shows its level, its place in the code (or "could not find this line"), a title, what is wrong, the quoted code and Fix: with what to change. Its tags give the angle, the agent that found it, "also found by …" when more than one agent did, "written by" for a finding a person added, and the rule behind it, if any. New marks a finding first raised in this round.

Beside its level, a finding carries a grade, and the head of the list counts them ("1 shown by a test · 1 checked by the portal · 2 reviewer's reading"):

  • Shown by a test: a test passes on the base commit and fails on the change's head.
  • Checked by the portal: the reviewer tied the finding to a lead Entropix computed without a model, a line that still names something the change removed or renamed. Entropix checked the lead's facts again and they hold. Why the portal agrees lists each fact with its place and the quoted line, then the rule.
  • Reviewer's reading: the reviewer's own judgement. When the reviewer tied it to a lead but a fact did not hold, the card says The portal could not check it: and names the fact.

A grade never changes a finding's level. Under your rule R-n marks a finding that follows one of your organisation's rules. The grades are on unless an operator turns review.derive off (see Feature switches).

A finding can also show Lowered from (level) — (reason). That means Entropix lowered it one level before you saw it, for example after a second reading, or because people marked the same thing "not an issue" before. A finding lowered for that second reason adds Seen before: with links to up to three of those past decisions. Whether reviews lower findings depends on your organisation's settings (see Review depth, packs and learning).

When more than one agent found things, or any agent read live data, chips above the list filter it: All (N), one chip per agent, and live data (N). They add ?agent= or ?live=1 to the address, and the list says "Showing X of Y findings." A live-data finding comes from an agent that read your live systems, such as a cloud account. Its words stay on the portal and are never posted to the Git host. See Review agents and the review panel.

Under each open finding are the three decisions. See Decide, send back or approve.

Questions for the author

The reviewer may ask up to five questions it could not answer from the code. None of them stops a decision. A question marked may change the verdict is one whose answer could change a finding. There are two ways to answer:

  • On the page: type into Your answer to Q1 (at most 2,000 characters) and press Answer Q1. You need the Member role.
  • On the Git host: reply on the merge request mentioning the portal's handle, then the question number. The review comment names the handle. For example: @entropix Q1: the cache is per tenant. In a thread the portal started, start the reply with Q1. Entropix records the answer as it is. No model reads it then.

The next round gets the answers. To use them now, press Re-run review with the answers in the rail.

Thin review warnings

If the review may have missed things, a box headed Thin review: read this before you approve says why. It is a warning only: Approve still works. People who may decide see it. The warnings are:

  • "N of 5 skills missing.", with a link to add the reviewer skills.
  • "No tests ran in CI."
  • "Other repositories not checked."
  • "N leads the portal found were left open." Before round 1, Entropix finds places the change may reach, such as callers of a changed function, and asks the reviewer to close each one.
  • "Part of the change was not read."
  • "Status not posted." or "Comment not posted.", with Retry →.

A muted Setup: line below lists setup gaps, for example no test checks set for this repository, with a link to fix each one.

Evidence and the code

The code is folded under Evidence, after the findings. Its summary reads, for example, "3 of 5 proven · 2 key changes · +120 −40". Inside:

  • What do we actually know? Each behaviour of the change sits in one of three groups. PROVEN ✓: a test in this repository exercises it, and the repository's test checks passed on this commit. ASSUMED ◐: no test exercises it. UNKNOWN ?: nothing could be said. Behaviours tied to the PRD show their criterion, for example AC-2. Proven needs test checks to be set (see Set test checks).
  • Code. The key changes the reviewer picked, each with why it matters. Entropix quotes every line range from Git at the reviewed commit, so the quote is the real code, not the model's copy. Full diff on GitHub ↗ opens the whole change.
  • External impact. What the change breaks or needs updated in your other repositories. When something breaks or needs an update, this section shows open in the main column instead.
  • Change impact. The files changed, grouped by layer, such as database or API contract.

A security reviewer's results show in a Security section above the evidence (see Security reviewer). A review with a requirement shows Does it do what was asked? (see Add a requirement to a review).

Round 2 and later

A later round adds a table at the top, Round N items, checked on (commit), with "X of Y fixed". Each row is an item from the round before. It shows the person's decision then (To fix, Accepted, Not an issue), what this round found (Fixed, Still open, Not rechecked), and the evidence. The developer's own report shows there too, for example "Sam reports it fixed in a1b2c3d, test api/cache_test.go:42", or "Sam disputes it: …". When the developer disputes items, a note at the top says how many. Below the table, New in the fix commit lists findings the fix itself raised. See Fix a review and review again.

The rail

The right-hand rail holds your decision and the facts about the review.

  • Your decision counts the findings to fix, accepted, not an issue and undecided, and offers the next step. There is always one main button and never a greyed-out one. See The decision rail.
  • Ask the agent: Open chat about this review opens a chat with the reviewer that already has this review's findings. Ask it why a finding is what it is.
  • Rounds lists every round of the change, with its commit and how it ended.
  • About this review folds out:
    • Who reviewed: the primary reviewer and any specialists, why each was picked, and the agents not picked (see Review agents and the review panel).
    • What the reviewer read: the repository, the change, the commit and round, the reviewer agent, the model, how the code was read, who asked for it, and Each tool call.
    • Memory used: the facts the reviewer was given from its memory, each with its id and text, or "removed" if it was removed since. See Memory.
    • How this was made: the full trace (see See how an answer was made).
    • Posts to GitHub (or GitLab): each comment and status Entropix posted, and its state. A failed post shows its error and a Retry button, and the fold opens by itself. Retrying needs the Member role.
    • Re-run review (see Re-run a review).

A round that did not finish

A round that stopped shows "The review stopped" with the reason and, where there is one, what to fix. Otherwise it says "This may pass on retry." Press Retry to review the same commit again. You need the Member role. Each review can be retried once. After that it says "Retried as a new review" and links to it. A round replaced by a newer push says "A newer push of this change was reviewed instead. Nothing to retry." A round stopped at the reviewer's turn limit says "Stopped at the turn limit. The answer may be incomplete."

What you can and can't do

You can
  • Read every review with any role, including a viewer.
  • Filter findings by agent or to live-data findings.
  • Answer the reviewer's questions on the page or on the Git host.
  • Chat with the reviewer about its findings.
  • Retry a failed post to the Git host.
You can't
  • Edit the reviewer's findings. You decide them, or add your own.
  • Count a behaviour as proven without test checks that passed.
  • See live-data findings on the Git host. They stay on the portal.
  • Answer more than the five questions the reviewer asks.