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

Conversation

@matanlurey
Copy link
Contributor

Closes flutter/flutter#156260.

Fixes the degenerate case where you specify an unrecognized target, and it falls back to rebuilding the entire engine as if you specified nothing. In addition, added recognition of group.

@@ -1,3 +1,4 @@
import 'package:collection/collection.dart';
Copy link
Member

Choose a reason for hiding this comment

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

This file needs a copyright header.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

// unneccesarily noisy, we can remove it or limit it to verbose mode.
if (allTargets.length < commandLineTargets.length) {
environment.logger.warning(
'One or more targets specified did not match any build targets.',
Copy link
Member

Choose a reason for hiding this comment

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

It could be helpful to report at least one of the ones that didn't match, but I guess if folks are typing these in, there won't be so many that reporting all the ones that didn't match would be too much.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That seems reasonable and easy to do! Done.

@matanlurey matanlurey requested a review from zanderso October 10, 2024 18:00
@matanlurey matanlurey added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 10, 2024
@auto-submit auto-submit bot merged commit 035b991 into flutter:main Oct 10, 2024
30 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 10, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 10, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Oct 11, 2024
…156555)

flutter/engine@3ce72a2...3f0e2fb

2024-10-10 [email protected] Roll Fuchsia Linux SDK from xGr5ZkxX3CajAY1xu... to 1OZ2rHDklRNSZRUrc... (flutter/engine#55807)
2024-10-10 [email protected] Recognize`group`, and warn when we silently discard targets. (flutter/engine#55791)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from xGr5ZkxX3Caj to 1OZ2rHDklRNS

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] 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
nick9822 pushed a commit to nick9822/flutter that referenced this pull request Dec 18, 2024
…/engine#55791)

Closes flutter#156260.

Fixes the degenerate case where you specify an unrecognized target, and it falls back to rebuilding the entire engine as if you specified nothing. In addition, added recognition of `group`.
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.

et build over-builds even when fine-grained targets are provided

2 participants