)]}'
{
  "commit": "53826a8660f66b1a344742628207ddfd2d2ba6db",
  "tree": "7d13e57a6179697b68d2ea71aaebfaee41ef04b7",
  "parents": [
    "3b3100c2e7d9f25d459ebbc69ae015d7a7455d36"
  ],
  "author": {
    "name": "Rob Findley",
    "email": "rfindley@google.com",
    "time": "Fri Jun 27 19:02:13 2025 +0000"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Tue Jul 01 06:56:43 2025 -0700"
  },
  "message": "internal/test/integration/workspace: fix TestUseGoWork\n\nFix a tricky race in TestUseGoWork, where a view recalculation causes\ndiagnostics in modb/go.mod to be cleared.\n\nPrior to CL 675016, we\u0027d expect a diagnostic in modb/go.mod because it\nhad an open file, and so zero config would cause it to be diagnosed.\nSubsequent to CL 675016, there is no file, so the diagnostic should be\ncleared, but because we *weren\u0027t* guarding the assertion in an\n\u0027AfterChange\u0027 (for obsolete historical reasons, I think), the \u0027Await\u0027\nexpression was immediately satisfied except in the rare cases when the\nrediagnosis won the race. This is one of the reasons why an unguarded\n\u0027Await\u0027 is almost always problematic, not least because its failure mode\nis to just hang.\n\nInvert the sense of the assertion, and guard the problematic await (and\nothers) in this test.\n\nFixes golang/go#74165\n\nChange-Id: Ie5b9ab6b87ded41afe68830136196ef3588422a7\nReviewed-on: https://go-review.googlesource.com/c/tools/+/684656\nLUCI-TryBot-Result: Go LUCI \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nAuto-Submit: Robert Findley \u003crfindley@google.com\u003e\nReviewed-by: Alan Donovan \u003cadonovan@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a00db4495c2ffbac754870de00c9f6b6a2526387",
      "old_mode": 33188,
      "old_path": "gopls/internal/test/integration/workspace/workspace_test.go",
      "new_id": "2d3eaebf1c371fc037477b844edd2a6db4f1b94d",
      "new_mode": 33188,
      "new_path": "gopls/internal/test/integration/workspace/workspace_test.go"
    }
  ]
}
