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

[web_benchmarks] Remove WebRenderer enum. #8103

Merged

Conversation

ditman
Copy link
Member

@ditman ditman commented Nov 15, 2024

Removes the WebRenderer enum, and its uses in the CompilationOptions class.

This is a breaking change because it's removing public API (CompilationOptions.renderer, WebRenderer), but in practice people shouldn't need any changes to their code (since the CompilationOptions class is used through named constructors). In any case, labeling as v4.0.0.

Related: flutter/flutter#145954

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@ditman ditman requested a review from yjbanov as a code owner November 15, 2024 02:52
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

@stuartmorgan
Copy link
Contributor

test-exempt: removing code

@ditman ditman added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 15, 2024
@auto-submit auto-submit bot merged commit 5bf6ac2 into flutter:main Nov 15, 2024
77 checks passed
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Nov 15, 2024
@ditman ditman deleted the web-benchmarks-remove-renderer-option branch November 15, 2024 22:57
auto-submit bot pushed a commit to flutter/devtools that referenced this pull request Nov 15, 2024
This change is in preparation of the removal of `--web-renderer=html`.

* Related: flutter/packages#8103 (tooling change to remove the parameter from the benchmark runner)
* Related: flutter/flutter#145954 (general thread)

## Tests

In this case, CI should continue normally. The change is just adopting a new major version of `package:web_benchmarks` that removed some public API (that wasn't used in devtools).

![build.yaml badge]

If you need help, consider asking for help on [Discord].

[build.yaml badge]: https://github.com/flutter/devtools/actions/workflows/build.yaml/badge.svg
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 18, 2024
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Nov 18, 2024
flutter/packages@b164be3...c1eabf5

2024-11-16 49699333+dependabot[bot]@users.noreply.github.com [gradle]:
Bump org.mockito.kotlin:mockito-kotlin from 4.1.0 to 5.4.0 in
/packages/interactive_media_ads/android (flutter/packages#8095)
2024-11-16 kevmoo@users.noreply.github.com
[google_identity_services_web] Migrate all types to JSObject
(flutter/packages#8053)
2024-11-15 49699333+dependabot[bot]@users.noreply.github.com
[file_selector]: Bump androidx.annotation:annotation from 1.9.0 to 1.9.1
in /packages/file_selector/file_selector_android/android
(flutter/packages#7982)
2024-11-15 ditman@gmail.com [web_benchmarks] Remove `WebRenderer` enum.
(flutter/packages#8103)
2024-11-15 kevmoo@users.noreply.github.com [google_maps_flutter] Fix
detection of WebAssembly compatibility (flutter/packages#8102)
2024-11-15 engine-flutter-autoroll@skia.org Roll Flutter from
ed553d1 to 0e2d55e (40 revisions) (flutter/packages#8106)

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants