)]}'
{
  "commit": "036adc105361b1169b871cebfee6f6f1792a5be3",
  "tree": "9736648110091dd3f3347e00487cf3222117daf3",
  "parents": [
    "71604fc4d6ded9c038397c6d0f40e5150727e061"
  ],
  "author": {
    "name": "Jake Bailey",
    "email": "jacob.b.bailey@gmail.com",
    "time": "Sun Jun 28 15:42:17 2026 -0700"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Tue Jun 30 10:09:48 2026 -0700"
  },
  "message": "gopls/internal/cache: detect testmain without GOCACHE\n\nIf someone has a GOCACHEPROG, that GOCACHEPROG may place files outside\nof GOCACHE (since reasonably, an outside tool should not put stuff in\nGOCACHE; that\u0027s Go\u0027s domain).\n\nBut, isTestMain detected generated testmain files by looking for them\ninside GOCACHE, leading to odd errors like:\n\n    could not import testing/internal/testdeps (invalid use of internal package \"testing/internal/testdeps\")\n\nRather than checking GOCACHE, check and see if the loaded files are just\noutside pkg.Dir. In my testing, I was seeing:\n\n    pkg.Dir\u003d\"/home/jake/work/TypeScript-go/internal/parser\"\n    GoFiles\u003d[\"/home/jake/.cache/gocachez/v1/live/run-1630688891/0da230d43268bd7a7351aefd6900d761eed9c58cd4791093b331b16b6a3bce12-2791091722\"]\n\nWhich I think is enough of a signal to also be reliable.\n\nChange-Id: I563c10d4ef6dccbfe1cd0ffd5bbd49092b03adfc\nReviewed-on: https://go-review.googlesource.com/c/tools/+/795221\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nReviewed-by: Junyang Shao \u003cshaojunyang@google.com\u003e\nAuto-Submit: Alan Donovan \u003cadonovan@google.com\u003e\nReviewed-by: Alan Donovan \u003cadonovan@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "da8326125ee0e7cbfdde62d932ea093244403881",
      "old_mode": 33188,
      "old_path": "gopls/internal/cache/load.go",
      "new_id": "721be70f354b95328f4cd83ab805cd9a9e98503d",
      "new_mode": 33188,
      "new_path": "gopls/internal/cache/load.go"
    }
  ]
}
