
A multiplayer game is preparing three updates. One changes how players are matched into sessions, another moves new sessions to a different cloud region, and the third updates how an AI assistant manages player inventory.
All three changes pass their tests, but each raises a different release concern. The matchmaking update could shorten queue times while increasing player latency. The region migration depends on available capacity as traffic shifts between locations. The assistant's new execution strategy risks repeating an operation that has already completed.
Preparing these releases manually would require developers to assess which changes warrant feature flags, select rollout strategies, and configure exposure stages for each change. And as more pull requests arrive, many of them AI-generated, that work becomes harder to sustain.
LaunchDarkly Release Autopilot automates much of that preparation. It analyzes pull requests, classifies changes, and recommends release controls using the release plans configured in LaunchDarkly. Developers then review or refine those recommendations alongside the code. The result is runtime control applied to changes by default.
The three updates show how release automation helps, and where developers still need to supply application-specific knowledge.
Give Release Autopilot release plans it can work with
Teams configure reusable release plans in LaunchDarkly before changes reach production. An environment release plan defines how a rollout runs within one environment, including exposure stages, durations, and any metrics used to detect regressions. A flag release plan connects those environments, defining their order and what triggers each release. The Release Autopilot documentation covers how these plans work together.
When a pull request is ready for review, Release Autopilot:
- Analyzes the code and classifies its release-control needs (Auto-classify).
- Determines whether the change warrants a new feature flag, can use an existing flag, is already flagged, or needs no additional flag.
- Proposes a release plan for changes that need release controls, using the configurations already available in LaunchDarkly, typically the project's configured defaults.

The recommended plan determines how the change reaches users. A progressive rollout increases exposure through timed stages, such as 5% of eligible users followed by 25% after a configured interval. A guarded rollout evaluates the metrics already attached to its environment release plan. If it detects regression, it responds according to its settings, including automatic rollback (Auto-rollback, when enabled).


Developers review the proposal alongside the code and can approve, reject, or request supported refinements. They can approve the flag first with @launchdarkly approve flag, so Release Autopilot creates it (Auto-flagging) and adds the flag evaluation to the pull request. They can then approve the release after reviewing that change, and can also approve the flag and the release together with @launchdarkly approve.
The release begins when its configured trigger is satisfied after the pull request merges. CI/CD remains responsible for deploying the code, while Release Autopilot controls exposure through the approved plan.
A deploy signal can start the release after deployment finishes. Flag evaluations, manual starts, and completion of a previous environment are also supported triggers. With flag-evaluation triggers, evaluations recorded before merge can qualify, so teams that require strict post-deploy initiation should use a deploy signal.
Once running, the release follows the configured exposure stages and regression response.
When matchmaking gets faster but the matches get worse
The game's developers update their matchmaking logic to reduce the time players spend waiting for a session. The existing implementation prioritizes network proximity when assigning players to available servers. The new version searches a larger pool of sessions, increasing the chances of finding a match quickly during periods of low activity.
The pull request passes its tests, and the new logic reduces average queue times. Some players, however, are assigned to sessions hosted farther from their location. Their matchmaking requests succeed, yet they experience higher latency and more connection problems once the game begins. The matchmaking service's error rate remains unchanged because the requests themselves are completing successfully.
To see the matchmaking tradeoff for yourself, open Arcadia Online, a fictional game lobby. Turn on the matchmaking update and watch queues shrink while some players get sent to a faraway region.
What should the guarded rollout measure?
Release Autopilot would likely recommend a guarded rollout for this matchmaking change if the configured release plan includes metrics that reflect player experience.
Matchmaking duration measures the intended improvement, while session connection failures and player latency help reveal whether the resulting matches are usable.
Aggregate measurements can hide important differences. Suppose most players experience shorter queue times and acceptable latency, while players in one geographic region are consistently assigned to distant servers. Overall matchmaking performance might improve even as the experience becomes substantially worse for that group.
An engineer familiar with the game knows that matchmaking behavior varies by region, time of day, or player population. That context is important when evaluating the metrics attached to the recommended environment release plan.
The team needs to examine latency by region, not just a global average. They should also consider whether each rollout stage receives enough traffic from the affected population to produce meaningful results.
If the recommended plan only monitors aggregate service health, it won't detect a regional latency regression that leaves those aggregate metrics unchanged. The team would need to configure appropriate metrics in an environment release plan before relying on that plan's guarded rollout to detect the problem.
What happens when the metrics detect a regression?
Suppose the new matchmaking logic increases latency for players in one region. If the guarded rollout includes a metric capable of detecting that degradation, and automatic rollback is enabled, LaunchDarkly restores the previous matching behavior. The team can then investigate why the new server-selection logic assigned those players to distant servers while the rest of the deployment continues running.

When moving game sessions to a new cloud region
Moving game sessions between regions introduces another consideration: how much time does the infrastructure need before the next increase in traffic?
The game's infrastructure team is migrating new multiplayer sessions from an existing cloud region to another location with additional capacity. The updated routing logic directs newly created sessions to the destination region, while the team confirms that the infrastructure can handle additional traffic.
The destination may handle a small number of new sessions comfortably during a quiet period but struggle when many players connect simultaneously. Increasing exposure too quickly could overload available capacity or increase connection failures.
How long should each rollout stage last?
Release Autopilot evaluates the routing change and recommends a release plan from those configured in LaunchDarkly. For this migration, a progressive rollout with longer stages gives engineers time to observe infrastructure behavior before additional sessions move to the destination.
A plan might begin by routing 5% of new sessions to the region, then increase exposure after a defined observation period. The stage duration should account for how long the region takes to scale, how session concurrency develops, and whether the observation period includes representative traffic.
For example, a rollout that advances through several stages during a quiet afternoon may reach full exposure before the evening traffic peak. The team would have increased traffic without observing how the destination behaves under its busiest conditions.
An engineer reviewing the recommendation can choose a release plan with longer stages, or adjust the stage durations in LaunchDarkly, to account for those patterns.
What happens between stages?
The infrastructure team monitors active session counts, connection failures, capacity utilization, and the time required to establish new sessions. The observation period needs to account for how the destination behaves under sustained traffic, including peak concurrency.
Engineers also need to ensure that the previous region remains available if new session routing must be restored.
The routing flag only controls where new sessions are assigned. Active sessions remain in their existing region, and the infrastructure team remains responsible for provisioning capacity and maintaining a recovery path.
When rollback can't undo what an agent already did
Gradual exposure gives engineers time to evaluate a change and limit additional traffic when something goes wrong. Some operations, however, leave effects that remain even after the release is rolled back.
The third update changes how an AI assistant inside the game performs actions on behalf of players. Players use the assistant to organize inventory, equip items, and prepare supplies for missions. The new implementation executes some tool calls in parallel and retries requests that time out, reducing the time needed to complete multi-step tasks.
During testing, the assistant completes common requests more quickly.
Under production load, a request times out after an inventory operation has already succeeded. The assistant retries without recognizing the completed operation and purchases an item twice, charging the player's in-game currency for both transactions.
What can release controls contain?
The team's guarded environment release plan needs metrics that capture repeated tool calls, task failures, and unexpected operation counts. Without those signals, the rollout may appear healthy even when the assistant performs an action twice.
If a monitored regression triggers automatic rollback, new requests return to the previous execution strategy. Duplicate purchases already committed remain in the game's state, leaving engineers to identify and correct the affected transactions.
What must the implementation handle?
The assistant needs safeguards for retries and partial execution. An idempotency key can identify repeated attempts to perform the same operation, allowing the application to return the original result without applying the action again.
Operation identifiers and state validation help engineers track completed actions. Compensating operations can restore the intended state when an action needs to be reversed.
A developer reviewing the proposed plan may recognize that the implementation lacks these safeguards. In that situation, changing the rollout percentage won't resolve the underlying problem. The code needs to be corrected before the release proceeds.
Release controls limit how many players encounter the defective execution strategy. Application safeguards determine whether completed operations can be safely retried or reversed.
The rollout is complete. What happens to the flag?
Suppose the matchmaking update completes its rollout successfully and the team decides to retain the new matching logic. The temporary feature flag has served its release-control purpose, but the codebase still contains the flag evaluation and the previous implementation.

Release Autopilot supports cleanup (Auto-cleanup) by identifying eligible temporary flags and opening a cleanup pull request. The proposed change removes obsolete conditional code while preserving the behavior the team intends to keep, and an engineer reviews the cleanup PR before merging it.

Automatic flag archival, currently in beta, is configured separately in LaunchDarkly project settings and runs on a schedule. The archival process evaluates flags that have stopped receiving evaluations. When code-reference information is connected, it also checks whether references to the flag remain in the codebase. Eligible flags can then be archived according to the project's configured lifecycle settings.
A completed rollout, a merged cleanup PR, and an archived flag represent different points in the release lifecycle. Keeping those operations separate allows teams to verify that temporary controls are no longer needed before retiring them.
Making release automation useful across different changes
The matchmaking update needed metrics that could detect declining match quality. The region migration required enough time between stages to evaluate capacity and connection stability. The AI assistant needed safeguards for operations that couldn't be reversed through rollback.
Those requirements shaped how each change should reach players. Release Autopilot handles the change-specific recommendations and supported release activities using the plans configured in LaunchDarkly, while developers provide the application context and safeguards that make those plans effective.
As more changes move through development, that division of work allows teams to manage releases consistently without requiring engineers to prepare and supervise every rollout manually.
To try Release Autopilot with your own repository, follow the setup documentation to configure your project and release plans.





