Skip to content

Conversation

@jtmcdole
Copy link
Member

fixes: flutter/flutter#172694

When a merge group is destroyed (for dequeued or invalided reasons), the corresponding content-aware hash build is now explicitly marked as failed. This short-curcuits waiting for LUCI jobs to be canceled.

When a content-aware hash build fails, it can now be taken over by a subsequent build for the same content hash. This happens when a PR is removed from the merge queue and an "engine" PR is added back - the previous failure will be restarted and "content_hash" passed to LUCI recipes.

The ContentAwareHashBuilds model now includes a list of failedCommitShas to track the history of failed attempts for a given content hash. When a new build takes over a failed one, the old commit SHA is added to this list.

fixes: flutter/flutter#172694

When a merge group is destroyed (for dequeued or invalided reasons), the
corresponding content-aware hash build is now explicitly marked as
failed. This short-curcuits waiting for LUCI jobs to be canceled.

When a content-aware hash build fails, it can now be taken over by a subsequent
build for the same content hash. This happens when a PR is removed from
the merge queue and an "engine" PR is added back - the previous failure
will be restarted and "content_hash" passed to LUCI recipes.

The `ContentAwareHashBuilds` model now includes a list of `failedCommitShas` to
track the history of failed attempts for a given content hash. When a new build
takes over a failed one, the old commit SHA is added to this list.
@jtmcdole jtmcdole requested a review from matanlurey July 24, 2025 23:05
@jtmcdole jtmcdole added the autosubmit Merge PR when tree becomes green via auto submit App. label Jul 24, 2025
@auto-submit auto-submit bot merged commit 1062209 into flutter:main Jul 24, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[cocoon] When the merge queue is torn down; unlock content hash

2 participants