Repository navigation
[ci] Allow backfilling missed releases via workflow_dispatch - #13612
Merged
auto-submit[bot] merged 2 commits intoNov 17, 2026
Merged
Conversation
QuncCccccc
marked this pull request as ready for review
November 10, 2026 22:56
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
Piinks
previously approved these changes
Nov 16, 2026
| echo "::error::commit_sha must be a full 40-character lowercase hex SHA." | ||
| exit 1 | ||
| fi | ||
| if ! git merge-base --is-ancestor "${TARGET_SHA}" HEAD; then |
Contributor
There was a problem hiding this comment.
Optional nit: since main has a few merge commits from package history imports (like #12583 and #12119), git merge-base --is-ancestor will also match historical second-parent commits from those imports. Checking the first-parent chain (for example git rev-list --first-parent HEAD | grep -qx "${TARGET_SHA}") would ensure TARGET_SHA is an actual commit on main and that HEAD~ in the publish step below always diffs against the previous main commit.
Contributor
Author
There was a problem hiding this comment.
Done! The update dismissed the approval, re-requested:)!
Commits imported via merges (like flutter#12583) are ancestors of main, but HEAD~ for them isn't the previous main commit. Don't use grep -q: under pipefail it can make git rev-list fail with SIGPIPE and reject recent commits.
This was referenced Nov 17, 2026
ditman
pushed a commit
to ditman/flutter-flutter
that referenced
this pull request
Nov 17, 2026
…r#196812) flutter/packages@4c6a7d3...9af69be 2026-11-17 [email protected] [in_app_purchase_storekit] add warm up test to preaction (flutter/packages#13661) 2026-11-17 [email protected] Roll Flutter from d8bd864 to 2f09f96 (27 revisions) (flutter/packages#13695) 2026-11-17 [email protected] [url_launcher] Convert implementation to Kotlin (flutter/packages#13663) 2026-11-17 [email protected] [cupertino_ui] Prevent null-check crash during CupertinoTextSelectionToolbar pagination (flutter/packages#13659) 2026-11-17 [email protected] [ci] Allow backfilling missed releases via workflow_dispatch (flutter/packages#13612) If this roll has caused a breakage, revert this CL and set the roller to dry run mode using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a
releaserun fails because of a problem inrelease.ymlitself (for example the skippedtriagecheck fixed in #13611), Re-run failed jobs can't recover it: GitHub always re-runs with therelease.ymlfrom the original commit. The affected packages then have to be published by hand (for examplecross_file_web1.1.0 from #13395).This PR adds a manual trigger to
release.yml. To backfill a missed release, open thereleaseworkflow in the Actions tab, click Run workflow, and enter the SHA of the commit whose release failed. The run uses the latestrelease.ymlonmainand releases that commit the same way a normal post-submit run would.Guardrails:
main.main.Alternative considered: have
release.ymlcall a reusable workflow referenced by@main, so that Re-run all jobs would pick up the latest release logic. That keeps the existing button, but it adds an unpinned@maindependency to a job that holdsPUB_CREDENTIALS, which goes against the repo's practice of pinning workflow dependencies. The manual trigger is simpler and keeps everything pinned.Part of flutter/flutter#194870
Pre-Review Checklist
[shared_preferences]///).If you need help, consider asking for advice on the #hackers-new channel on Discord.
Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the
gemini-code-assistbot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.Footnotes
Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. ↩ ↩2