Await notifyForVmServiceConnection when opening a VM service connection (#10086)

* Await notifyForVmServiceConnection when opening a VM service connection

* Add release note for awaiting VM service connection notification
diff --git a/packages/devtools_app/lib/src/service/service_manager.dart b/packages/devtools_app/lib/src/service/service_manager.dart
index d135837..14f2b68 100644
--- a/packages/devtools_app/lib/src/service/service_manager.dart
+++ b/packages/devtools_app/lib/src/service/service_manager.dart
@@ -125,11 +125,9 @@
       serviceTrafficLogger = VmServiceTrafficLogger(service!);
     }
 
-    unawaited(
-      server.notifyForVmServiceConnection(
-        vmServiceUri: serviceManager.serviceUri!,
-        connected: true,
-      ),
+    await server.notifyForVmServiceConnection(
+      vmServiceUri: serviceManager.serviceUri!,
+      connected: true,
     );
   }
 
diff --git a/packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md b/packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md
index 338e629..d45d7ff 100644
--- a/packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md
+++ b/packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md
@@ -93,6 +93,10 @@
   or out-of-bounds symbolic links to prevent extensions from accessing arbitrary
   files outside the package root or build directory.
   [#10083](https://github.com/flutter/devtools/pull/10083)
+* Fixed a race condition when running DevTools from the CLI or standalone so
+  the connected app's package root is registered with the Dart Tooling Daemon
+  before available DevTools extensions are refreshed.
+  [#10086](https://github.com/flutter/devtools/pull/10086)
 
 ## Advanced developer mode updates