)]}'
{
  "commit": "cf200ae233ca23b8586e5d94d60eb665356193ba",
  "tree": "50a36ed7abdd9cfb92c5a9bb99bf1ce62be6396c",
  "parents": [
    "93784b0c540010462289193fffcfb3fd1b725d6f"
  ],
  "author": {
    "name": "sushantsusan",
    "email": "sushantsusan@google.com",
    "time": "Thu Jul 23 23:26:25 2026"
  },
  "committer": {
    "name": "sushantsusan",
    "email": "sushantsusan@google.com",
    "time": "Thu Jul 23 23:26:25 2026"
  },
  "message": "refactor(bigtable): address igor nits on Session debug surface\n\nSix nits from the igor-reviewer-agent review of PR #20211:\n\n- Introduce typed const SessionEventKind (close/hb-missed/hb-alive/\n  ctx-done/retry) so writers landing in the follow-up vRPC and lifecycle\n  PRs can\u0027t drift on the string literal.\n- Replace the O(N) copy-shift in recordEvent with a wrap-index scheme\n  matching latencySamples\u0027 existing pattern (eventsNext cursor).\n- peerInfoSummary: %x → %d for AfeID and gfe — the rest of the pkg\n  renders these as decimal.\n- setChannelIndex: unexport (writer is package-internal) and take\n  int32 directly instead of silently narrowing from int.\n- sessionDebug.init: take *sessionTracer instead of SessionType so the\n  redundancy with Session.sessionType goes away. NewSession threads\n  newSessionTracer(sessionType) through at the call site.\n- Add a doc comment on the sessionDebug struct pointing at the follow-up\n  PRs where the counter / close-reason / remote-addr writers land.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "15d3965e3c445513c504a278e19e6f09cc476c18",
      "old_mode": 33188,
      "old_path": "bigtable/internal/transport/session.go",
      "new_id": "3b5511135928da98effb7d393009e7315e11508f",
      "new_mode": 33188,
      "new_path": "bigtable/internal/transport/session.go"
    },
    {
      "type": "modify",
      "old_id": "256c3c168b9dcd9d462a6201196f44781c5b3244",
      "old_mode": 33188,
      "old_path": "bigtable/internal/transport/session_debug.go",
      "new_id": "c0d1c239190ae95b9660c36c4186a4c57da5b03e",
      "new_mode": 33188,
      "new_path": "bigtable/internal/transport/session_debug.go"
    }
  ]
}
