)]}'
{
  "commit": "1596cdd76486c928ed4f985e30d7b766a4c6815c",
  "tree": "dbba46c02c08874a8ed55b44f76cdf3b1baf64f1",
  "parents": [
    "7b0cdfd737db299bffbe1f79e61fa8cadb6382ba"
  ],
  "author": {
    "name": "Stefan VanBuren",
    "email": "svanburen@buf.build",
    "time": "Tue Feb 03 16:46:54 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Feb 03 16:46:54 2026"
  },
  "message": "Add tags to LSP diagnostics (#4311)\n\nAlso removes the diagnostic.Data from the new diagnostics, which AFAICS\nis unused; we can save ourselves the json marshaling.\n\nAs a part of this, added a first pass at adding tests for diagnostics;\nwe don\u0027t currently have any. These are a bit different because we\nhaven\u0027t implemented [PullDiagnostics][1] (we can add this, but we\u0027d need\na custom implementation, or wait until [go.lsp.dev upgrades to\n3.17][2]). Instead, we intercept the notifications from the\nserver. Lastly, since we don\u0027t actually want the tests to wait around,\nadds synctest and only runs the tests on Go 1.25 for now (1.26 should be\nreleased next month and we\u0027ll be able to upgrade to 1.25 as our\nminimum).\n\nThis is in preparation to eventually landing relatedInformation (other\nspans) in diagnostics, from bufbuild/protocompile#659.\n\nAlso pulls in the latest protocompile@main to bring in the new\ndeprecated tag.\n\n[1]: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_pullDiagnostics\n[2]: go-language-server/protocol#52",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e666d7f815790c66834721ffafe2d212eeb8b9b8",
      "old_mode": 33188,
      "old_path": "private/buf/buflsp/buflsp_test.go",
      "new_id": "4fe7484315b5c2981e033d510cc0f14bd7dc4b25",
      "new_mode": 33188,
      "new_path": "private/buf/buflsp/buflsp_test.go"
    },
    {
      "type": "modify",
      "old_id": "ee24272f7eb9b94e7a0e74d7e1c3c2e8652fcd56",
      "old_mode": 33188,
      "old_path": "private/buf/buflsp/diagnostic.go",
      "new_id": "feb8059dd8a9ed4cdb6ebb272825f58f1022a26d",
      "new_mode": 33188,
      "new_path": "private/buf/buflsp/diagnostic.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "041e503edca875d7a17badf72251add62a0798b5",
      "new_mode": 33188,
      "new_path": "private/buf/buflsp/diagnostics_test.go"
    },
    {
      "type": "modify",
      "old_id": "9eb950f1d9d52acc4b31ee39f9a1bc2da0c1028d",
      "old_mode": 33188,
      "old_path": "private/buf/buflsp/file.go",
      "new_id": "544689a83c3550ef26fc3b3b0803dd83212f3bcf",
      "new_mode": 33188,
      "new_path": "private/buf/buflsp/file.go"
    },
    {
      "type": "modify",
      "old_id": "f6a215d4ce6db9deee681c3e8eac41788c89cb61",
      "old_mode": 33188,
      "old_path": "private/buf/buflsp/symbol.go",
      "new_id": "c1e8f1403bfd555a7b2703b492ba272752323d0b",
      "new_mode": 33188,
      "new_path": "private/buf/buflsp/symbol.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6fc5e4bb7129a15e7394cf3d6412f44d3290a80a",
      "new_mode": 33188,
      "new_path": "private/buf/buflsp/testdata/diagnostics/buf.yaml"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0c8d8adf6673acf66e309702019348f3d795587e",
      "new_mode": 33188,
      "new_path": "private/buf/buflsp/testdata/diagnostics/syntax_error.proto"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a37777ae4865ae3fa94897892ba760ff6758326f",
      "new_mode": 33188,
      "new_path": "private/buf/buflsp/testdata/diagnostics/unused_import.proto"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "012a8c0f4291991c4933076afc655e628aee56f3",
      "new_mode": 33188,
      "new_path": "private/buf/buflsp/testdata/diagnostics/valid.proto"
    }
  ]
}
