)]}'
{
  "commit": "f42012d837c1e15e0a598f41b66c999bae6ecb67",
  "tree": "40fa2f0ea0b6e36647c307c1913a916c34b341ae",
  "parents": [
    "ac4c1888e9cb5ad51dffc0e5cd58ca067f189b18"
  ],
  "author": {
    "name": "Kamil Musin",
    "email": "kamilm@google.com",
    "time": "Fri Oct 25 13:16:12 2024 +0200"
  },
  "committer": {
    "name": "Kamil Musin",
    "email": "kamilm@google.com",
    "time": "Fri Oct 25 14:13:27 2024 +0200"
  },
  "message": "Update attention set behaviour when commenting on a thread.\n\nPreviously the rule worked like this:\nWhen reply comment is added on a thread, every previous commenters\n(except for the user leaving a reply) on the thread is added if:\n- They are not the user leaving a reply\n- If thread is unresolved\n- If thread is resolved, and the commenter have not voted Code-Review\n  with a maximum vote yet.\n\nAfter this change:\n- If change owner replies and thread is unresolved: every commenter on\n  the thread is brought back to attention set\n- If change owner replies and thread is resolved: only commenters that\n  haven\u0027t voted Code-Review are brought to attention set\n- If reviewer replies and thread is unresolved, only bring owner to\n  attention set\n- If reviewer replies and thread is resolved, bring all other commenters\n  who haven\u0027t voted Code-Review to attention set.\n\nThe logic doesn\u0027t account for users who don\u0027t have permissions to leave\na max CR vote. But this is the same for the current state as well. This\ncan be a further improvement in the future.\n\nThis is FE-only change, this will affect only comments published via\nWeb-UI. There will be a corresponding check to the BE logic in a\nsubsequent change.\n\nRelease-Notes: Attention set when commenting on a thread takes into\n  account owner and unresolved status.\nGoogle-Bug-Id: b/347949247\nChange-Id: I849a8dda069c74d97c75ce86706f35ea64717670\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9825478a5fc900667c2282c0ec162aa3d9a75934",
      "old_mode": 33188,
      "old_path": "Documentation/user-attention-set.txt",
      "new_id": "469fcddc2ca618c8ee7b849f3f4d30b73929ce18",
      "new_mode": 33188,
      "new_path": "Documentation/user-attention-set.txt"
    },
    {
      "type": "modify",
      "old_id": "c76e928353d571836d10126784bccc1d0fe00b3d",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts",
      "new_id": "e6717b2b678199869267393d265e1c09059af7c7",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog.ts"
    },
    {
      "type": "modify",
      "old_id": "883c5ba716bdb6303ab176e1950533b500680cff",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog_test.ts",
      "new_id": "eea645e627e7bd0c39d2bbf7db9b243c5f9e2fb1",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/elements/change/gr-reply-dialog/gr-reply-dialog_test.ts"
    }
  ]
}
