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

Made YAML version of vscode workspace to avoid redundancy #55322

Merged
merged 9 commits into from
Sep 23, 2024

Conversation

gaaclarke
Copy link
Member

@gaaclarke gaaclarke commented Sep 20, 2024

In #55291 we added a vscode workspace to help with running tests and sharing settings. However, VSCode does not support a config format that has the ability to reduce redundancy and it will get quite unwieldy as we add in all of the engines test runners. To combat that I've added instead a YAML config that can converted to JSON for VSCode.

This also adds 2 more test runners: display_list_unittests and impeller_golden_tests

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 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.

@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.

}
]
},
"extensions": {
"recommendations": [
// C++ TestMate
Copy link
Member Author

Choose a reason for hiding this comment

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

These comments live in the yaml file now.

clear: true
group:
kind: build
- <<: *et-task
Copy link
Member Author

Choose a reason for hiding this comment

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

Here's one place where the magic is happening.

Copy link
Member

Choose a reason for hiding this comment

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

Just checking; workspaceFolder didn't seem to work for my regular .vscode configs; does it work in the engine-workspace?

Copy link
Member Author

Choose a reason for hiding this comment

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

It won't work unless you open up a workspace (//engine.code-workspace).

@gaaclarke gaaclarke mentioned this pull request Sep 20, 2024
8 tasks
clear: true
group:
kind: build
- <<: *et-task
Copy link
Member

Choose a reason for hiding this comment

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

Just checking; workspaceFolder didn't seem to work for my regular .vscode configs; does it work in the engine-workspace?

@gaaclarke gaaclarke requested a review from jtmcdole September 23, 2024 19:56
@gaaclarke gaaclarke added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 23, 2024
@auto-submit auto-submit bot merged commit e6dd280 into flutter:main Sep 23, 2024
32 checks passed
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Sep 24, 2024
…155583)

flutter/engine@95c5a09...8a5af19

2024-09-23 [email protected] Roll Skia from 7174ab7a984d to 7b0669f89aef (1 revision) (flutter/engine#55371)
2024-09-23 [email protected] [Impeller] Fix GLES gaussian implementation. (flutter/engine#55329)
2024-09-23 [email protected] Made YAML version of vscode workspace to avoid redundancy (flutter/engine#55322)
2024-09-23 [email protected] Roll Skia from acb93a9f241f to 7174ab7a984d (6 revisions) (flutter/engine#55369)
2024-09-23 [email protected] [Impeller] add triangle fan support and remove drawVertices copying. (flutter/engine#55236)
2024-09-23 [email protected] Copy Dart SDK vm_shared sources into the sky_engine package (flutter/engine#55158)
2024-09-23 [email protected] [Impeller] use BufferSubData to update gles device buffer. (flutter/engine#55330)
2024-09-23 [email protected] [Impeller] remove usage of VBB when allocating vertices of a fixed size. (flutter/engine#55235)
2024-09-23 6844906[email protected] [fuchsia] Update fuchsia instruction in Compiling-the-engine.md (flutter/engine#55365)
2024-09-23 [email protected] [iOS] sprinkle some null checks on BringLayersIntoView. (flutter/engine#55334)

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
thejitenpatel pushed a commit to thejitenpatel/flutter that referenced this pull request Sep 26, 2024
…lutter#155583)

flutter/engine@95c5a09...8a5af19

2024-09-23 [email protected] Roll Skia from 7174ab7a984d to 7b0669f89aef (1 revision) (flutter/engine#55371)
2024-09-23 [email protected] [Impeller] Fix GLES gaussian implementation. (flutter/engine#55329)
2024-09-23 [email protected] Made YAML version of vscode workspace to avoid redundancy (flutter/engine#55322)
2024-09-23 [email protected] Roll Skia from acb93a9f241f to 7174ab7a984d (6 revisions) (flutter/engine#55369)
2024-09-23 [email protected] [Impeller] add triangle fan support and remove drawVertices copying. (flutter/engine#55236)
2024-09-23 [email protected] Copy Dart SDK vm_shared sources into the sky_engine package (flutter/engine#55158)
2024-09-23 [email protected] [Impeller] use BufferSubData to update gles device buffer. (flutter/engine#55330)
2024-09-23 [email protected] [Impeller] remove usage of VBB when allocating vertices of a fixed size. (flutter/engine#55235)
2024-09-23 6844906[email protected] [fuchsia] Update fuchsia instruction in Compiling-the-engine.md (flutter/engine#55365)
2024-09-23 [email protected] [iOS] sprinkle some null checks on BringLayersIntoView. (flutter/engine#55334)

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
thejitenpatel pushed a commit to thejitenpatel/flutter that referenced this pull request Sep 26, 2024
…lutter#155583)

flutter/engine@95c5a09...8a5af19

2024-09-23 [email protected] Roll Skia from 7174ab7a984d to 7b0669f89aef (1 revision) (flutter/engine#55371)
2024-09-23 [email protected] [Impeller] Fix GLES gaussian implementation. (flutter/engine#55329)
2024-09-23 [email protected] Made YAML version of vscode workspace to avoid redundancy (flutter/engine#55322)
2024-09-23 [email protected] Roll Skia from acb93a9f241f to 7174ab7a984d (6 revisions) (flutter/engine#55369)
2024-09-23 [email protected] [Impeller] add triangle fan support and remove drawVertices copying. (flutter/engine#55236)
2024-09-23 [email protected] Copy Dart SDK vm_shared sources into the sky_engine package (flutter/engine#55158)
2024-09-23 [email protected] [Impeller] use BufferSubData to update gles device buffer. (flutter/engine#55330)
2024-09-23 [email protected] [Impeller] remove usage of VBB when allocating vertices of a fixed size. (flutter/engine#55235)
2024-09-23 6844906[email protected] [fuchsia] Update fuchsia instruction in Compiling-the-engine.md (flutter/engine#55365)
2024-09-23 [email protected] [iOS] sprinkle some null checks on BringLayersIntoView. (flutter/engine#55334)

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
thejitenpatel pushed a commit to thejitenpatel/flutter that referenced this pull request Sep 27, 2024
…lutter#155583)

flutter/engine@95c5a09...8a5af19

2024-09-23 [email protected] Roll Skia from 7174ab7a984d to 7b0669f89aef (1 revision) (flutter/engine#55371)
2024-09-23 [email protected] [Impeller] Fix GLES gaussian implementation. (flutter/engine#55329)
2024-09-23 [email protected] Made YAML version of vscode workspace to avoid redundancy (flutter/engine#55322)
2024-09-23 [email protected] Roll Skia from acb93a9f241f to 7174ab7a984d (6 revisions) (flutter/engine#55369)
2024-09-23 [email protected] [Impeller] add triangle fan support and remove drawVertices copying. (flutter/engine#55236)
2024-09-23 [email protected] Copy Dart SDK vm_shared sources into the sky_engine package (flutter/engine#55158)
2024-09-23 [email protected] [Impeller] use BufferSubData to update gles device buffer. (flutter/engine#55330)
2024-09-23 [email protected] [Impeller] remove usage of VBB when allocating vertices of a fixed size. (flutter/engine#55235)
2024-09-23 6844906[email protected] [fuchsia] Update fuchsia instruction in Compiling-the-engine.md (flutter/engine#55365)
2024-09-23 [email protected] [iOS] sprinkle some null checks on BringLayersIntoView. (flutter/engine#55334)

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
thejitenpatel pushed a commit to thejitenpatel/flutter that referenced this pull request Sep 27, 2024
…lutter#155583)

flutter/engine@95c5a09...8a5af19

2024-09-23 [email protected] Roll Skia from 7174ab7a984d to 7b0669f89aef (1 revision) (flutter/engine#55371)
2024-09-23 [email protected] [Impeller] Fix GLES gaussian implementation. (flutter/engine#55329)
2024-09-23 [email protected] Made YAML version of vscode workspace to avoid redundancy (flutter/engine#55322)
2024-09-23 [email protected] Roll Skia from acb93a9f241f to 7174ab7a984d (6 revisions) (flutter/engine#55369)
2024-09-23 [email protected] [Impeller] add triangle fan support and remove drawVertices copying. (flutter/engine#55236)
2024-09-23 [email protected] Copy Dart SDK vm_shared sources into the sky_engine package (flutter/engine#55158)
2024-09-23 [email protected] [Impeller] use BufferSubData to update gles device buffer. (flutter/engine#55330)
2024-09-23 [email protected] [Impeller] remove usage of VBB when allocating vertices of a fixed size. (flutter/engine#55235)
2024-09-23 6844906[email protected] [fuchsia] Update fuchsia instruction in Compiling-the-engine.md (flutter/engine#55365)
2024-09-23 [email protected] [iOS] sprinkle some null checks on BringLayersIntoView. (flutter/engine#55334)

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants