Pending updates: short-circuit the fleet flatten when nothing changed (graph watermark) #62
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Register row 124 (deferred-work register).
PendingUpdatesEvaluator.EvaluateAsyncre-flattens every deployed instance viaDeploymentService.GetInstanceStalenessAsyncon everyPendingUpdatesCacheTtl(60 s) expiry while any Deployer/Admin circuit is open, even if nothing changed. Needs a cheap "has anything changed" signal.Revisit trigger (from register): Fleet flatten cost becomes measurable against the TTL on a large deployment.
Current state: Single-flight TTL cache bounds cost to one flatten per TTL fleet-wide; no watermark.
Related:
docs/plans/2026-09-14-pending-updates-design.md§3.2.Source:
docs/plans/2026-07-08-deferred-work-register.mdrow 124