Skip to content
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

Show a warning in the Dart Debug Extension when a user tries to debug a sharded Dart app #1462

Merged
merged 13 commits into from
Dec 10, 2021

Conversation

elliette
Copy link
Contributor

@elliette elliette commented Dec 7, 2021

When we detect that a Dart application is sharded, the Dart Debug Extension turns red. Clicking on it will open the following alert:
Screen Shot 2021-12-06 at 4 51 22 PM

Copy link
Contributor

@annagrin annagrin left a comment

Choose a reason for hiding this comment

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

Thanks Elliott!

To make sure we track the change in our published versions correctly, could you please:

  • add a test - maybe dwds/test/debug_extension_test.dartcan help?
  • add a CHANGELOG.md message
  • could you please update the version in pubspec.yaml to the new dev version (ie 11.5.1-dev)
  • run dart run build_runner build in dwds directory (using the latest dart, I normally use the latest dev but stable is ok too)

@elliette
Copy link
Contributor Author

elliette commented Dec 8, 2021

Everything should be updated now, thanks!

Copy link
Contributor

@annagrin annagrin left a comment

Choose a reason for hiding this comment

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

Looks great! Just a few minor comments...

dwds/CHANGELOG.md Outdated Show resolved Hide resolved
dwds/pubspec.yaml Outdated Show resolved Hide resolved
dwds/test/debug_extension_test.dart Outdated Show resolved Hide resolved
Copy link
Contributor

@annagrin annagrin left a comment

Choose a reason for hiding this comment

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

LGTM!

@elliette elliette merged commit cdb7fb4 into dart-lang:master Dec 10, 2021
@elliette elliette deleted the sharding-alert branch May 4, 2022 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants