Skip to content

add appName field to DartDevelopmentServiceConfiguration#2811

Merged
jakemac53 merged 11 commits intomainfrom
app-name-dtd
Apr 8, 2026
Merged

add appName field to DartDevelopmentServiceConfiguration#2811
jakemac53 merged 11 commits intomainfrom
app-name-dtd

Conversation

@jakemac53
Copy link
Copy Markdown
Contributor

@jakemac53 jakemac53 commented Apr 3, 2026

These app names are ultimately passed to DartDevelopmentServiceLauncher.start, which forwards them along when registering the VmService to DTD. There is a default of Unknown web app when this configuration is missing, which at least provides some information to clients, even if an explicit app name is not passed, we know it is some web application.

Ultimately, this means that when agents (or tools) connect to a DTD instance and list the applications, they have a description of what the app actually is.

This will be used by flutter web and webdev, to report information about the running application for use by DTD clients.

The DDS version has also been increased, as that is required for the new appName parameter.

Note: I did initially include the webdev implementation bits but stripped them out due to the dwds move into the SDK, we should wait to land that until a new version of dwds is published to avoid needing dependency overrides.

@jakemac53 jakemac53 changed the title add appName field to DartDevelopmentServiceConfiguration and pass one from webdev add appName field to DartDevelopmentServiceConfiguration Apr 3, 2026
@github-actions github-actions bot added the type-infra A repository infrastructure change or enhancement label Apr 6, 2026
Copy link
Copy Markdown
Contributor

@jyameo jyameo left a comment

Choose a reason for hiding this comment

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

Overall lgtm once the channel question is answered. However, I'd like a second pair of eyes to be sure everything is correct. I have added @bkonyi for a second review.

@jyameo jyameo requested a review from bkonyi April 8, 2026 15:27
Copy link
Copy Markdown
Collaborator

@bkonyi bkonyi left a comment

Choose a reason for hiding this comment

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

LGTM overall!

Copy link
Copy Markdown
Contributor

@jyameo jyameo left a comment

Choose a reason for hiding this comment

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

lgtm!

@jakemac53 jakemac53 merged commit 66eb10e into main Apr 8, 2026
50 checks passed
@jakemac53 jakemac53 deleted the app-name-dtd branch April 8, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package:dwds type-infra A repository infrastructure change or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants