Copilot Can Choose Review Effort. A Tiny Diff Can Still Change Everything.
Share article
One character can change who is allowed to read a record. A thousand lines can rename a harmless internal variable. Diff size is useful information, but it is a poor substitute for understanding what a change can do.
GitHub's 17 November 2026 code-review announcement introduces Adaptive review effort in public preview. GitHub says it selects Lite, Balanced or Max according to pull-request complexity and risk, shows the selected effort and respects configured maximum effort. Balanced remains the default. This describes the vendor's feature; it does not establish a measured defect-detection rate. GitHub announcement
The practical question for a team is how to keep consequential changes visible when their textual footprint is small. Adaptive selection can be useful without becoming the only way a repository decides what deserves attention.

Describe the consequence before counting the lines
Consider a fictional access check that changes from requiring both conditions to accepting either. The diff might be tiny. Its consequence depends on what the conditions protect, who can reach the code and which tests exercise the boundary. A reviewer needs that context before choosing how much attention to give it.
Ask the author to describe the behavioural change in one sentence. “Refactor access helper” is weaker than “Allow project members to read records previously restricted to account owners.” The second sentence reveals the decision that needs review, even if the implementation is only a few characters.
Apply the same discipline to configuration. Changing a retention period, a retry limit or a default permission can alter production behaviour without touching much application code. A small diff should not automatically earn a small explanation.
This is not an argument for treating every change as critical. It is a way to identify the reason a change matters. Once the consequence is explicit, the team can allocate review effort more sensibly and avoid spending all its attention on whichever pull request happens to be longest.
Identify business invariants that code must preserve
A repository often contains assumptions that are obvious to experienced maintainers and invisible to a new reviewer. A tenant must not see another tenant's records. A refund must refer to an existing charge. A completed job must not be performed again simply because a notification was delayed.
Write these as concrete invariants near the relevant review guidance. Include a short example of a change that would threaten each one. An instruction to “be secure” gives far less help than a statement of the boundary and the evidence expected when it changes.
For a fictional billing service, the invariant might be that a usage correction preserves the original event identifier and an explicit adjustment record. A reviewer can then ask whether the proposed change preserves that relationship. Without the invariant, a tidy refactor can remove information that later becomes essential during a dispute.
Keep the list selective. If every style preference is labelled an invariant, the important rules become hard to find. Reserve the term for behaviour that the business depends on, and connect each rule to an owner who can explain why it exists.
Treat automated effort selection as one input
If a tool selects a lighter review, the team should still be able to identify a domain-specific reason for additional scrutiny. Conversely, a deeper automated review should not imply that the author has supplied all the context a human needs.
Define a small set of escalation triggers in the team's process. Examples might include changes to access boundaries, money movement, destructive data operations or externally visible contract behaviour. These are proposed review rules, not claims that GitHub automatically recognises every such situation.
The selected effort can remain visible in the review record alongside the team's rationale. That gives maintainers a way to learn whether their guidance and the tool's selections align. The objective is not to override the tool routinely. It is to preserve human knowledge where repository-specific consequences are not obvious from the patch.
Also distinguish review depth from merge authority. A detailed review can provide evidence and suggestions without authorising a release. The person or policy responsible for merging still needs to assess the applicable checks. More analysis is helpful, but it does not make every downstream decision disappear.
Build a small set of consequential examples
Create synthetic examples that resemble the repository's real risks without exposing production data or credentials. Include a tiny permission change, a date-boundary error, a missing tenant filter and a retry path that repeats a business action. Add harmless large changes so the exercise is not biased toward treating everything as dangerous.
The chart shows an invented review set with four small consequential changes, four larger consequential changes and four low-consequence changes. It describes the composition of twelve examples, not tool accuracy, measured risk prevalence or a benchmark of GitHub Copilot.
Review the examples with maintainers first. Agree on what evidence would make each change acceptable. Then use them to examine the review workflow: does the author explain the consequence, does the reviewer ask the right question, and does the final decision preserve the invariant?
This differs from the earlier agent evaluation scorecard discussion. The focus here is the information a particular code change must carry into review. The exercise tests the team's handling of consequential edits, not a general ranking of agents or models.
Ask for tests that can disprove the intended safety
A test that repeats the implementation's logic may confirm very little. For the fictional access check, a useful test includes someone who satisfies one condition but must still be denied. The test should fail if the dangerous interpretation is introduced.
Describe the forbidden outcome before writing the test. That makes it easier to see whether the assertion actually protects the business rule. A passing happy-path test can coexist with a serious boundary error if nobody tests the person, date or state just outside the allowed case.
Choose cases proportionate to the consequence. A formatting change does not need an elaborate adversarial suite. A change that decides which entity receives a financial record deserves direct evidence that the boundary still holds. The point is targeted verification, not accumulating test counts.
Reviewers should also ask what the test setup assumes. If every fixture uses one tenant, the suite may never exercise cross-tenant behaviour. If every timestamp falls at noon, it may miss a boundary at midnight. A small, well-chosen counterexample often explains the risk more clearly than a large collection of ordinary inputs.
Review the surrounding configuration and call sites
A helper can be correct in isolation and unsafe in the way it is called. A default can be reasonable for one workflow and inappropriate for another. Review should therefore include the important callers and settings that determine how the changed code behaves.
For a fictional retry helper, ask which jobs use it and whether those jobs can safely repeat. If the same helper serves both a read-only fetch and a side-effecting operation, changing its default retry behaviour deserves more context than the helper's own unit tests provide.
This does not require reading the entire codebase for every patch. The author can identify the relevant consumers and explain why the change is compatible. The reviewer can then verify that claim rather than discover the dependency map from scratch.
The related article on GraphQL compatibility across a chain makes the broader point that an interface change is judged by its consumers. In code review, the same habit helps distinguish a local edit from a behavioural change that travels through several workflows before someone notices it.
Preserve the accounting reason behind a check
I’m building Arova, so I care about review comments that explain a financial consequence in ordinary language. “This can attach the approved result to the wrong record” is a more useful starting point than a generic request to improve robustness.
That is a builder's perspective, not a report of a production defect or a claim about which code-review product Arova uses. The principle is that reviewers should be able to connect a technical change to the business behaviour it protects.
When a safeguard looks redundant, leave enough explanation for a future maintainer to understand it. Otherwise, a later cleanup may remove the safeguard precisely because the code looks simpler without it. An invariant and a focused test can preserve that knowledge more reliably than a comment saying “do not change.”
The same applies to exceptions. If the team intentionally permits a special case, record its boundary and reason. A future automated review should not have to infer business policy from an unexplained branch. Good review context helps both humans and tools ask better questions.
Close the loop on what the review missed
After a defect is found, inspect the review process without assuming that more review time would automatically have prevented it. Was the behavioural change described? Was the relevant invariant documented? Did the test suite contain a counterexample? Did a reviewer have access to the necessary context?
Choose the smallest useful improvement. It might be a clearer author checklist, a targeted regression test, a named owner for a sensitive area or a better explanation of a shared helper. A blanket instruction to use maximum effort everywhere can increase work without addressing the missing knowledge.
Also review successful catches. Understanding why a reviewer spotted a subtle issue helps preserve the pattern. If a two-line explanation made the consequence obvious, make that explanation part of the normal authoring practice for similar changes.
Adaptive effort is an interesting addition to code review. Its value depends partly on the environment around it. Teams that make consequences, invariants and counterexamples visible give any reviewer better material to work with. The number of changed lines remains useful context. It should never be the only story the patch tells.