Skip to content

[ci] Adds more ci checks for batch release file integrity#10859

Merged
auto-submit[bot] merged 17 commits intoflutter:mainfrom
chunhtai:go_router_optin
Feb 12, 2026
Merged

[ci] Adds more ci checks for batch release file integrity#10859
auto-submit[bot] merged 17 commits intoflutter:mainfrom
chunhtai:go_router_optin

Conversation

@chunhtai
Copy link
Contributor

also opts in go_router

Pre-Review Checklist

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-assist bot 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

  1. 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 3

@github-actions github-actions bot added p: go_router triage-framework Should be looked at in framework triage labels Jan 22, 2026
@chunhtai chunhtai force-pushed the go_router_optin branch 2 times, most recently from 32a0557 to dcd190f Compare January 27, 2026 23:32
@chunhtai chunhtai marked this pull request as ready for review January 27, 2026 23:32
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request enhances the CI checks for batch release file integrity by adding validation for workflow files, triggers, and branches for packages that opt into batch releases. It also opts in the go_router package to this new system. The changes are well-tested and improve the reliability of the release process. I have a few suggestions to further improve the robustness of the new checks and clean up a minor code duplication issue in the tests.

@chunhtai chunhtai added the override: no versioning needed Override the check requiring version bumps for most changes label Jan 29, 2026
@chunhtai
Copy link
Contributor Author

reason for override, ci change that doesn't affect go_router functionality

Copy link
Collaborator

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with minor changes, but per my comment on the docs PR I just realized we haven't fixed update-release-info yet. Since that's what we tell contributors to use, we shouldn't land this until that's been updated.

@@ -0,0 +1,3 @@
changelog: |
- Converts go_router to use batch release.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought the resolution of the comment thread was that this wasn't going to have a changelog entry?

There is no change in any part of the package that affects clients.

}

final String content = workflowFile.readAsStringSync();
YamlMap? yaml;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: final

workflowDir
.childFile('release_from_branches.yml')
.writeAsStringSync('something');
.writeAsStringSync('name: something');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so that it won't trigger invalid yaml error which is not the focus of this test

@chunhtai chunhtai added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 11, 2026
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Feb 11, 2026
@auto-submit
Copy link
Contributor

auto-submit bot commented Feb 11, 2026

autosubmit label was removed for flutter/packages/10859, because - The status or check suite Mac_arm64 ios_platform_tests_shard_3 master has failed. Please fix the issues identified (or deflake) before re-applying this label.

@chunhtai chunhtai added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 11, 2026
@auto-submit auto-submit bot merged commit 73dfeaa into flutter:main Feb 12, 2026
81 checks passed
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Feb 12, 2026
flutter/packages@1e50195...af1d610

2026-02-12 brunocorona.alcantar@gmail.com [video_player_avfoundation]
Fix regression where http headers were ignored (flutter/packages#10991)
2026-02-12 47866232+chunhtai@users.noreply.github.com [ci] Adds more ci
checks for batch release file integrity (flutter/packages#10859)
2026-02-12 stuartmorgan@google.com [google_maps_flutter] Create SDK 9
and 10 packages for iOS (flutter/packages#10852)
2026-02-12 katelovett@google.com Update codeowners
(flutter/packages#11004)
2026-02-11 engine-flutter-autoroll@skia.org Roll Flutter (stable) from
67323de to 44a626f (1372 revisions) (flutter/packages#10999)
2026-02-11 stuartmorgan@google.com [video_player] Convert iOS unit tests
to Swift (flutter/packages#10989)
2026-02-11 47866232+chunhtai@users.noreply.github.com [ci] updates
`update-release-info` to support batch release (flutter/packages#10958)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com 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
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 override: no versioning needed Override the check requiring version bumps for most changes p: go_router triage-framework Should be looked at in framework triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants