)]}'
{
  "commit": "e70d250e32c557c85141c6cd978206aeee90e31f",
  "tree": "66786cc1dd6e9cff1d76be51fcdcc663343a5e51",
  "parents": [
    "2b9bbc8589390d07f3719f8e0049d28827283cdc"
  ],
  "author": {
    "name": "Ben Konyi",
    "email": "bkonyi@google.com",
    "time": "Thu Jul 23 01:01:08 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Jul 23 01:01:08 2026 +0000"
  },
  "message": "[flutter_tools] Bound Spotlight mdfind execution with timeout on macOS (#189461)\n\n## Description\n\nOn macOS, `AndroidStudio.allInstalled()` calls `mdfind` via `runSync` to\nlocate Android Studio installations outside standard locations. When\nSpotlight (`mds_stores`/`mdworker`) is unresponsive or re-indexing,\n`mdfind` hangs indefinitely and blocks `flutter doctor` and `flutter\ndaemon`.\n\nThis PR wraps `mdfind` in a shell execution with a 3-second process\ntimeout and killer subshell cleanup to prevent `flutter doctor` and\n`flutter daemon` from hanging indefinitely. If the query times out or\nfails, `_allMacOS` gracefully falls back to standard candidate paths.\n\nFixes https://github.com/flutter/flutter/issues/189177\n\n## Tests\n\n- Added `installation detection on MacOS gracefully handles unresponsive\nSpotlight query (issue #189177)` unit test in\n`packages/flutter_tools/test/general.shard/android/android_studio_test.dart`.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "312384ffb683d7eb4b95528afd820ee595f5965e",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/android/android_studio.dart",
      "new_id": "5d5ce6461f1cf1f7843a8a3b817119f2d2569836",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/android/android_studio.dart"
    },
    {
      "type": "modify",
      "old_id": "020727e1e778321d1dfbde3bc108447b7d74d929",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/android/android_studio_test.dart",
      "new_id": "e6c1ac58dabf49ab89ba315a59fe8428719ecb61",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/android/android_studio_test.dart"
    }
  ]
}
