Skip to content

[CP-stable] Pub dependencies & widget_preview_scaffold tests relocation#182317

Merged
auto-submit[bot] merged 5 commits intoflutter:flutter-3.41-candidate.0from
Piinks:cpPubRoll
Feb 12, 2026
Merged

[CP-stable] Pub dependencies & widget_preview_scaffold tests relocation#182317
auto-submit[bot] merged 5 commits intoflutter:flutter-3.41-candidate.0from
Piinks:cpPubRoll

Conversation

@Piinks
Copy link
Contributor

@Piinks Piinks commented Feb 12, 2026

Fixes #182314

This cherry picks in 2 changes to stable

This is a manual cherry pick, following https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md

Around about when we created the release, the pub roller was busted. It is fixed now (#180503).

Impacted Users: significant
Impact Description: users cannot upgrade to the latest version
Workaround: None
Risk: Not sure, but the pub roll this is cherry picking landed very very close to the stable release being cut. Analysis and flutter doctor all pass.
Test Coverage: For the widget scaffold change, tests are just relocated
Validation steps: dart-lang/test#2570 (comment)

Pre-launch 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.

goderbauer and others added 4 commits February 12, 2026 14:29
Manually updating test dependencies because the pub autoroller seems
busted, flutter#180503.

This one required manually updating the pubspec files because `flutter
update-packages --force-upgrade` also seemed unable to deal with the
fact that multiple dependencies across packages had to be updated in
sync. There's probably also something broken with the `flutter
update-packages` command. This is something that used to work.
…tion_tests/widget_preview_scaffold` (flutter#180658)

Removes Flutter code from the flutter_tools test suite, which otherwise
only contains non-Flutter code.

Fixes flutter#180080
@Piinks Piinks requested a review from camsim99 February 12, 2026 21:02
@flutter-dashboard
Copy link

This pull request was opened from and to a release candidate branch. This should only be done as part of the official Flutter release process. If you are attempting to make a regular contribution to the Flutter project, please close this PR and follow the instructions at Tree Hygiene for detailed instructions on contributing to Flutter.

Reviewers: Use caution before merging pull requests to release branches. Ensure the proper procedure has been followed.

@github-actions github-actions bot added a: tests "flutter test", flutter_test, or one of our tests tool Affects the "flutter" command-line tool. See also t: labels. framework flutter/packages/flutter repository. See also f: labels. labels Feb 12, 2026
@Piinks Piinks added the cp: review Cherry-picks in the review queue label Feb 12, 2026
Copy link
Contributor

@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 cherry-picks two changes into the stable branch. The first change relocates the widget_preview_scaffold tests and related files from packages/flutter_tools/test/widget_preview_scaffold.shard to dev/integration_tests/widget_preview_scaffold. This involves updating numerous file paths in test configurations, build scripts, and source files to reflect the new location. The second change updates several pub dependencies, including test, test_api, and test_core, across various pubspec.yaml files. Notably, the ffigen package is moved from dependencies to dev_dependencies in the root pubspec.yaml. The changes are primarily for code organization and dependency management.

@Piinks Piinks changed the title [CP] Pub dependencies & widget_preview_scaffold tests relocation [CP-stable] Pub dependencies & widget_preview_scaffold tests relocation Feb 12, 2026
Copy link
Contributor

@camsim99 camsim99 left a comment

Choose a reason for hiding this comment

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

LGTM.

Let's make a hotfix release for this change once this lands. @Piinks I'm going to go ahead and update the CHANGELOG in this PR too so we can save some time!

Added release notes for Flutter version 3.41.1.
@camsim99
Copy link
Contributor

@Piinks can you take a look at the changelog and make sure it looks good?

@Piinks
Copy link
Contributor Author

Piinks commented Feb 12, 2026

@Piinks can you take a look at the changelog and make sure it looks good?

LGTM

@camsim99 camsim99 added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 12, 2026
@auto-submit auto-submit bot merged commit 8373cae into flutter:flutter-3.41-candidate.0 Feb 12, 2026
141 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 13, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 13, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 14, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 20, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 20, 2026
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: tests "flutter test", flutter_test, or one of our tests autosubmit Merge PR when tree becomes green via auto submit App cp: review Cherry-picks in the review queue framework flutter/packages/flutter repository. See also f: labels. tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants