)]}'
{
  "commit": "b80b12a71a9584799b03df7d475d3bb69a77d48b",
  "tree": "27bb19dd2c5a286b9331877c6d47a3b07ea801c7",
  "parents": [
    "2fe3c03c92724f693ff89754e9484e9e1845a4aa"
  ],
  "author": {
    "name": "Milutin Kristofic",
    "email": "milutin@google.com",
    "time": "Fri Jul 17 21:56:22 2026 +0200"
  },
  "committer": {
    "name": "Milutin Kristofic",
    "email": "milutin@google.com",
    "time": "Fri Jul 17 22:03:15 2026 +0200"
  },
  "message": "Fix duplicate autosubmit flow creation on view navigation\n\nIn PolyGerrit flows, getChangePrefix() used window.location.pathname\ndirectly without stripping view subpaths. When users checked autosubmit\non a specific patchset, diff range (e.g. /9..10), or file view, the\nautosubmit condition included that view suffix.\n\nNavigating to another view caused getChangePrefix() to evaluate to a\ndifferent URL prefix, making hasAutosubmitFlowAlready() return false.\nThis incorrectly unchecked the autosubmit checkbox and created duplicate\nflows upon re-checking.\n\nNormalize getChangePrefix using CHANGE_PREFIX_PATTERN to strip patchset,\ndiff range, comment ID, and file path subpaths from\nwindow.location.pathname.\n\nRelease-Notes: skip\nGoogle-Bug-Id: b/482366559\nChange-Id: I89fa0ab862d760f5c48ead85e17aabc70e1d2acf\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "300a1b79147ec7787aeedc227c8f38d95606555a",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/models/flows/flows-model.ts",
      "new_id": "83d0c74db2f3700fbfe637e011fd20c2b60d7472",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/models/flows/flows-model.ts"
    },
    {
      "type": "modify",
      "old_id": "2dfe5a727097221688db02f9c9a7d088a0137c63",
      "old_mode": 33188,
      "old_path": "polygerrit-ui/app/models/flows/flows-model_test.ts",
      "new_id": "18c953884bef27bf4efca2bf64f7a2ac2cd622d1",
      "new_mode": 33188,
      "new_path": "polygerrit-ui/app/models/flows/flows-model_test.ts"
    }
  ]
}
