Skip to content

Analyzer: Flaky results in IDE #47567

Closed
Closed
@btrautmann

Description

@btrautmann
  • Dart SDK Version (dart --version) Dart SDK version: 2.13.3 (stable) (Wed Jun 9 12:44:44 2021 +0200) on "macos_x64"
  • Whether you are using Windows, MacOSX, or Linux (if applicable) MacOS 11.6
  • Whether you are using Chrome, Safari, Firefox, Edge (if applicable) N/A

This issue is a follow-up to discussion occurring in #57588, starting with this comment.

During my attempts at developing a custom analyzer plugin, I've found the IDE feedback to be very flaky. I figured it was just my own implementation (even though it was mostly based off the same approach as string_literal_finder), but once I actually pulled down string_literal_finder and pointed to it from source, I saw similar results, shown below. You can find the source for my reproduction here.

Screen.Recording.2021-10-28.at.10.34.07.AM.mov

At the time the above was recorded, this was what analyzer diagnostics was telling me. Unfortunately I did not capture instrumentation logs (well I did, but have since restarted the analyzer server which wiped those logs out).

Screen Shot 2021-10-28 at 10 35 52 AM

Please let me know if I can provide any more helpful information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work ondevexp-pluginlegacy-area-analyzerUse area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions