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

Pub workspace-ify most of testing/ and parts of tools/ #54124

Merged
merged 9 commits into from
Jul 26, 2024

Conversation

matanlurey
Copy link
Contributor

@matanlurey matanlurey commented Jul 25, 2024

Replaces and closes #53997.

This PR migrates the following packages to the pub workspace:

  • testing/benchmark
  • testing/dart
  • testing/litetest
  • testing/pkg_test_demo
  • testing/scenario_app
  • testing/skia_gold_client
  • testing/symbols
  • tools/golden_tests_harvester
  • tools/pkg/process_fakes

It also makes minor changes to the Dart build rules in order to resolve the root package_config, instead of per-package.

I am not totally confident of the _embedder.yaml change, but I also can't explain what is needed to continue analyzing lib/ui without analysis failures that all of the symbols in dart:nativewrappers are missing.

@matanlurey matanlurey changed the title Pub workspace r2 Pub workspace-ify most of testing/ and parts of tools/ Jul 25, 2024
@matanlurey matanlurey marked this pull request as ready for review July 25, 2024 20:55
@github-actions github-actions bot added the platform-web Code specifically for the web engine label Jul 25, 2024
@jason-simmons
Copy link
Member

The _embedder.yaml change LGTM.

With the workspace, the analyzer will resolve dart:nativewrappers using _embedder.yaml. So _embedder.yaml now needs a path to a usable implementation of dart:nativewrappers.

(Without the workspace the analyzer was obtaining the path for dart:nativewrappers from a Dart SDK internal metadata library)

CI is having issues analyzing the web_sdk packages. Do they also need to be added to the workspace in this PR?

@matanlurey
Copy link
Contributor Author

The _embedder.yaml change LGTM.

With the workspace, the analyzer will resolve dart:nativewrappers using _embedder.yaml. So _embedder.yaml now needs a path to a usable implementation of dart:nativewrappers.

(Without the workspace the analyzer was obtaining the path for dart:nativewrappers from a Dart SDK internal metadata library)

CI is having issues analyzing the web_sdk packages. Do they also need to be added to the workspace in this PR?

Not quite, I think I just need to tweak dependency overrides.

@matanlurey
Copy link
Contributor Author

Ok looks fine locally, PTAL @jason-simmons.

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.

RSLGTM

@matanlurey matanlurey added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 26, 2024
@auto-submit auto-submit bot merged commit 5864897 into flutter:main Jul 26, 2024
31 checks passed
@matanlurey matanlurey deleted the pub-workspace-r2 branch July 26, 2024 17:35
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 26, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 26, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 26, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 26, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jul 27, 2024
…152414)

flutter/engine@e28f875...0c5504e

2024-07-26 [email protected] [impeller] adds test for catching shimmer in gaussian blur (flutter/engine#54116)
2024-07-26 [email protected] Revert "[Impeller] Use downsample shader for blur instead of mip levels. (#53760)" (flutter/engine#54148)
2024-07-26 [email protected] Roll Skia from 61ac357e8e33 to 4a97d01dfedd (2 revisions) (flutter/engine#54146)
2024-07-26 [email protected] Roll Dart SDK from 1b29ac31628f to de1925e18998 (1 revision) (flutter/engine#54145)
2024-07-26 [email protected] Pub workspace-ify most of `testing/` and parts of `tools/` (flutter/engine#54124)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] 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
TytaniumDev pushed a commit to TytaniumDev/flutter that referenced this pull request Aug 7, 2024
…lutter#152414)

flutter/engine@e28f875...0c5504e

2024-07-26 [email protected] [impeller] adds test for catching shimmer in gaussian blur (flutter/engine#54116)
2024-07-26 [email protected] Revert "[Impeller] Use downsample shader for blur instead of mip levels. (flutter#53760)" (flutter/engine#54148)
2024-07-26 [email protected] Roll Skia from 61ac357e8e33 to 4a97d01dfedd (2 revisions) (flutter/engine#54146)
2024-07-26 [email protected] Roll Dart SDK from 1b29ac31628f to de1925e18998 (1 revision) (flutter/engine#54145)
2024-07-26 [email protected] Pub workspace-ify most of `testing/` and parts of `tools/` (flutter/engine#54124)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] 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
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
…lutter#152414)

flutter/engine@e28f875...0c5504e

2024-07-26 [email protected] [impeller] adds test for catching shimmer in gaussian blur (flutter/engine#54116)
2024-07-26 [email protected] Revert "[Impeller] Use downsample shader for blur instead of mip levels. (flutter#53760)" (flutter/engine#54148)
2024-07-26 [email protected] Roll Skia from 61ac357e8e33 to 4a97d01dfedd (2 revisions) (flutter/engine#54146)
2024-07-26 [email protected] Roll Dart SDK from 1b29ac31628f to de1925e18998 (1 revision) (flutter/engine#54145)
2024-07-26 [email protected] Pub workspace-ify most of `testing/` and parts of `tools/` (flutter/engine#54124)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] 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
Labels
autosubmit Merge PR when tree becomes green via auto submit App platform-web Code specifically for the web engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants