Agents
Cursor Rollouts: PR Health Through Production
Rollouts monitors each pull request from review to production. It writes a rollout plan when the pull request opens, checks the change against your logs, metrics and traces after it deploys, and reports its health in every environment. Rollouts is available on Teams and Enterprise plans.

On this page
What does Rollouts do with a pull request?
Rollouts attaches to a pull request while it is still in review and stays with it until the change is verified in production. When the pull request opens, Rollouts reads the diff and the systems the diff touches, then writes a rollout plan. You configure Rollouts in Automations, on Teams and Enterprise plans.
- Risks
- The risks Rollouts found in the change.
- Expected effect
- The effect the change should have.
- Signals
- The signals Rollouts will check.
- Instrumentation gaps
- Anything that would make the change hard to verify.
The plan is written from the diff and the systems it touches.
Act on the last row while the pull request is still open. An instrumentation gap makes the change hard to verify after it ships, and review is the cheapest time to close it.
On GitHub, GitLab.com and Bitbucket Cloud, Rollouts posts the plan as a comment on the pull request. On Origin, the plan appears on the pull request page. To change it, mention the handle the Rollouts comment names and say what to watch or ignore. Rollouts revises the plan and replies, and only people with write access to the repository can change it.
This is covered hands-on in Agent Mode Foundations — 6 short Units, free to read.
Rather do it than read about it? Run 11 interactive Cursor walkthroughs in a simulated editor. Free, no account needed.
How does Rollouts track a deploy?
Rollouts wakes on deploy events for the change's commit and runs the plan against your logs, metrics and traces. It tracks each environment separately, so a change can be verified in staging and still flagged in production.
- Check
- First
- When it runs
- When the deploy happens
- Check
- Second
- When it runs
- After 20 minutes
- Check
- Third
- When it runs
- After 1 hour
- Check
- Fourth
- When it runs
- After 1 day
- Check
- Fifth
- When it runs
- After 3 days
| Check | When it runs |
|---|---|
| First | When the deploy happens |
| Second | After 20 minutes |
| Third | After 1 hour |
| Fourth | After 1 day |
| Fifth | After 3 days |
Each environment follows this schedule on its own.
Cursor's docs don't say why the checks fall at these intervals.
Each environment a change deploys to shows its own status, such as Deploying, Monitoring, Verified, Deploy failed or Issues found. Because the environments are tracked and reported separately, a green staging run cannot hide a red production one.
Tracking depends on a recorded deployment. If a merged change goes live without one, select Run checks on the change's page. The button sits to the right of the environment tabs, and on its own in that row before the change has checks. Choose the environment and services, then start the checks. Rollouts treats the change's version as live in that environment and checks it on the same schedule.
What happens when Rollouts finds a problem?
When Rollouts detects a regression, it names the change it suspects, opens an issue and notifies the author. It does the same when a change causes no regression but does not work as intended: the new code path ran, but its effect is missing, it errors, or its behavior is wrong.
That second trigger catches a change that does nothing, as well as one that makes something worse.
- Fix issue
- Starts a cloud agent on the issue. The agent opens in a panel on the issue's page.
- View fix
- Replaces Fix issue once a fix has started, and reopens that agent.
- Close
- Asks for a reason (Fixed, Not a Real Issue, Expected, Duplicate or Other) and a note.
Both the reason and the note stay on the issue's history.
Rollouts doesn't merge, revert, or roll back changes on its own.
To start a fix from an issue, select Fix issue on the issue's page.
Because the close reason and the note stay on the history, a closed issue carries its own explanation for whoever opens it next.
Where do changes show up?
The Rollouts page lists merged pull requests and groups them into Attention, Monitoring, Pending and Verified. Mine lists the changes you are subscribed to, and Team lists every change on the team. Team admins land on Team, and everyone else lands on Mine.
Within a change, the statuses an environment can show include:
A change sits in Attention while it has an open issue or a failed deploy. Once every issue on the change is closed, it counts as Verified. Don't treat that as final: reopening an issue moves the change back to Attention.
Select Services at the top of the page to see each service your deployment pipeline reports. To hide one from that list, open it and select Archive. Its deployments stay in history, and the service moves under Archived, where Restore brings it back.
How do you set up Rollouts and send it deployment events?
In Automations, open the Team tab and select Enable on the Rollouts card under From Cursor. Setup then has four steps.
- 1Access to monitored repositories: choose the repositories to watch. Every pull request that ships from them gets its own watch, tied to its author. Origin, GitHub, GitLab.com and Bitbucket Cloud are supported.
- 2Send deployment events: create an API key and store it as the
CURSOR_API_KEYCI secret, then add the calls manually or let a setup agent open a pull request that adds them. - 3Telemetry: connect your observability tools, such as Datadog.
- 4Notifications: choose how pull request authors get notified about their rollouts.
Don't skip the telemetry step. Rollouts needs at least one connected telemetry tool, and without one, changes stay pending and Rollouts can't detect issues.
The key can be a user API key, a service account API key, or a team Admin API key with the admin:* scope. If you take the agent route, merge the pull request the setup agent opens to finish setup.
Rollouts relies on your pipeline to report deploys. Four kinds of call carry that: one at the top of the deploy job, a one-time pair that creates the environment and service, one right before you ship, and one right after the outcome is known.
- Call
auth/exchange_user_api_keyon api2.cursor.sh- When
- Top of the deploy job
- What it does
- Exchanges
CURSOR_API_KEYfor a token that every other call sends.
- Call
CreateEnvironmentandCreateService- When
- Once, by hand or as a bootstrap step before the first report
- What it does
- Creates the environment and service rows the later calls name.
- Call
CreateDeployment- When
- Right before you ship
- What it does
- Records the deploy source, environment, service and
deployVersion, plus a started event.
- Call
AppendDeploymentEvent- When
- Right after the outcome is known
- What it does
- Reports completed (succeeded or failed with a message) or aborted if the deploy was cancelled.
| Call | When | What it does |
|---|---|---|
auth/exchange_user_api_key on api2.cursor.sh | Top of the deploy job | Exchanges CURSOR_API_KEY for a token that every other call sends. |
CreateEnvironment and CreateService | Once, by hand or as a bootstrap step before the first report | Creates the environment and service rows the later calls name. |
CreateDeployment | Right before you ship | Records the deploy source, environment, service and deployVersion, plus a started event. |
AppendDeploymentEvent | Right after the outcome is known | Reports completed (succeeded or failed with a message) or aborted if the deploy was cancelled. |
Every call after the token exchange goes to the factory.v1.DeploymentsService on api.cursor.com.
deployVersion is the commit SHA being shipped. Rollouts wakes on deploy events for the change's commit, so the SHA you report is what ties a deploy to the change it belongs to.
The docs add one rule: a failed report must never fail the deploy. The reporting calls are bookkeeping, and a deploy that is otherwise fine should not stop because of them.
Which changes does Rollouts monitor, and who hears about them?
Rollouts settings have four sections, and the switch at the top reads Enabled or Disabled. Only team admins can turn Rollouts on or off or set up deployment events. Other members see those controls but cannot change them.
- Code access
- The repositories Rollouts watches, up to 200, and which changes to monitor.
- Deployment events
- How your pipeline reports what gets deployed and where.
- Data sources
- The MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. connections Rollouts queries to verify deployed changes and detect regressions.
- Notifications
- How you hear about deployments and regressions on your changes.
Under Which changes to monitor, you describe in plain English the pull requests Rollouts should skip. By default it skips changes that cannot affect what runs in a deployed environment: documentation-only changes, formatting, lint or typo fixes with no behavior change, and test-only changes. Clear the text to monitor every change in the watched repositories.
A pull request is skipped only when it clearly matches. When Rollouts skips one, it says why in a comment. To monitor it anyway, mention the handle the comment names.
Turn on Personal Slack Notifications to hear about your changes in Slack. It starts with Issues found messages only. To also hear when a deployment succeeds or fails, or when a check finds no issues, turn on Deployment succeeded, Deployment failed or Check clear. Under Deliver to, choose Direct message or Channel. For a channel, enter a public channel name or its ID, invite each app named under the field, then save.
Team defaults sit on top of that. Only team admins can change them, and turning on the team default sends members a Slack message when a check finds issues with their pull request, until they change their own settings. Enabling Rollouts switches Slack notifications for the team on for Issues found messages, unless the team already has notification defaults.
A team admin must add Rollouts to Slack first.
Slack Connect channels aren't supported.
Slack notifications aren't available in Privacy ModeCursor's setting that guarantees code data is not used for training by Cursor or its model providers, and that an admin can enforce org-wide; data-retention terms are a separate, contractual layer. Press Enter for the full definition..
Frequently asked questions
What does Cursor Rollouts do?
Rollouts monitors each pull request from review to production. It writes a rollout plan when the pull request opens, checks the change against your logs, metrics and traces after it deploys, and reports its health in every environment. It is available on Teams and Enterprise plans.
Does Rollouts revert or roll back a bad change?
No. Rollouts doesn't merge, revert, or roll back changes on its own. When it finds a regression, it opens an issue and notifies the author. Selecting Fix issue on the issue's page starts a cloud agent on it.
Why are my changes stuck in Pending?
Rollouts needs at least one connected telemetry tool, such as Datadog. Without one, changes stay pending and Rollouts cannot detect issues. If a merged change went live without a recorded deployment, select Run checks on the change's page to tell Rollouts which environment and services it is live in.
Which pull requests does Rollouts skip?
By default it skips documentation-only changes, formatting, lint or typo fixes with no behavior change, and test-only changes. You can rewrite that in plain English under Which changes to monitor, or clear it to monitor every change. When it skips a pull request it says why in a comment.
Sources & last verified
- Cursor docs: Rollouts
- Cursor docs: Creating API keys
- Cursor docs: Automations
- Cursor docs: Security Agents
- Cursor docs: Bugbot
Cursor ships frequently. Last updated October 28, 2026.