fix(reconcile): expiry-aware pending staging — expired rows no longer block self-heal
This commit is contained in:
@@ -135,7 +135,7 @@ public class ReconcileService
|
||||
// (If the existing row is from an in-flight deploy its config is newer than the
|
||||
// snapshot — fetching it is still correct; the site's guarded write handles ordering.)
|
||||
var existing = await _deploymentRepository
|
||||
.GetPendingDeploymentByInstanceIdAsync(exp.InstanceId, cancellationToken)
|
||||
.GetPendingDeploymentByInstanceIdAsync(exp.InstanceId, now, cancellationToken)
|
||||
.ConfigureAwait(false);
|
||||
if (existing != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user