You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fleet dispatcher: offline registrations under a retired label are never deleted #57
Found in review of #53 (correctness lens, round 1): #53 (comment). Left in the fix round (see the #53 description, fix table).
What: the dispatcher cleans up offline runner registrations by matching <current label>-<job id>. After a pool's label is renamed (old label moved to retired_labels), offline registrations made under the old label never match, so they are never deleted.
Effect: clutter only. It fails safe; no job is misrouted.
Why not fixed yet: a safe fix needs each pool's old labels. Two dispatchers may serve different pools, and one must never delete the other's fresh registrations.
Suggested fix: for each pool, also match <retired label>-<job id> for labels that pool itself retired. Add a test where two dispatchers with different pools run side by side.
Activity
fleet dispatcher: clean up offline registrations under a pool's retir…
fleet dispatcher: clean up offline registrations under a pool's retir…
fleet dispatcher: clean up offline registrations under a pool's retir…
fleet dispatcher: clean up offline registrations under a pool's retir…
fleet dispatcher: clean up offline registrations under a pool's retir…
fleet dispatcher: clean up offline registrations under a pool's retir…