Skip to content

Conversation

@bkonyi
Copy link
Contributor

@bkonyi bkonyi commented Jan 12, 2023

This flag will allow for Observatory to be served by the VM service once it is disabled by default in the Dart SDK.

This flag will allow for Observatory to be served by the VM service once
it is disabled by default in the Dart SDK.
@flutter-dashboard flutter-dashboard bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Jan 12, 2023
@bkonyi
Copy link
Contributor Author

bkonyi commented Jan 12, 2023

Observatory won't be disabled by default until after the _serveObservatory RPC lands in the SDK and we've sent out a breaking change notice.

FYI @zanderso

return _testFile('flutter_gold', automatedTestsDirectory, flutterTestDirectory, exitCode: isZero);
});

testWithoutContext('flutter test should respect --serve-observatory', () async {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would any of these tests fail without your change, or would they all pass because the Dart SDK defaults to serving the observatory?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've written them in such a way that they should all pass now since Observatory is currently served by default, yes.

@bkonyi
Copy link
Contributor Author

bkonyi commented Jan 17, 2023

Friendly bump :)

@bkonyi
Copy link
Contributor Author

bkonyi commented Jan 23, 2023

Friendly bump

Copy link
Member

@zanderso zanderso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm w/ one last nit.

@bkonyi bkonyi changed the title Add --serve-observatory flag to run, attach, and test Add --serve-observatory flag to run, attach, and test Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants