)]}'
{
  "commit": "32644266fa4459a73db704dbd73561d25c554e39",
  "tree": "c02c679f91fc1ee074b8fd092fe609bbc7702537",
  "parents": [
    "fc011960a2b3260d49b64823b90fe292440c78ee"
  ],
  "author": {
    "name": "flutteractionsbot",
    "email": "154381524+flutteractionsbot@users.noreply.github.com",
    "time": "Fri Dec 06 16:04:51 2024 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Dec 06 16:04:51 2024 -0800"
  },
  "message": "[CP-beta][ tool ] Don\u0027t throw StateError when DDS fails to start (#159079)\n\nThis pull request is created by [automatic cherry pick\r\nworkflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request)\r\nPlease fill in the form below, and a flutter domain expert will evaluate\r\nthis cherry pick request.\r\n\r\n### Issue Link:\r\nWhat is the link to the issue this cherry-pick is addressing?\r\n\r\nhttps://github.com/flutter/flutter/issues/158537\r\n\r\n### Changelog Description:\r\nExplain this cherry pick in one line that is accessible to most Flutter\r\ndevelopers. See [best\r\npractices](https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md)\r\nfor examples\r\n\r\nAvoid rethrowing `DartDevelopmentServiceException`s as `StateError`s\r\nwhen the Dart Development Service fails to start due to the target\r\nshutting down.\r\n\r\n### Impact Description:\r\nWhat is the impact (ex. visual jank on Samsung phones, app crash, cannot\r\nship an iOS app)? Does it impact development (ex. flutter doctor crashes\r\nwhen Android Studio is installed), or the shipping production app (the\r\napp crashes on launch)\r\n\r\nCurrently one of the top tool crashers on the beta branch. The crash is\r\nharmless and shouldn\u0027t impact user workflows, but causes significant\r\nnoise.\r\n\r\n### Workaround:\r\nIs there a workaround for this issue?\r\n\r\nNo workaround available.\r\n\r\n### Risk:\r\nWhat is the risk level of this cherry-pick?\r\n\r\n  - [x] Low\r\n  - [ ] Medium\r\n  - [ ] High\r\n\r\n### Test Coverage:\r\nAre you confident that your fix is well-tested by automated tests?\r\n\r\n  - [x] Yes\r\n  - [ ] No\r\n\r\n### Validation Steps:\r\nWhat are the steps to validate that this fix works?\r\n\r\nHard to replicate the original issue consistently, but in theory: start\r\napplications and immediately shut them down before DDS can finish\r\nstarting.\r\n\r\nCo-authored-by: Ben Konyi \u003cbkonyi@google.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6a5ece2c29d88b6a47422daece2526d4eb2343c2",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/base/dds.dart",
      "new_id": "39cdd6716192d417c2c3761f13feb2e48104f60b",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/base/dds.dart"
    },
    {
      "type": "modify",
      "old_id": "d67264c16d7ac47f7b4f874213e4628cef54d5f4",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/resident_runner_test.dart",
      "new_id": "09e0088a5057f8298490f4cddd0e5cb5eb4e20ff",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/resident_runner_test.dart"
    }
  ]
}
