-
Notifications
You must be signed in to change notification settings - Fork 75
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
listviews_test.dart
is failing with vm_service
9.4.0
#1741
Comments
Looks like this might be related to https://dart-review.googlesource.com/c/sdk/+/257265? Adding @liamappelbe @bkonyi for context. This is the test that is failing: https://github.com/dart-lang/webdev/blob/master/dwds/test/listviews_test.dart Thanks! |
I wonder if changing final webdev/dwds/lib/src/dwds_vm_client.dart Line 46 in 490d6a0
and webdev/dwds/lib/src/dwds_vm_client.dart Line 46 in 490d6a0
to I believe this would also allow us to remove extra map creation on every VM service request here, which can be saving time: webdev/dwds/lib/src/dwds_vm_client.dart Line 58 in 490d6a0
|
Ignore my previous comment, the change suggested did not help. Found the reason for the test failure - we set the IsolateRef._fromJson(Map<String, dynamic> json) : super._fromJson(json) {
id = json['id'] ?? '';
number = json['number'] ?? '';
name = json['name'] ?? '';
isSystemIsolate = json['isSystemIsolate'] ?? false;
isolateGroupId = json['isolateGroupId'] ?? ''; // This line @bkonyi Is this intentional? This causes the isolate we return in webdev/dwds/lib/src/debugging/inspector.dart Line 125 in ef52eda
and/or webdev/dwds/lib/src/debugging/inspector.dart Line 141 in ef52eda
|
Yeah, I have a CL to change the codegen for toJson and _fromJson to be consistent: https://dart-review.googlesource.com/c/sdk/+/258100 |
Bug: dart-lang/webdev#1741 Change-Id: I86df5591c3b302e88f76a2f7031215df18bb1431 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/258100 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Liam Appelbe <liama@google.com>
Before
vm_service
was at9.3.0
, and the test was passing. Upgraded to9.4.0
:> vm_service 9.4.0 (was 9.3.0)
Running the test now fails:
The text was updated successfully, but these errors were encountered: