CloudBees Replication Parent 2522

1 minute read

RELEASED: Public: July 29, 2025

New features

None.

Feature enhancements

None.

Resolved issues

Fix Agent Unloading Bug on Ownership Change on rolling restart (BEE-59267)

This fix addresses a bug occurring when a build is running on an ephemeral agent and the replica handling it goes down. In such scenarios, before another replica can adopt the build, the agent ownership is temporarily set to "pending for adoption" (introduced in 2.492.3.5). However, an issue was causing the agent to be prematurely unloaded when its ownership status changed to "pending for adoption". As a result, when a new replica attempted to adopt the build, the agent was already removed, causing the build to fail.

This update ensures that the agent is not unloaded when its ownership is set to "pending for adoption", allowing builds to be successfully adopted and continued by another replica after failover.

Known issues

None.

Upgrade notes

None.