)]}'
{
  "commit": "028b64d973ecaf4d0dcb341b32afd0411c9dde60",
  "tree": "5b771e5cf2bbb97c0c8978a878c52294b3571f99",
  "parents": [
    "3f25ccf9d2c7a17e76008da111e7ee79b8d258d1"
  ],
  "author": {
    "name": "Antonio Barone",
    "email": "syntonyze@gmail.com",
    "time": "Thu Nov 06 17:27:36 2025 +0100"
  },
  "committer": {
    "name": "Antonio Barone",
    "email": "syntonyze@gmail.com",
    "time": "Wed Nov 12 00:27:43 2025 -0800"
  },
  "message": "Evaluate submit requirements in submittability checks\n\nThe autosubmitter only evaluated legacy submit records from label\nfunctions and ignored Submit Requirements (SRs). Since Gerrit 3.6, SRs\nare the standard way to define submittability. As a result, the plugin\nattempted to merge changes that were not actually submittable when SRs\nwere unsatisfied.\n\nThis change checks submittability using\nChangeData.submitRequirementsIncludingLegacy() and verifies that each\nrequirement is fulfilled before proceeding. This aligns the plugin’s\nbehavior with Gerrit’s submittability model and prevents premature\nsubmission attempts.\n\nBug: Issue 458294128\nChange-Id: I4df85941ecf518ab2875eeb1ef2a02c0bd4be1b5\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "85d6ff5c7aa206260b47b8685d6a1051396426c8",
      "old_mode": 33188,
      "old_path": "src/main/java/com/criteo/gerrit/plugins/automerge/AtomicityHelper.java",
      "new_id": "70d4385d90c2e2b62d12a3b7853ae3673df56f16",
      "new_mode": 33188,
      "new_path": "src/main/java/com/criteo/gerrit/plugins/automerge/AtomicityHelper.java"
    }
  ]
}
