-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[vector_graphics_compiler] fix a renamed method parameter lint #8070
Conversation
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. |
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.
Change LGTM
I think we would normally bump the version and do a bugfix release for this to avoid accumulating lots of unpublished changes? @stuartmorgan
test-exempt: Lint compliance to be tested by said lint. |
@jonahwilliams (or @stuartmorgan): in order to update what gets analyzed on the Dart SDK flutter-analyze try-bots, does a new version need to get vended in or does it grab package source at HEAD? |
We bend the interpretation of the "PRs that only affect local development of the package (e.g., changes to ignored lints)." version exemption sometimes to include cases where technically what is changing is actually code, but it's very obvious that it isn't changing behavior. I'm fine with that in this case.
It's analyzing repo source, not published source. |
Depends on where the analysis is failing. if its in the framework repo then it may be getting pulled in via pub, so we'd need to both publish and update deps. If its in the packages repo then it doesn't matter if its published. |
The upstream analysis (both flutter/fluter and Dart-level) are source-based. flutter/flutter uses a pinned version that is auto-rolled. I forget what the Dart variant does about the exact version, but it's repo source. |
Here's the bot failure: https://ci.chromium.org/ui/p/dart/builders/try/flutter-analyze-try/24085/overview I can't tell from the output where the source is coming from but hoping we don't need to publish.
EDIT: phew! |
Hmmm, looks like this caused a breakage after all: (On the Flutter HHH bot). @stuartmorgan, @jonahwilliams: Will this get fixed by an auto-roll? |
Assuming that's the flutter/flutter test, https://autoroll.skia.org/r/flutter-packages-flutter-autoroll is the relevant auto-roller. |
Cool, thanks. Is there a good place for me to communicate that help is on the way? |
Sorry, I'm not sure what you are asking. Communicate to whom, and about what help? If a Dart-team-maintained tree is broken, I'm not familiar with the process for managing that. |
Sorry, my question wasn't really well-posed. I'm trying to figure out the reach of the inconvenience and let impacted folks know this should get fixed w/ the auto-roll. I'll do some more poking but if this is just affecting a Dart-team-maintained tree, that's good and I'll communicate w/ Dart folks. Thanks! |
@pq This is currently one of the things blocking the Flutter roll into google3, since it's causing the engine to flutter roller to fail, and that's blocking a needed Dart compiler fix from getting into the flutter repo. It looks like the flutter-packages-flutter-autoroll is blocked on some infra problems on macOS. Once that's resolved, I suspect things will all iron out, I just wanted to let you know about the pileup. |
Thanks @gspencergoog! If we need to push this through before the auto-roll is unblocked, we could consider disabling |
flutter/packages@72356fd...26e123a 2024-11-13 [email protected] [camera_windows] Set device media type for video preview explicitly (flutter/packages#7447) 2024-11-13 [email protected] [go_router] Add support for relative routes (flutter/packages#6825) 2024-11-13 [email protected] [vector_graphics_compiler] fix a renamed method parameter lint (flutter/packages#8070) 2024-11-12 [email protected] [in_app_purchase] Add expiration date to Transaction (flutter/packages#8030) 2024-11-12 [email protected] [various] Clean up contributing guides (flutter/packages#8032) 2024-11-12 [email protected] [ci] Remove web renderer option from tools. (flutter/packages#8055) 2024-11-12 [email protected] [url_launcher] Update Pigeon version for Linux (flutter/packages#8065) 2024-11-12 [email protected] [go_router] Add support for preloading branches of StatefulShellRoute (revised solution) (flutter/packages#6467) 2024-11-12 [email protected] [pigeon] Make Linux type declarations public (flutter/packages#8040) 2024-11-11 [email protected] Roll Flutter from 73546b3 to c8510f2 (30 revisions) (flutter/packages#8042) 2024-11-11 [email protected] Use dependabot multi-directory configuration for Android package updates (flutter/packages#8048) 2024-11-11 [email protected] [tools] Run `pub get` before `format` (flutter/packages#8052) 2024-11-11 [email protected] [file_selector] Fix Linux cancel regression (flutter/packages#8051) 2024-11-09 [email protected] [shared_preferences] Fix confusing language in README (flutter/packages#8049) 2024-11-08 [email protected] Use dependabot multi-directory configuration for Android example gradle updates (flutter/packages#8036) 2024-11-08 [email protected] [animations] Remove `.flutter-plugins` reference from example app (flutter/packages#8002) 2024-11-08 [email protected] Group dependabot github-action update PRs, delete dead docker updates (flutter/packages#8044) 2024-11-08 [email protected] [vector_graphics_compiler] fix-null-exception (flutter/packages#8006) 2024-11-08 [email protected] [tools] Format Dart per-package (flutter/packages#8043) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [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
Seems like the packages roll made it through, so one less thing in the way. :-) |
Woohoo! Thanks! |
An upcoming fix to
avoid_renaming_method_parameters
will flag this rename.(I updated the base class since that seems more correct.)
For references, here's the fix in flight: https://dart-review.googlesource.com/c/sdk/+/394662
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style, or this PR is exempt from CHANGELOG changes.///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.