)]}'
{
  "commit": "406c05c7ce1ef708b451439c1fa6d04c04b1a93e",
  "tree": "a1e8ee2dd1248561a97966ee1ed370bd87f7ffac",
  "parents": [
    "1dbd132a4b6af3434b7af020edc4af98ff217467"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Mon Jun 17 23:42:23 2024 +0100"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Mon Jun 17 23:42:23 2024 +0100"
  },
  "message": "Add missing @UseLocalDisk annotation in BotLikeExtractorImplSpec\n\nThe BotLikeExtractorImplSpec test was missing the @UseLocalDisk\ntriggering the creation of a Gerrit site with an in-memory repository\nmanager.\n\nThe all analytics plugin assumes the repositories are stored on disk\ntherefore the text execution, if run as first test, was triggering\nthe creation of a static daemon that broke all assertions of having\na FileRepository.\n\nExample of a failure noticed on the CI:\n\njava.lang.IllegalStateException: Expected \u0027FileRepository\u0027, got com.google.gerrit.testing.InMemoryRepositoryManager$Repo\nat com.googlesource.gerrit.plugins.analytics.test.GerritTestDaemon$.getRepository(GerritTestDaemon.scala:166)\nat com.googlesource.gerrit.plugins.analytics.test.GerritTestDaemon.beforeEach(GerritTestDaemon.scala:77)\nat com.googlesource.gerrit.plugins.analytics.test.GerritTestDaemon.beforeEach$(GerritTestDaemon.scala:74)\nat com.googlesource.gerrit.plugins.analytics.test.CommitStatisticsSpec.beforeEach(CommitStatisticsSpec.scala:26)\n\nAdd the missing @UseLocalDisk annotation and make the analytics\ntests more resilient to tests execution order.\n\nChange-Id: Ia8801071b7fabfa17e8036f7b6eb3175d7cf555e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "83e38718571b2669b99c4bc5ee071b07833b7440",
      "old_mode": 33188,
      "old_path": "src/test/scala/com/googlesource/gerrit/plugins/analytics/common/BotLikeExtractorImplSpec.scala",
      "new_id": "0871b419d60fb69684c2d86f7bcedd70751cd92e",
      "new_mode": 33188,
      "new_path": "src/test/scala/com/googlesource/gerrit/plugins/analytics/common/BotLikeExtractorImplSpec.scala"
    }
  ]
}
