)]}'
{
  "commit": "a85dde7ccf512cdfb1307fa6d0f9c8a1abdc10cd",
  "tree": "522f32a4fdc4a02bd876c4d99dfcd49a42c16e57",
  "parents": [
    "1861b68e9695df1f592bd1b922888cdc120d1d7a"
  ],
  "author": {
    "name": "hellohuanlin",
    "email": "41930132+hellohuanlin@users.noreply.github.com",
    "time": "Mon Aug 10 08:36:48 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Aug 10 15:36:48 2026 +0000"
  },
  "message": "[camera]fix test flake due to expectation fulfilled before flag is toggled (#12400)\n\nThe flake is due to `completion` block (which fulfills the expectation) being called too early, before the flag to test is actually toggled \r\n\r\nIt flakes (rather than consistently fails) because we toggle the flag on capture session queue, while the test runs on main, resulting in a race.\r\n\r\nAlso audited all camera tests to check for similar bugs. \r\n\r\n*List which issues are fixed by this PR. You must list at least one issue.*\r\n\r\nFixes https://github.com/flutter/flutter/issues/189108\r\n\r\n## Pre-Review Checklist\r\n\r\n**Comment: No version bump since it\u0027s test only**\r\n\r\n**Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member\u0027s review for guidance on which automated comments should be addressed.\r\n\r\n[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f01da07aa12fc5a11382a7d8bea6cf09ef26013e",
      "old_mode": 33188,
      "old_path": "packages/camera/camera_avfoundation/darwin/Tests/CameraPluginDelegatingMethodTests.swift",
      "new_id": "37ee555dbaef2ad5d6eacf6e2347f49cc5668ba4",
      "new_mode": 33188,
      "new_path": "packages/camera/camera_avfoundation/darwin/Tests/CameraPluginDelegatingMethodTests.swift"
    }
  ]
}
