Giter VIP home page Giter VIP logo

Comments (13)

zanderso avatar zanderso commented on July 20, 2024

Previously: #148004

cc @christopherfujino @jakemac53 @scheglov @gspencergoog

Handling this by reverting the Dart SDK and stopping Dart -> Engine rolls so that the Engine -> Framework rolls do not remain blocked over the whole long weekend.

from flutter.

zanderso avatar zanderso commented on July 20, 2024

From @jakemac53 over chat:

You will need the next version of analyzer (6.5.1, to be published soon)

from flutter.

jakemac53 avatar jakemac53 commented on July 20, 2024

Correct, for the next engine -> flutter roll to succeed (once it includes dart-lang/sdk@77490aa), there will need to be an atomic roll of analyzer from 6.5.0 to 6.5.1.

We would not need an atomic update here if we can instead do a version constraint such as >=6.5.0 <6.5.2 on the analyzer in flutter/flutter packages.

The reason for this is analyzer implements APIs which come from an SDK vendored package (package:_macros ultimately), and a new method was added to a class that the analyzer implements. It has dependency constraints to guarantee compatibility, but since it is pinned the version has to be explicitly updated when the Dart SDK is updated.

from flutter.

scheglov avatar scheglov commented on July 20, 2024

Published https://pub.dev/packages/analyzer/versions/6.5.1

from flutter.

goderbauer avatar goderbauer commented on July 20, 2024

(triage) @eyebrowsoffire I believe you're the engine sheriff. Could you bump the version of the analyzer to 6.5.1 with the next engine roll?

from flutter.

zanderso avatar zanderso commented on July 20, 2024

Dart with the breaking change has to be rolled into the engine first, then the analyzer version bump has to land in a manual roll at the same time as rolling the engine with the new Dart version.

from flutter.

eyebrowsoffire avatar eyebrowsoffire commented on July 20, 2024

I'm on it. We had other breakages blocking the roll yesterday, but I think we should be able to get this through today.

from flutter.

jakemac53 avatar jakemac53 commented on July 20, 2024

Note that there was an accidental change that landed in that version, which requires another breaking change to roll back, so this will happen again soon.... apologies.

I could likely land things today, if you want to wait a bit longer and do a single roll.

from flutter.

srawlins avatar srawlins commented on July 20, 2024

It sounds like we need a system for making changes to package:macros that allows automatic engine rolls. And the current system does not allow that, is that right?

I want to let everyone focus on fixing today's immediate issue here, and I've opened a separate issue for what to do moving forward: dart-lang/sdk#55870

from flutter.

zanderso avatar zanderso commented on July 20, 2024

In #149263, rolling the framework packages forward to pick up the new analyzer has also brought in what look like new versions of plugins for some integration tests which are now failing on CI, as in:

https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64%20build_tests_1_4/7440/overview

We should decouple the plugin updates from the analyzer package updates.

from flutter.

a-siva avatar a-siva commented on July 20, 2024

Can this issue be closed ?
Improvements to the process of making changes package:macros is being tracked in dart-lang/sdk#55870

from flutter.

jonahwilliams avatar jonahwilliams commented on July 20, 2024

This particular issue has been fixed, though the roll is blocked for new reasons.

from flutter.

a-siva avatar a-siva commented on July 20, 2024

This particular issue has been fixed, though the roll is blocked for new reasons.

I presume you are referring to the dart2wasm compilation errors issues, it being tracked in #149600

from flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.