Skip to content

Conversation

@jonahwilliams
Copy link
Contributor

To make #122223 easier, replace all these values with a constant, then change the constant to true.

@flutter-dashboard flutter-dashboard bot added the c: contributor-productivity Team-specific productivity, code health, technical debt. label Mar 8, 2023
@jonahwilliams
Copy link
Contributor Author

First commit updates most devicelab config to use a single constants, second commit changes the constant value. To be reverted after a few commits to see failures/performance changes

This should have no impact outside of the devicelab and does not impact developers or google3 rolls.

@jonahwilliams jonahwilliams changed the title [Impeller] setup for temporary flag flip [Impeller] Temporary flag flip for devicelab tests to use Impeller. Mar 8, 2023
Copy link
Member

@zanderso zanderso left a comment

Choose a reason for hiding this comment

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

These are the tests where I think we already have Impeller variants running. Are there any others that are easy to put under a toggle like this?

@jonahwilliams
Copy link
Contributor Author

I don't think we have impeller variants for all of them - but this is probably the best we can do. There are one or two tests that build and run via XCode so i could add an FLTEnableImpeller true there.

Besides that, its mostly build tests and tool tests which won't really be impacted either way

@jonahwilliams
Copy link
Contributor Author

I updated this so we add --enable-impeller to anything that goes through the flutterArgs command targeting iOS.

final String? localEngineSrcPath = localEngineSrcPathFromEnv;
return <String>[
command,
if (!command.contains('--enable-impeller')
Copy link
Member

Choose a reason for hiding this comment

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

Should this also be controlled by kEnableImpellerDefault?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think that was an optimistic idea and instead I'll end up reverting the whole thing anyway, so it probably doesn't matter

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 8, 2023
@auto-submit auto-submit bot merged commit 21b8b72 into flutter:master Mar 8, 2023
@jonahwilliams jonahwilliams deleted the temp_flip_impeller branch March 8, 2023 21:42
jonahwilliams pushed a commit that referenced this pull request Mar 8, 2023
jonahwilliams pushed a commit that referenced this pull request Mar 8, 2023
@jmagman
Copy link
Member

jmagman commented Mar 8, 2023

In retrospect this would have been a better spot:

if (command == 'drive' && hostAgent.dumpDirectory != null) ...<String>[
'--screenshot',
hostAgent.dumpDirectory!.path,
],

Check if --enable-impeller isn't present, and if the command is run or drive, then add it.

engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 10, 2023
hannah-hyj pushed a commit to hannah-hyj/flutter that referenced this pull request Mar 11, 2023
…lutter#122224)

[Impeller] Temporary flag flip for devicelab tests to use Impeller.
hannah-hyj pushed a commit to hannah-hyj/flutter that referenced this pull request Mar 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 12, 2023
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 c: contributor-productivity Team-specific productivity, code health, technical debt.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants