1. 12 Dec, 2023 1 commit
    • Christopher Fujino's avatar
      [flutter_tools] catch SocketException writing to ios-deploy stdin (#139784) · fac41dde
      Christopher Fujino authored
      Fixes https://github.com/flutter/flutter/issues/139709
      
      This adds a static helper method `ProcessUtils.writelnToStdinGuarded()`, which will asynchronously write to a sub-process's STDIN `IOSink` and catch errors.
      
      In talking with Brian, it sounds like this is the best and most reliable way to catch `SocketException`s during these writes *to sub-process file descriptors* specifically (with a "real" hard drive file, the future returned by `.flush()` should complete with the write error).
      
      Also, as I note in the dartdoc to `writelnToStdinGuarded()`, the behavior seems to be different between macOS and linux.
      
      Moving forward, in any place where we want to catch exceptions writing to STDIN, we will want to use this new helper.
      fac41dde
  2. 05 Sep, 2023 1 commit
  3. 07 Jul, 2023 1 commit
  4. 26 May, 2023 1 commit
  5. 24 May, 2023 1 commit
  6. 23 May, 2023 2 commits
  7. 19 May, 2023 1 commit
  8. 15 May, 2023 1 commit
  9. 15 Mar, 2023 1 commit
  10. 06 Feb, 2023 1 commit
  11. 26 Jul, 2022 1 commit
  12. 07 May, 2022 2 commits
  13. 12 Apr, 2022 3 commits
  14. 17 Mar, 2022 1 commit
  15. 25 Feb, 2022 1 commit
  16. 16 Feb, 2022 1 commit
  17. 15 Feb, 2022 1 commit
    • Ben Konyi's avatar
      Update flutter_tools to look for new VM service message (#97683) · 2a2f9731
      Ben Konyi authored
      * Update flutter_tools to look for new VM service message
      
      The Dart SDK will soon move away from the current Observatory message:
      
      "Observatory listening on ..."
      
      To a new message that no longer references Observatory:
      
      "Dart VM Service listening on ..."
      
      This change updates all tests with mocks to check for the new message
      and also adds support for the new message in ProtocolDiscovery.
      
      See https://github.com/dart-lang/sdk/issues/46756
      
      * Fix some parsing locations
      
      * Fix analysis failures
      
      * Update message
      
      * Remove extra comment
      
      * Update message
      
      * Add globals prefix
      2a2f9731
  18. 10 Sep, 2021 1 commit
  19. 16 Aug, 2021 1 commit
  20. 23 Apr, 2021 1 commit
  21. 10 Mar, 2021 1 commit
  22. 08 Feb, 2021 1 commit
  23. 04 Feb, 2021 1 commit
    • Jonah Williams's avatar
      [flutter_tools] move process manager into tool (#75350) · 8b6baae4
      Jonah Williams authored
      Our current top crasher is an unclear error when ProcessManager fails to resolve an executable path. To fix this, we'd like to being adjusting the process resolution logic and adding more instrumentation to track failures. In order to begin the process, the ProcessManager has been folded back into the flutter tool
      8b6baae4
  24. 27 Jan, 2021 1 commit
  25. 23 Oct, 2020 1 commit
  26. 16 Oct, 2020 1 commit
  27. 14 Oct, 2020 1 commit
  28. 13 Oct, 2020 1 commit
  29. 12 Oct, 2020 4 commits
  30. 23 Sep, 2020 1 commit
  31. 22 Sep, 2020 3 commits