Skip to content

Tail-cancel on total remaining groups, not just in-flight#68

Open
nightlessbaron wants to merge 1 commit into
prodfrom
fix/tail-cancel-remaining-groups
Open

Tail-cancel on total remaining groups, not just in-flight#68
nightlessbaron wants to merge 1 commit into
prodfrom
fix/tail-cancel-remaining-groups

Conversation

@nightlessbaron

@nightlessbaron nightlessbaron commented Jul 3, 2026

Copy link
Copy Markdown

Follow-up to #56. The tail-cancel condition counted only in-flight tasks, but with --rolling-start-size groups are submitted in waves, early in a rollout few groups are in flight simply because most haven't been submitted yet, so the condition fired at the start and cancelled the whole batch.

Compare tail_cancel_groups against total remaining work instead: unsubmitted groups plus in-flight tasks. Without rolling start everything is submitted upfront, so behavior is unchanged.

@nightlessbaron nightlessbaron requested a review from a team July 3, 2026 22:44
@nightlessbaron nightlessbaron force-pushed the fix/tail-cancel-remaining-groups branch from 87747dd to 7a0cbff Compare July 3, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant