-
Notifications
You must be signed in to change notification settings - Fork 6k
Migrate mac host clang tidy to engine v2. #41824
Conversation
"host_debug", | ||
"--lint-all", | ||
"--shard-id=1", | ||
"--shard-variants=host_debug" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for remembering this a bit late, but if you look in the engine v1 recipe here:
https://flutter.googlesource.com/recipes/+/refs/heads/main/recipes/engine/engine_lint.py#101
Notice that the shardVariant
is specified as ios_debug_sim
. That's because the engine's linter script is looking at the compile commands for other variants, and only running a shard of the lint commands in the intersection, to avoid duplicating the work. That's why it was doing two gn
commands.
As written, this will only lint half of the files. In order to duplicate the behavior of engine v1, we'd need to be able to run multiple gn
commands. Another option would be to allow duplication between host_debug
and ios_debug_sim
, but to shard them with themselves. We could do that by running list.sh
in parallel on two machines, one with --shard-id=0
and the other with --shard-id=1
.
Not sure which is easier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll give it another try merging mac host and ios clang tidy into a single build to avoid duplication and move the scripts to run as global tests. I could add the double gn logic but that may add more complexity to all the other configurations to cover this single use case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is ready for review it is now making a 1:1 translation of the existing builds https://luci-milo.appspot.com/raw/build/logs.chromium.org/flutter/led/godofredoc_google.com/d3c09280c1196e2320dae4cee33f5ab5ea2044d27ef22554af37c71bfba6377c/+/build.proto
This removes the additional gn command from the ci/lint tool and uses a single gn command.
…sions) (#126455) Manual roll requested by [email protected] Cannot build log URL because revision "892f88d2513f" is invalid: Luci builds of "Linux Fuchsia FEMU" for 892f88d2513f4a60ebd6d1496c4ac272e53c55ba was STARTED 2023-05-10 [email protected] Revert "Move linux fuchsia engine v2 build to prod." (flutter/engine#41902) 2023-05-10 [email protected] Migrate mac host clang tidy to engine v2. (flutter/engine#41824) 2023-05-10 [email protected] [Impeller] delete special handling of RRect. (flutter/engine#41872) 2023-05-10 [email protected] Roll Fuchsia Mac SDK from JiOACcaGrDphuHIql... to a3rrULFaXlwS8mfjW... (flutter/engine#41898) 2023-05-10 [email protected] Only register top level window message listener upon registering service binding (flutter/engine#41733) 2023-05-10 [email protected] Roll Skia from 8c936fb9ba8e to 32f4cfc2460b (27 revisions) (flutter/engine#41891) 2023-05-10 [email protected] [web] dialog a11y fixes (flutter/engine#41681) 2023-05-10 [email protected] Roll Dart SDK from 2cf089614e1c to 7ad028c26344 (2 revisions) (flutter/engine#41882) 2023-05-10 [email protected] [Impeller] Increase minimum size of alpha glyph atlas. (flutter/engine#41880) 2023-05-10 [email protected] [Impeller] Use separate atlases and shaders for color and alpha (flutter/engine#41780) 2023-05-10 [email protected] Move linux fuchsia engine v2 build to prod. (flutter/engine#41865) Also rolling transitive DEPS: fuchsia/sdk/core/mac-amd64 from JiOACcaGrDph to a3rrULFaXlwS 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…126468) flutter/engine@10ac36c...406b354 2023-05-10 [email protected] [web] Re-enable history tests on Safari (flutter/engine#41901) 2023-05-10 [email protected] switch from MockCanvas to DisplayListBuilder in layer unit tests (flutter/engine#41889) 2023-05-10 [email protected] Revert "Move linux fuchsia engine v2 build to prod." (flutter/engine#41902) 2023-05-10 [email protected] Migrate mac host clang tidy to engine v2. (flutter/engine#41824) 2023-05-10 [email protected] [Impeller] delete special handling of RRect. (flutter/engine#41872) 2023-05-10 [email protected] Roll Fuchsia Mac SDK from JiOACcaGrDphuHIql... to a3rrULFaXlwS8mfjW... (flutter/engine#41898) 2023-05-10 [email protected] Only register top level window message listener upon registering service binding (flutter/engine#41733) 2023-05-10 [email protected] Roll Skia from 8c936fb9ba8e to 32f4cfc2460b (27 revisions) (flutter/engine#41891) 2023-05-10 [email protected] [web] dialog a11y fixes (flutter/engine#41681) 2023-05-10 [email protected] Roll Dart SDK from 2cf089614e1c to 7ad028c26344 (2 revisions) (flutter/engine#41882) 2023-05-10 [email protected] [Impeller] Increase minimum size of alpha glyph atlas. (flutter/engine#41880) 2023-05-10 [email protected] [Impeller] Use separate atlases and shaders for color and alpha (flutter/engine#41780) 2023-05-10 [email protected] Move linux fuchsia engine v2 build to prod. (flutter/engine#41865) Also rolling transitive DEPS: fuchsia/sdk/core/mac-amd64 from JiOACcaGrDph to a3rrULFaXlwS 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
CP: 0df6740 ## Pre-launch Checklist - [X] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [X] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [X] I read and followed the [Flutter Style Guide] and the [C++, Objective-C, Java style guides]. - [X] I listed at least one issue that this PR fixes in the description above. - [X] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See [testing the engine] for instructions on writing and running engine tests. - [X] I updated/added relevant documentation (doc comments with `///`). - [X] I signed the [CLA]. - [X] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview [Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style [testing the engine]: https://github.com/flutter/flutter/wiki/Testing-the-engine [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/wiki/Chat
…sions) (flutter#126455) Manual roll requested by [email protected] Cannot build log URL because revision "892f88d2513f" is invalid: Luci builds of "Linux Fuchsia FEMU" for 892f88d2513f4a60ebd6d1496c4ac272e53c55ba was STARTED 2023-05-10 [email protected] Revert "Move linux fuchsia engine v2 build to prod." (flutter/engine#41902) 2023-05-10 [email protected] Migrate mac host clang tidy to engine v2. (flutter/engine#41824) 2023-05-10 [email protected] [Impeller] delete special handling of RRect. (flutter/engine#41872) 2023-05-10 [email protected] Roll Fuchsia Mac SDK from JiOACcaGrDphuHIql... to a3rrULFaXlwS8mfjW... (flutter/engine#41898) 2023-05-10 [email protected] Only register top level window message listener upon registering service binding (flutter/engine#41733) 2023-05-10 [email protected] Roll Skia from 8c936fb9ba8e to 32f4cfc2460b (27 revisions) (flutter/engine#41891) 2023-05-10 [email protected] [web] dialog a11y fixes (flutter/engine#41681) 2023-05-10 [email protected] Roll Dart SDK from 2cf089614e1c to 7ad028c26344 (2 revisions) (flutter/engine#41882) 2023-05-10 [email protected] [Impeller] Increase minimum size of alpha glyph atlas. (flutter/engine#41880) 2023-05-10 [email protected] [Impeller] Use separate atlases and shaders for color and alpha (flutter/engine#41780) 2023-05-10 [email protected] Move linux fuchsia engine v2 build to prod. (flutter/engine#41865) Also rolling transitive DEPS: fuchsia/sdk/core/mac-amd64 from JiOACcaGrDph to a3rrULFaXlwS 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…lutter#126468) flutter/engine@10ac36c...406b354 2023-05-10 [email protected] [web] Re-enable history tests on Safari (flutter/engine#41901) 2023-05-10 [email protected] switch from MockCanvas to DisplayListBuilder in layer unit tests (flutter/engine#41889) 2023-05-10 [email protected] Revert "Move linux fuchsia engine v2 build to prod." (flutter/engine#41902) 2023-05-10 [email protected] Migrate mac host clang tidy to engine v2. (flutter/engine#41824) 2023-05-10 [email protected] [Impeller] delete special handling of RRect. (flutter/engine#41872) 2023-05-10 [email protected] Roll Fuchsia Mac SDK from JiOACcaGrDphuHIql... to a3rrULFaXlwS8mfjW... (flutter/engine#41898) 2023-05-10 [email protected] Only register top level window message listener upon registering service binding (flutter/engine#41733) 2023-05-10 [email protected] Roll Skia from 8c936fb9ba8e to 32f4cfc2460b (27 revisions) (flutter/engine#41891) 2023-05-10 [email protected] [web] dialog a11y fixes (flutter/engine#41681) 2023-05-10 [email protected] Roll Dart SDK from 2cf089614e1c to 7ad028c26344 (2 revisions) (flutter/engine#41882) 2023-05-10 [email protected] [Impeller] Increase minimum size of alpha glyph atlas. (flutter/engine#41880) 2023-05-10 [email protected] [Impeller] Use separate atlases and shaders for color and alpha (flutter/engine#41780) 2023-05-10 [email protected] Move linux fuchsia engine v2 build to prod. (flutter/engine#41865) Also rolling transitive DEPS: fuchsia/sdk/core/mac-amd64 from JiOACcaGrDph to a3rrULFaXlwS 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
This removes the additional gn command from the ci/lint tool and uses a single gn command.
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.