Overview
Change Stack is CodeRabbitâs PR inspection interface. It takes any pull request and reorganizes it into a small number of independent change cohorts, logical groupings of related work, each broken into ordered layers that reflect the natural reading order of the change. Every layer anchors to specific line ranges in the diff, each with its own summary. Reviewers open Change Stack from theReview Change Stack â button that CodeRabbit posts in the comment. Inside, they navigate cohorts and layers with the keyboard. On GitHub and GitLab, they can also drop inline comments against specific ranges and submit native review feedback without leaving the Change Stack tab.
Change Stack is available on GitHub Cloud, GitHub Enterprise Server, GitLab.com, self-managed GitLab, and Azure DevOps. Azure DevOps support is read-only during early access; inline commenting and review submission are not yet supported. Change Stack is in early access and is available to all users during launch. It will be part of the Pro+ plan going forward.
Why Change Stack
AI-assisted development has made pull requests larger and more frequent; a single AI-authored change can touch dozens of files across multiple layers of a codebase. A git providerâs or IDEâs default diff view can present those files alphabetically without reflecting the logical dependencies between them. Change Stack reorganizes the diff into cohorts and layers that reflect the structure of the change:- Cohorts group related files and hunks that belong together conceptually.
- Layers order those groups so foundational changes (data shapes, contracts) come before the code that depends on them (consumers, call sites, tests).
- Range summaries explain each contiguous block of changed lines in plain language.
- Diagrams are generated inline for layers where a visual earns its place, such as sequence diagrams for new call flows, state machines for lifecycle changes, and ERDs for data model updates. Layers that do not warrant a diagram do not get one.
Opening Change Stack
Every pull request review comment from CodeRabbit includes a Review Change Stack â button above the standard walkthrough. Clicking it opens the review in the Change Stack interface.
"Review Change Stack â" button in the CodeRabbit review comment
The three-panel layout
Change Stack uses a fixed three-panel layout tuned for rapid navigation:Change Stack reflects CodeRabbitâs review scope, not necessarily the full pull request file list on the host platform. Files excluded by default ignore rules or configured Path filters are omitted from cohorts, layer file counts, and file navigation.
Overview
The left rail includes an Overview entry above the numbered layers when the Overview surface is available. Use it for a high-level read on the pull request: the PR description, CodeRabbitâs Walkthrough, and anything that needs attention before merge, including blockers, unresolved CodeRabbit issues, and required actions. The Needs your attention section is where reviewers open CodeRabbit findings, minor findings, and changes-requested reviews. Opening one of these displays the review-conversation viewer in Change Stack instead of immediately taking you to GitHub or GitLab. The Overview rail entry shows merge status at a glance. Its status icon and subtitle summarize whether the pull request is ready to merge, has warnings, is blocked, is closed, or is already merged. Hover the Overview entry to see a richer status breakdown. Overview has its own/overview path for sharing and browser navigation. A bare Change Stack deep link opens Layer 1 by default; use the Overview entry or the /overview path to open the summary view directly.
Keyboard navigation
Change Stack is designed to be driven from the keyboard:
Reviewers can also switch between unified, split, and semantic diff views, hide whitespace-only changes, step through the review order using the arrow controls in the diff header, and use the All files view to search the reviewed file tree. Diff lines wrap automatically in all views.
Reviewing in Change Stack
Change Stack supports native review workflows on the host platform, including inline comments and review submission without leaving the Change Stack interface. Reviews post back to GitHub or GitLab natively, so comments and approvals land exactly where your team expects them.
Submit review dialog in Change Stack with Comment, Approve, and Request changes options
Inline comments
Every range summary in the right panel has an Add block comment action that opens a comment against the exact line range covered by the summary. Comments accumulate into a pending review, which you submit from the Submit review menu in the top-right corner. The comment composer supports platform-native autocomplete for user and team mentions, issue references, pull request references, metadata references, and emoji shortcodes. On GitLab, Change Stack also supports replying inside existing merge-request discussions and applying selected inline suggestion blocks as a commit back to the source branch.Review conversations
Opening a finding or changes-requested review from Overview shows an in-app viewer with grouped review threads: the pull-request-level review body first, followed by inline conversations. Each thread includes replies and resolved or outdated indicators, and you can use the existing review actions to reply and resolve eligible conversations. Changes-requested cards identify the reviewer and show the number of unresolved inline conversations. For file-anchored conversations, See in layer context closes the viewer and selects the relevant code layer. Comments that CodeRabbit cannot map to a layer retain a validated link to GitHub or GitLab. The viewer appears as a dialog on desktop and a bottom drawer on mobile.Chat with AI
When AI chat is available for the session, the right rail can switch from review context into a dedicated chat panel. Reviewers can open chat from the main rail or directly from a range summary to ask follow-up questions about the current layer, file, or highlighted range. The chat composer also supports voice input. Use the microphone button to record a prompt, then let CodeRabbit transcribe it into the chat before sending.Code Peek
Click a variable, function, class, or type name to look up its definition and usages. Code Peek uses GitHub code search to show likely definitions and references with surrounding context, so you can follow the code without leaving the review. Code Peek is available in GitHub Change Stack sessions when CodeRabbit has the GitHub access it needs for the repository. If GitHub needs to be reconnected or code search is unavailable for the session, Code Peek is not shown. When a result points to a changed file in the pull request, Open in Change Stack jumps to that file. Change Stack keeps an in-page back trail so you can return to where you started.Finishing touches and coding tasks
Change Stack can queue coding tasks from reviewer feedback or from the AI chat panel. The coding workflow includes finishing touches such as generating unit tests or docstrings for the current review. The coding panel tracks task progress as work moves through queued, running, patch-ready, and completed states, and it preserves the resulting patch, commit, or stacked PR details when those artifacts are created.Files viewed
On GitHub, marking a file as viewed in Change Stack syncs with GitHubâs Viewed state on the same file, so your progress is visible to other reviewers and persists if you switch back to the GitHub UI.Snapshots and stale-state protection
Every time the PR author pushes a new commit, Change Stack generates a new snapshot of the change and retains previous ones. A snapshot dropdown in the header lets reviewers switch between snapshots to answer the question âwhat changed since I last looked?â, even across rebases and force-pushes.While a new snapshot is being generated, Change Stack disables commenting on the current view and shows a banner until the new snapshot is ready. This prevents reviewers from leaving comments against a diff that no longer reflects the tip of the branch.
Access and permissions
Change Stack authenticates with a repo-scoped Git provider grant and preserves your return path through SSO, so links work end-to-end even on organizations with enforced SSO. Public-link sharing is supported within the limits of the underlying repositoryâs access controls, so a reviewer without access to the repo will not be able to open Change Stack.Whatâs next
PR Walkthroughs
Learn how CodeRabbitâs walkthrough comment structures every review and feeds the layer summaries you see in Change Stack.
PR Summaries
See how CodeRabbit generates the plain-language summary that appears in the PR description alongside the Review Change Stack button.
Pre-Merge Checks
Enforce review requirements, including linked issues, title conventions, and custom checks, before a PR can merge.