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

Clang tidy and web engine cherrypicks #37660

Merged
merged 7 commits into from
Nov 16, 2022
Merged

Clang tidy and web engine cherrypicks #37660

merged 7 commits into from
Nov 16, 2022

Conversation

godofredoc
Copy link
Contributor

@godofredoc godofredoc commented Nov 16, 2022

CP: 583c71c
CP: de0b58e
CP: 3a622e1
CP: f48be34
CP: 12dabe8
CP: 6563c58
CP: 31ee286

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • 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.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

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

* clang-tidy: added the ability to shard jobs

* added test

* jenn feedback

* hack ci to run as a shard to measure the time

* tweak

* fix hack

* zach feedback

* zach feedback 2

* removed stray async

* moved to using sets for lookups

* fixed typo in docstring

* Revert "fix hack"

This reverts commit 06a61a6.

Revert "tweak"

This reverts commit e7c58b1.

Revert "hack ci to run as a shard to measure the time"

This reverts commit e458963.

* removed calls to map

* turned the ci hack back on

* Revert "turned the ci hack back on"

This reverts commit 0d53794.

* removed sync*
Clang-tidy: Fixed math on shard-id validator.
@flutter-dashboard
Copy link

This pull request was opened from and to a release candidate branch. This should only be done as part of the official Flutter release process. If you are attempting to make a regular contribution to the Flutter project, please close this PR and follow the instructions at Tree Hygiene for detailed instructions on contributing to Flutter.

Reviewers: Use caution before merging pull requests to release branches. Ensure the proper procedure has been followed.

* Adding `felt analyze` command that CI will run.

* Remove some copypasta'd stuff.

* Also remove code path from felt.dart that forces a rebuild if it doesn't
detect the host_debug_unopt directory.

* More cleanup of felt.bat for CI.

* Fix typo in felt.bat.
* Run pub get before building host.dart.

* We should call `pub get` for `web_ui` in the launcher script because
felt itself needs it. However, we should let felt invoke `pub get` on
`web_engine_tester` only as needed, not in the launcher script.
* Skip the skwasm unit test suite on Safari since it is flaky.

* Add TODO.
@flutter-dashboard flutter-dashboard bot added the platform-web Code specifically for the web engine label Nov 16, 2022
@godofredoc godofredoc changed the title Clang tidy cherrypicks Clang tidy and web engine cherrypicks Nov 16, 2022
* Remove felt snapshotting behavior.

* Use `dart run`.
Copy link
Contributor

@itsjustkevin itsjustkevin left a comment

Choose a reason for hiding this comment

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

RSLGTM

* Combine results of all the test batches.

* Skip regressions

* Use bool instead

* remove unused var

* skip fragment_program_test

* Also skip GL context lost test

* Transparent background test fails on Firefox and Safari

* Skip other test in safari

* Skip text test on firefox
@godofredoc godofredoc merged commit c48ca60 into flutter:flutter-3.6-candidate.0 Nov 16, 2022
@godofredoc godofredoc deleted the flutter-3.6-candidate.0 branch March 8, 2023 16:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform-web Code specifically for the web engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants