Comments (13)
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.
From @jakemac53 over chat:
You will need the next version of analyzer (6.5.1, to be published soon)
from flutter.
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.
Published https://pub.dev/packages/analyzer/versions/6.5.1
from flutter.
(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.
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.
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.
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.
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.
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.
Can this issue be closed ?
Improvements to the process of making changes package:macros is being tracked in dart-lang/sdk#55870
from flutter.
This particular issue has been fixed, though the roll is blocked for new reasons.
from flutter.
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)
- Error occurs on real device when taking screenshot HOT 10
- [camerax] Level 1 Android devices can't do image analysis and image capture at the same time HOT 1
- [New Feature]Click on the widget to jump to the corresponding line of code in the IDE HOT 3
- GoRouter - Location cannot be empty. HOT 10
- [tool_crash] FileSystemException: Creation failed, OS Error: The system cannot find the file specified., errno = 2 HOT 2
- Sometimes the ColorScheme generated by ColorScheme.fromSeed has the same color for different color role HOT 2
- Error starting debug session in Xcode: Timed out waiting for CONFIGURATION_BUILD_DIR to update HOT 1
- Pigeon throws `TypeError` with `copyrightHeader` in `kotlinOptions` HOT 6
- MouseRegion for Touchscreens HOT 3
- [Method Channel][ActivityAware] global variable activity is null when it call in setmethodhandler and app is running in background HOT 2
- [image_picker] maxWidth and maxHeight setting do not work with images taken from a device camera in Portrait orientation HOT 1
- Failed build for Web app with Flutter 3.22.2 HOT 3
- [Android] Upgrading to minSdk 23, makes app size 2 times bigger with flutter build apk HOT 5
- TextFormField autofillHints generates error message on WEB HOT 2
- Support MaskFilter on Canvas.drawVertices. HOT 3
- App sometimes crashes if VoiceOver is enabled on iOS HOT 9
- Just another bug. HOT 3
- Context from navigation key is not equal to context from build method of a widget HOT 1
- Layout on the iOS profile and release mode happens with zero max size first and then the actual max size. HOT 2
- [camera_android_camerax] CameraController.stopVideoRecording fail when CameraController.value.isRecordingVideo == true HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.