)]}'
{
  "commit": "6ef25fc47589221534fe3174e822b9723db458ac",
  "tree": "de62d0639f7b61e1734eb11c8d0a9e2c2b572be3",
  "parents": [
    "f41f94b50642e7b63bf849324538ec09e26f7c69"
  ],
  "author": {
    "name": "Ben Konyi",
    "email": "bkonyi@google.com",
    "time": "Tue Aug 18 20:09:54 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Aug 18 20:09:54 2026 +0000"
  },
  "message": "[flutter_tools] Gracefully handle ping timeouts for custom devices (#191181)\n\nWhen polling custom devices, if a ping command times out,\n`_processUtils.run` throws a `ProcessException` which was previously\nunhandled in `CustomDevice.tryPing`. This caused unhandled exceptions to\nescape `PollingDeviceDiscovery`\u0027s periodic timer and crash the Flutter\ntool.\n\nThis PR catches `ProcessException` in `CustomDevice.tryPing`, logs the\nerror, and returns `false` to mark the device unreachable without\ncrashing the CLI.\n\nFixes https://github.com/flutter/flutter/issues/191177\n\n## Pre-launch Checklist\n\n- [x] I read the [Contributor Guide] and followed the process outlined\nthere for submitting PRs.\n- [x] I read the [AI contribution guidelines] and understand my\nresponsibilities, or I am not using AI tools.\n- [x] I read the [Tree Hygiene] wiki page, which explains my\nresponsibilities.\n- [x] I read and followed the [Flutter Style Guide], including [Features\nwe expect every widget to implement].\n- [x] I signed the [CLA].\n- [x] I listed at least one issue that this PR fixes in the description\nabove.\n- [x] I updated/added relevant documentation (doc comments with `///`).\n- [x] I added new tests to check the change I am making, or this PR is\n[test-exempt].\n- [x] I followed the [breaking change policy] and added [Data Driven\nFixes] where supported.\n- [x] All existing and new tests are passing.\n\n\u003c!-- Links --\u003e\n[Contributor Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview\n[AI contribution guidelines]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines\n[Tree Hygiene]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md\n[test-exempt]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests\n[Flutter Style Guide]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md\n[Features we expect every widget to implement]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement\n[CLA]: https://cla.developers.google.com/\n[flutter/tests]: https://github.com/flutter/tests\n[breaking change policy]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes\n[Discord]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md\n[Data Driven Fixes]:\nhttps://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "55e70bf42a030d34c9fc96603c6deb8c462ea843",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/custom_devices/custom_device.dart",
      "new_id": "7da639810028956fc24baee30f0df68406334b87",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/custom_devices/custom_device.dart"
    },
    {
      "type": "modify",
      "old_id": "51790a14af8e8410709eec8cc9a4b2128691abcb",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/custom_devices/custom_device_test.dart",
      "new_id": "18c652f1596ad6e3930ffc1904d6ceb78a330711",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/custom_devices/custom_device_test.dart"
    }
  ]
}
