)]}'
{
  "commit": "c72bd32b3788b3a44c837a38732a317f65da2e71",
  "tree": "1f32487d21321588e095b0bff41a0a0e10279151",
  "parents": [
    "d78122fad75054cafa9e7f155207b1ffa5268d08"
  ],
  "author": {
    "name": "Matt Boetger",
    "email": "matt.boetger@gmail.com",
    "time": "Wed Jul 22 23:15:19 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Jul 22 23:15:19 2026 +0000"
  },
  "message": "Listen to log reader before VM Service and make delay configurable (#187202)\n\n- Listen to device log reader before VM Service connection in both\n`flutter drive` and `flutter run` (Resident Runner) to ensure logs are\ncaptured even if startup fails.\n- Wrap VM Service connection in a try-catch and apply a configurable log\nflush delay (default 500ms) to allow buffered logs to arrive before\nrethrowing.\n- Make the delay configurable (`logFlushDelay`) in\n`FlutterDriverService` and `FlutterDevice`, defaulting to\n`Duration.zero` in tests to keep them fast.\n- Add tests in `resident_runner_test.dart` and update\n`drive_service_test.dart` to verify the behavior.\n\nFixes: #162087\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---------\n\nCo-authored-by: gemini-code-assist[bot] \u003c176961590+gemini-code-assist[bot]@users.noreply.github.com\u003e\nCo-authored-by: Ben Konyi \u003cbkonyi@google.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b1d546123a08c3daf814c945101a3a3f35ba6b66",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/drive/drive_service.dart",
      "new_id": "8f519d549d74f150897b876b13da93470ad95400",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/drive/drive_service.dart"
    },
    {
      "type": "modify",
      "old_id": "fb85b532ef58834c9727e59f5f79f63e78fdd1b7",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/resident_runner.dart",
      "new_id": "12d366f9f066c30ca7cda65c107964d704411b7d",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/resident_runner.dart"
    },
    {
      "type": "modify",
      "old_id": "11b393ce2661eb7946e5c8731081d9f0516a84c5",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/drive/drive_service_test.dart",
      "new_id": "594773bebdf9f926d7872acad9a533d0627cd9e9",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/drive/drive_service_test.dart"
    },
    {
      "type": "modify",
      "old_id": "452311ebb90867ec0bee54a47cac67304611015c",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/resident_runner_helpers.dart",
      "new_id": "21aa7c7090044d68d2c856427c39ecfe0fd23fa0",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/resident_runner_helpers.dart"
    },
    {
      "type": "modify",
      "old_id": "236ea20b5566b1657df7ac3244e11eb3f43483cc",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/resident_runner_test.dart",
      "new_id": "1564f472becb19c5fd349e91cd2b9540838ce932",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/resident_runner_test.dart"
    }
  ]
}
