Upgrade flutter candidate and DCM version (#10048)

* Upgrade flutter candidate and DCM version

* Fix test for new SDK version

* Update packages/devtools_app_shared/CHANGELOG.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update packages/devtools_app/lib/src/shared/diagnostics/variable_factory.dart

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* increase bundle size

* increase zip size too

* upgrade flutter

* Work around macOS dart:io posix_spawn hang in dt

Only forward dt's stdin to child processes when stdin is a terminal.

On CI, stdin is /dev/null. package:io's sharedStdIn reads it to EOF,
which makes dart:io close fd 0. With the posix_spawn-based macOS process
implementation (Dart SDK commit 0171629a5478), spawning children after fd 0
is closed breaks their stdio, so nested dt invocations (e.g. `dt pub-get`
under `dt generate-code`) hang forever waiting on a child that already
exited. This hung every macOS CI job with the new Flutter candidate.

See https://github.com/dart-lang/sdk/issues/64744.

* Fall back when DDS does not collect history for a stream

DDS only collects event history for a stream if the connected VM service
supports it. The web debug service has no Timer stream, so with the new
DDS implementation in the Dart SDK, `getStreamHistory('Timer')` fails with
an invalid params error. `DdsExtension.onEventWithHistory` calls
`getStreamHistory` when first listened to, and that error cannot be handled
by listeners, which broke the Logging view (and the live connection
integration test) for web apps.

Check whether history is collected for a stream before using the DDS history
stream, and fall back to the regular stream if not.

* change rpc order

* Upgrade to latest flutter sha

* Revert "Fall back when DDS does not collect history for a stream"

This reverts commit f33df2f39fff3ad629f0f4f188cbe6059f044076.

* Revert "Work around macOS dart:io posix_spawn hang in dt"

This reverts commit 82f52c3fa744fb7975408888b0054a3df5f2c617.

* Update pubspec.lock for new flutter candidate

* Revert "change rpc order"

This reverts commit 574a18acf57e8f6267e1933ae41cce6dee125304.

* Upgrade to latest dcm version

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
15 files changed
tree: 8e934830d5defa9f2d57b8e5fe3c7c46be4a591f
  1. .agents/
  2. .gemini/
  3. .github/
  4. .vscode/
  5. _markdown_images/
  6. docs/
  7. packages/
  8. third_party/
  9. tool/
  10. .gitattributes
  11. .gitignore
  12. AGENTS.md
  13. analysis_options.yaml
  14. AUTHORS
  15. BETA_TESTING.md
  16. CLAUDE.md
  17. CODE_OF_CONDUCT.md
  18. CODEOWNERS
  19. CONTRIBUTING.md
  20. DEBUGGING.md
  21. devtools_options.yaml
  22. DOCUMENTATION.md
  23. flutter-candidate.txt
  24. LICENSE
  25. pubspec.lock
  26. pubspec.yaml
  27. README.md
  28. STYLE.md
  29. TESTING.md
  30. TRIAGE.md
README.md

Dart & Flutter DevTools

Build Status OpenSSF Scorecard

What is this?

Dart & Flutter DevTools is a suite of performance tools for Dart and Flutter.

Getting started

For documentation on installing and trying out DevTools, please see our docs.

Contributing and development

Contributions welcome! See our contributing page for an overview of how to build and contribute to the project.

Terms and Privacy

By using Dart DevTools, you agree to the Google Terms of Service. To understand how we use data collected from this service, see the Google Privacy Policy.