Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flutter_tools] Remove --no-sound-null-safety #3 #123297

Merged

Conversation

christopherfujino
Copy link
Member

@christopherfujino christopherfujino commented Mar 22, 2023

Part of #118837
Fixes #118810

The previous attempt, #123031, was reverted because some Google-specific workflows relied on being able to build non-null-safe apps.

This re-land leaves the top-level flag, while hiding it and throwing a tool exit if it ever used, unless a new context getter globals.nonNullSafeBuilds evaluates to NonNullSafeBuilds.notAllowed, which will only be provided in Google-specific workflows.

cl/519269413 is the internal fix that will override globals.nonNullSafeBuilds.

@flutter-dashboard flutter-dashboard bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Mar 22, 2023
@christopherfujino christopherfujino changed the title [flutter_tools] Re-land remvoe --no-sound-null-safety #3 [flutter_tools] Re-land remove --no-sound-null-safety #3 Mar 22, 2023
@flutter-dashboard flutter-dashboard bot added framework flutter/packages/flutter repository. See also f: labels. team Infra upgrades, team productivity, code health, technical debt. See also team: labels. labels Mar 22, 2023
@goderbauer goderbauer mentioned this pull request Mar 23, 2023
23 tasks
@christopherfujino christopherfujino changed the title [flutter_tools] Re-land remove --no-sound-null-safety #3 [flutter_tools] Remove --no-sound-null-safety #3 Mar 25, 2023
@christopherfujino christopherfujino marked this pull request as ready for review March 25, 2023 03:00
Copy link
Contributor

@andrewkolos andrewkolos left a comment

Choose a reason for hiding this comment

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

LGTM; waiting for cl/519269413

Copy link
Contributor

@eliasyishak eliasyishak left a comment

Choose a reason for hiding this comment

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

LGTM

@andrewkolos
Copy link
Contributor

andrewkolos commented Mar 28, 2023

I updated this branch to try to get Google testing unstuck, but now two checks are failing on recently-added Clipboard.getData tests. I get the same failures when running on master (and even the commit that introduced the tests), which is weird because recent PRs have had these tests pass.

Command I'm using to run the tests (from the packages/flutter directory): flutter test test/services/clipboard_test.dart --platform=chrome --web-renderer=canvaskit

engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 1, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 1, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 1, 2023
CaseyHillers added a commit that referenced this pull request Apr 2, 2023
@christopherfujino christopherfujino deleted the re-land-no-sound-null-safety branch April 3, 2023 17:56
CaseyHillers pushed a commit that referenced this pull request Apr 4, 2023
Re-land of #123297 without any of
the commits at the end attempting to fix customer-testing.

Fixes #118810
exaby73 pushed a commit to NevercodeHQ/flutter that referenced this pull request Apr 17, 2023
[flutter_tools] Remove --no-sound-null-safety #3
exaby73 pushed a commit to NevercodeHQ/flutter that referenced this pull request Apr 17, 2023
Re-land of flutter#123297 without any of
the commits at the end attempting to fix customer-testing.

Fixes flutter#118810
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 10, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 10, 2023
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 framework flutter/packages/flutter repository. See also f: labels. team Infra upgrades, team productivity, code health, technical debt. See also team: 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.

Remove option to pass unsound null safety flag in flutter build/run commands
4 participants