)]}'
{
  "commit": "f157068c1bcac39caec6a43bfd495c40845cf542",
  "tree": "e8e5bf0eb6b7ee30562d2243e2a696ffb678a7a0",
  "parents": [
    "8ccb25c9a3d7c598b204d612763dc0192a01952c"
  ],
  "author": {
    "name": "Robert Findley",
    "email": "rfindley@google.com",
    "time": "Fri Jul 15 14:51:24 2022 -0400"
  },
  "committer": {
    "name": "Robert Findley",
    "email": "rfindley@google.com",
    "time": "Tue Jul 26 21:20:42 2022 +0000"
  },
  "message": "internal/lsp/regtest: allow sharing memoized results across regtests\n\nEach regtest does a significant amount of extra work re-doing things\nlike parsing and type-checking the runtime package. We can share this\nwork across regtests by using a shared cache, significantly speeding\nthem up at the cost of potentially hiding bugs related to timing.\n\nSharing this work still retains most of the benefit of the regtests, so\nimplement this in the default mode (formerly called \"singleton\" and now\nrenamed to \"default\"). In a subsequent CL, modes will be cleaned up so\nthat \"default\" is the only mode that runs with -short.\n\nMaking this change actually revealed a caching bug: our cached package\nstores error messages extracted from go/packages errors, but does not\ninclude these errors in the cache key. Fix this by hashing all metadata\nerrors into the package cache key.\n\nUpdates golang/go#39384\n\nChange-Id: I37ab9604149d34c9a79fc02b0e1bc23fcb17c454\nReviewed-on: https://go-review.googlesource.com/c/tools/+/417587\nTryBot-Result: Gopher Robot \u003cgobot@golang.org\u003e\ngopls-CI: kokoro \u003cnoreply+kokoro@google.com\u003e\nRun-TryBot: Robert Findley \u003crfindley@google.com\u003e\nReviewed-by: Bryan Mills \u003cbcmills@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7f0da83fb379a532a8047b1ba78ae5828e362a5e",
      "old_mode": 33188,
      "old_path": "gopls/internal/regtest/bench/bench_test.go",
      "new_id": "090a51cc9682afa1d0fbdab6e609b859293e829f",
      "new_mode": 33188,
      "new_path": "gopls/internal/regtest/bench/bench_test.go"
    },
    {
      "type": "modify",
      "old_id": "d01d44ed980511d5ce26a94c1a954b1ae1bb8d8d",
      "old_mode": 33188,
      "old_path": "gopls/internal/regtest/debug/debug_test.go",
      "new_id": "bae14802eef4f81823e3be288c2dd081b0c6b14a",
      "new_mode": 33188,
      "new_path": "gopls/internal/regtest/debug/debug_test.go"
    },
    {
      "type": "modify",
      "old_id": "9c9ad368cf35b4b5e98cad815bbe471fc81303c2",
      "old_mode": 33188,
      "old_path": "gopls/internal/regtest/diagnostics/diagnostics_test.go",
      "new_id": "ac5307e55342c1be1db0af876bd5bf747007c418",
      "new_mode": 33188,
      "new_path": "gopls/internal/regtest/diagnostics/diagnostics_test.go"
    },
    {
      "type": "modify",
      "old_id": "dca2b8e7514ac8bd2412caf5847e2696a4829800",
      "old_mode": 33188,
      "old_path": "gopls/internal/regtest/misc/semantictokens_test.go",
      "new_id": "4437d402d466b1d0882507b3cd32d1bf3d86786f",
      "new_mode": 33188,
      "new_path": "gopls/internal/regtest/misc/semantictokens_test.go"
    },
    {
      "type": "modify",
      "old_id": "4e02799b47aba9dabd870215bea3a071138f5573",
      "old_mode": 33188,
      "old_path": "gopls/internal/regtest/misc/vendor_test.go",
      "new_id": "b0f507aaf329a145931e7c747775ac5886243cd2",
      "new_mode": 33188,
      "new_path": "gopls/internal/regtest/misc/vendor_test.go"
    },
    {
      "type": "modify",
      "old_id": "c0bef833f443ee929c8cc6bf0bceaeb1e90587b7",
      "old_mode": 33188,
      "old_path": "gopls/internal/regtest/modfile/modfile_test.go",
      "new_id": "e6f76d4d5148e42b70c54b30b299c350dd689d0b",
      "new_mode": 33188,
      "new_path": "gopls/internal/regtest/modfile/modfile_test.go"
    },
    {
      "type": "modify",
      "old_id": "7eafaf191ddc36cae6fc4822dd8d25615613aec4",
      "old_mode": 33188,
      "old_path": "gopls/internal/regtest/workspace/workspace_test.go",
      "new_id": "e4a1c4b449455f709479d79700a9eb045e32eb7a",
      "new_mode": 33188,
      "new_path": "gopls/internal/regtest/workspace/workspace_test.go"
    },
    {
      "type": "modify",
      "old_id": "e7bf7085f885fe95861e3a4780009c6f57029eb1",
      "old_mode": 33188,
      "old_path": "gopls/internal/vulncheck/command_test.go",
      "new_id": "71eaf4a580faf3a38c3bc1b53654f5ac0f6bbbca",
      "new_mode": 33188,
      "new_path": "gopls/internal/vulncheck/command_test.go"
    },
    {
      "type": "modify",
      "old_id": "a59c8908d5ab4fc6f013c676c32e475ef90c1f0b",
      "old_mode": 33188,
      "old_path": "internal/lsp/cache/cache.go",
      "new_id": "c002850653b20731d55fcae20ad5f2b2203f20d4",
      "new_mode": 33188,
      "new_path": "internal/lsp/cache/cache.go"
    },
    {
      "type": "modify",
      "old_id": "4caf4ba6fa75dca7c6c0f40caae4337f2e000e7f",
      "old_mode": 33188,
      "old_path": "internal/lsp/cache/check.go",
      "new_id": "6c02d5348f86daae2e1196f6575596820e2c0771",
      "new_mode": 33188,
      "new_path": "internal/lsp/cache/check.go"
    },
    {
      "type": "modify",
      "old_id": "2374a528757ece300841f7fb18ecd46b4562a76a",
      "old_mode": 33188,
      "old_path": "internal/lsp/cache/session.go",
      "new_id": "a27efe334fd5e3e5856eccb7378baacf87e94600",
      "new_mode": 33188,
      "new_path": "internal/lsp/cache/session.go"
    },
    {
      "type": "modify",
      "old_id": "1d01b4bd0d7a7c5e5e9c3e829c0f994f1897a4f3",
      "old_mode": 33188,
      "old_path": "internal/lsp/cmd/capabilities_test.go",
      "new_id": "930621bf307ec7f0b3464e96818b1aeda1837f17",
      "new_mode": 33188,
      "new_path": "internal/lsp/cmd/capabilities_test.go"
    },
    {
      "type": "modify",
      "old_id": "a81eb839535574e60434de59143b098b96f5353a",
      "old_mode": 33188,
      "old_path": "internal/lsp/cmd/cmd.go",
      "new_id": "5911f97d1c13610a165aaaab7e119fd8428d68c8",
      "new_mode": 33188,
      "new_path": "internal/lsp/cmd/cmd.go"
    },
    {
      "type": "modify",
      "old_id": "1c229a422b4e98f0e6d158fbf0451656b838d206",
      "old_mode": 33188,
      "old_path": "internal/lsp/cmd/serve.go",
      "new_id": "10730fd89cdaea33df4a997654d9e8ed3a5014a8",
      "new_mode": 33188,
      "new_path": "internal/lsp/cmd/serve.go"
    },
    {
      "type": "modify",
      "old_id": "ff0461b333ffb2e01aff89f22faddac0b5ed4297",
      "old_mode": 33188,
      "old_path": "internal/lsp/cmd/test/cmdtest.go",
      "new_id": "5342e9b7fafc648405730665c1b8956075f5803f",
      "new_mode": 33188,
      "new_path": "internal/lsp/cmd/test/cmdtest.go"
    },
    {
      "type": "modify",
      "old_id": "8e0e628dfeacf4aeb7184269fdb867f0f5e16412",
      "old_mode": 33188,
      "old_path": "internal/lsp/lsp_test.go",
      "new_id": "53890dc616b5a45a17cebb6aa35268afe4a7b070",
      "new_mode": 33188,
      "new_path": "internal/lsp/lsp_test.go"
    },
    {
      "type": "modify",
      "old_id": "cde641c920ba6520eb405ce521325051e2174204",
      "old_mode": 33188,
      "old_path": "internal/lsp/lsprpc/lsprpc_test.go",
      "new_id": "498566d1bbd25fa761a0e79c06e47bbad0442652",
      "new_mode": 33188,
      "new_path": "internal/lsp/lsprpc/lsprpc_test.go"
    },
    {
      "type": "modify",
      "old_id": "09a182d16d723468ec2ece66376fd832291f1b51",
      "old_mode": 33188,
      "old_path": "internal/lsp/mod/mod_test.go",
      "new_id": "56af9860b9d3187edddd8f117f4e0bb6cc1841f5",
      "new_mode": 33188,
      "new_path": "internal/lsp/mod/mod_test.go"
    },
    {
      "type": "modify",
      "old_id": "9ebc673f8c0400f61fa9d7acf0c70f4eb7f0712b",
      "old_mode": 33188,
      "old_path": "internal/lsp/regtest/regtest.go",
      "new_id": "b3a543d531e6c9042360f5b9490f60b0b12057a6",
      "new_mode": 33188,
      "new_path": "internal/lsp/regtest/regtest.go"
    },
    {
      "type": "modify",
      "old_id": "b2992e99392fb56ab03e5cc6aa64b2a389027a55",
      "old_mode": 33188,
      "old_path": "internal/lsp/regtest/runner.go",
      "new_id": "6c96e61dbc6242936e972dfe0c13de1129512d60",
      "new_mode": 33188,
      "new_path": "internal/lsp/regtest/runner.go"
    },
    {
      "type": "modify",
      "old_id": "c670bdeb0b214fbf75abadc0d130ce59c22e8674",
      "old_mode": 33188,
      "old_path": "internal/lsp/source/source_test.go",
      "new_id": "5fdcc0f86ea62649bee27e150d62ce76264b9589",
      "new_mode": 33188,
      "new_path": "internal/lsp/source/source_test.go"
    },
    {
      "type": "modify",
      "old_id": "aa4d58d2f26f26aa84acbfe9beda829dffc2a8e4",
      "old_mode": 33188,
      "old_path": "internal/memoize/memoize.go",
      "new_id": "150c79af8528b673e45a34e55b8aa9a22a56f8a6",
      "new_mode": 33188,
      "new_path": "internal/memoize/memoize.go"
    }
  ]
}
