)]}'
{
  "commit": "ac6b6441f65fa160c1a3d2e9b31277e747c96a32",
  "tree": "340b921508eba906823c28740b2010733d108c13",
  "parents": [
    "19bb4125a7eb155a51143046a8501b40702aa650"
  ],
  "author": {
    "name": "Serge Bazanski",
    "email": "serge@nexantic.com",
    "time": "Wed May 06 19:13:43 2020 +0200"
  },
  "committer": {
    "name": "Serge Bazanski",
    "email": "serge@nexantic.com",
    "time": "Wed May 06 19:13:43 2020 +0200"
  },
  "message": "core/internal/common/supervisor: deflake\n\nWe fix several flaky tests in the supervisor framework, and one bug in the\nsupervisor itself.\n\nTests are deflaked by depending less on tight timing and instead on a\n\u0027settled\u0027 state of the supervisor, which is basically a wait to join the\nsupervisor when it\u0027s done with whatever work it\u0027s currently taking care\nof.\n\nAnother flake, TestBackoff, is fixed by widening the allowed restart\ntime.\n\nFinally, we fix a bug in the supervisor that caused it to spuriously\nrestart children when it would schedule them when their future parents\ncontext was canceled.\n\nFinally, we make some log messages less verbose.\n\nTest Plan: Covered by existing tests that are now less flaky. This was tested with bazel test --runs_per_test\u003d100 to not flake anymore.\n\nX-Origin-Diff: phab/D495\nGitOrigin-RevId: f92f7368708c54c59644d3e7dca03b2b5692c30a\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c72ef04052d70ef3f3ce9bed1ccee23beb0b8aaf",
      "old_mode": 33188,
      "old_path": "core/internal/common/supervisor/BUILD.bazel",
      "new_id": "ca8b5131d9b978164cd5055def5925959330ddc1",
      "new_mode": 33188,
      "new_path": "core/internal/common/supervisor/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "e839d0ac6f2c550808f2c141712022e217fef94c",
      "old_mode": 33188,
      "old_path": "core/internal/common/supervisor/supervisor.go",
      "new_id": "db4489e0f942e1c5d8ba7e075ea2801d266c9548",
      "new_mode": 33188,
      "new_path": "core/internal/common/supervisor/supervisor.go"
    },
    {
      "type": "modify",
      "old_id": "3fcaef7db23071a77a106d1d0b55baa75c38f4aa",
      "old_mode": 33188,
      "old_path": "core/internal/common/supervisor/supervisor_processor.go",
      "new_id": "f28389822016db1098698c840632a49116f48b53",
      "new_mode": 33188,
      "new_path": "core/internal/common/supervisor/supervisor_processor.go"
    },
    {
      "type": "modify",
      "old_id": "6a9bf421c2b1cf23420c3cfc02a4e3eed12af45c",
      "old_mode": 33188,
      "old_path": "core/internal/common/supervisor/supervisor_test.go",
      "new_id": "9a190c907524d2ee086ab061592356b4c142406d",
      "new_mode": 33188,
      "new_path": "core/internal/common/supervisor/supervisor_test.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "771e02fefc52a42292e883df72be832445137f14",
      "new_mode": 33188,
      "new_path": "core/internal/common/supervisor/supervisor_testhelpers.go"
    }
  ]
}
