Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[CP][Impeller] Enable logging a warning when the user opts out of using Impeller. (#51849) #51914

Conversation

chinmaygarde
Copy link
Member

Part of flutter/flutter#144439

This does two things:

  • Logs a warning when the embedder requests a non-Impeller preference when creating a shell.
  • Makes the iOS embedder request a warning be logged when Impeller is not used.

I decided to put the warning logs in the shell so that as we get more opinionated about Impeller on other platforms, those platforms can just flip a flag with common log origin.

…mpeller. (flutter#51849)

Part of flutter/flutter#144439

This does two things:

* Logs a warning when the embedder requests a non-Impeller preference when creating a shell.
* Makes the iOS embedder request a warning be logged when Impeller is not used.

I decided to put the warning logs in the shell so that as we get more opinionated about Impeller on other platforms, those platforms can just flip a flag with common log origin.
@chinmaygarde
Copy link
Member Author

Filing this CP request per the guidance in #51849 (comment).

Copy link
Member

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

LGTM

@chinmaygarde chinmaygarde added the cp: review add the cp request to the review queue of release engineers label Apr 4, 2024
Copy link
Contributor

@XilaiZhang XilaiZhang left a comment

Choose a reason for hiding this comment

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

might be good to also file a separate cherry pick issue to be formally included in a release

@chinmaygarde
Copy link
Member Author

@XilaiZhang Done!

@godofredoc godofredoc added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 8, 2024
@auto-submit auto-submit bot merged commit eac479f into flutter:flutter-3.22-candidate.0 Apr 8, 2024
@chinmaygarde chinmaygarde deleted the cp_logging_opt_out branch April 8, 2024 21:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App cp: review add the cp request to the review queue of release engineers platform-ios
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants