)]}'
{
  "commit": "655fb0703cb81c72ef6a6734fc21b7c16ccb8ee0",
  "tree": "25dc4b353d8460f84ddbdf5c4c3ce5014ae656c1",
  "parents": [
    "0a420c7cdfbf43e84cd923205b9cc21347c50304"
  ],
  "author": {
    "name": "Hongxiang Jiang",
    "email": "hxjiang@golang.org",
    "time": "Wed Oct 29 16:07:38 2025 -0400"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Tue Nov 04 12:55:34 2025 -0800"
  },
  "message": "gopls/internal/filewatcher: synthesize events after watching a dir\n\nPreviously, file or subdirectory creations could be missed if they\noccurred after a directory was created but before the file watcher was\nregistered for it. This resulted in missed events for all subsequent\noperations within that subdirectory.\n\nThis change addresses this gap by performing a breadth-first scan of a\nnew directory immediately after the watch is established. The scan\niterates over the directory\u0027s entries, synthesizes `Create` events for\neach one.\n\nThe BFS(pre-order) make sure the synthesized events follow logical\norder: the parent dir creation events always preceds those of their\nchildren.\n\nThe root dir creation event and all synthesized `Create` are added to\nthe out atomically to make sure the out slice is always holding a\nlogically correct file events and ready to flush anytime.\n\nNote: file/dir creation events maybe duplicated, one captured by the\nscan, one captured by fsnotify but it is promised there is no miss.\n\nFor golang/go#74292\n\nChange-Id: Id9b63887d9a7fc83e608bf8390b2f7c198cfc160\nReviewed-on: https://go-review.googlesource.com/c/tools/+/716260\nReviewed-by: Robert Findley \u003crfindley@google.com\u003e\nAuto-Submit: Hongxiang Jiang \u003chxjiang@golang.org\u003e\nLUCI-TryBot-Result: Go LUCI \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e2bc066914de90611de51e0db7f920cafad4af7c",
      "old_mode": 33188,
      "old_path": "gopls/internal/filewatcher/filewatcher.go",
      "new_id": "b5188630c361fdc40569a9368bfd2cabb74fca95",
      "new_mode": 33188,
      "new_path": "gopls/internal/filewatcher/filewatcher.go"
    },
    {
      "type": "modify",
      "old_id": "d2398689117b9766575e49fa28f8febf65bec1a4",
      "old_mode": 33188,
      "old_path": "gopls/internal/filewatcher/filewatcher_test.go",
      "new_id": "7084d860b72bcff4d74f53541eb29b1c4ddfc4c8",
      "new_mode": 33188,
      "new_path": "gopls/internal/filewatcher/filewatcher_test.go"
    }
  ]
}
