)]}'
{
  "commit": "35cd15c8ea2a6e4c5c4ebec72a30eb77f2539ffc",
  "tree": "b03920cf8b94cdb1bc6c2a821ddacc03a6072be6",
  "parents": [
    "3353f8be496bc2c998aea8bad79260cc940fddb5"
  ],
  "author": {
    "name": "Ben Konyi",
    "email": "bkonyi@google.com",
    "time": "Mon Jun 01 12:07:04 2026 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Jun 01 16:07:04 2026 +0000"
  },
  "message": "[flutter_tools] Fix widget_preview unawaited async write race condition (#187177)\n\nThis PR resolves a deterministic race condition in\n`preview_detector_test_utils.dart`. The test helper `changeOperation`\ncallback is converted to support and properly `await` `FutureOr\u003cvoid\u003e`,\nensuring asynchronous package-configuration writes are fully completed\nbefore `tearDown` deletes the temporary workspace directories. This\nresolves flakiness and unhandled exceptions under high load in both\nLinux and Mac shards.\n\nFixes https://github.com/flutter/flutter/issues/186136",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b5b3f64dd19f90e81fc1cea705747b6125e57574",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/commands.shard/hermetic/widget_preview/preview_code_generator_test.dart",
      "new_id": "7853e68e9b40d6f1053b53ab44e4972a4b4c3779",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/commands.shard/hermetic/widget_preview/preview_code_generator_test.dart"
    },
    {
      "type": "modify",
      "old_id": "3b682ac48030800be2ef9761c9f834bd960badf7",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/commands.shard/hermetic/widget_preview/utils/preview_detector_test_utils.dart",
      "new_id": "59e1fe8b01c2b332c6d804fbcf17d4e3768d21a4",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/commands.shard/hermetic/widget_preview/utils/preview_detector_test_utils.dart"
    }
  ]
}
