)]}'
{
  "commit": "18bfc77abd4f27de76b961f5f489b555cefaba44",
  "tree": "b1b0b373c0bdd5927a0cf6171e2385dd7e63c2a6",
  "parents": [
    "c82f779e201b2d22f43b531268cfbd2ce4fbd4ab"
  ],
  "author": {
    "name": "Dmitry Grand (dmgr)",
    "email": "dmgr@google.com",
    "time": "Thu Jul 09 15:00:50 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Jul 09 22:00:50 2026 +0000"
  },
  "message": "Delete legacy flow for closeMqGuardAfterPresubmit \u003d\u003d false (#5101)\n\nDeleting legacy `closeMqGuardAfterPresubmit \u003d false` flow as it obsolete\r\n\r\n**Context:**\r\nWe have 2  different processing flows based on whether `processJobStatusUpdate` config variable is `true` or `false`:\r\n\r\n1. **Legacy**. if `closeMqGuardAfterPresubmit` flag is set to `false` then flow is the following: \r\n\r\n```mermaid\r\nsequenceDiagram\r\n    LUCI-\u003e\u003eCocoon: Build complete\u003cbr/\u003enotification\r\n    Cocoon-\u003e\u003eGithub: Update Check\r\n    Github-\u003e\u003eCocoon: Check complete\u003cbr/\u003enotification\r\n    Note over Cocoon: Check complete processing\r\n    Cocoon-\u003e\u003eGithub: If all success\u003cbr/\u003eunlock merge queue\r\n```\r\n\r\nFor **Check complete processing** `processJobStatusUpdate()` called with `PresubmitJobState` constructed from check using `PresubmitJobState.fromCheckRun()` \r\n\r\n2. **Current**.  if `closeMqGuardAfterPresubmit` flag is set to `true` or for **Unified Check Run** flow :\r\n\r\n```mermaid\r\nsequenceDiagram\r\n    LUCI-\u003e\u003eCocoon: Build complete\u003cbr/\u003enotification\r\n    Note over Cocoon: Build complete processing\r\n    Cocoon-\u003e\u003eGithub: Update Check\u003cbr/\u003eor Job in firestore\r\n    Cocoon-\u003e\u003eGithub: If all success\u003cbr/\u003eunlock merge queue\r\n    Github-\u003e\u003eCocoon: Check complete\u003cbr/\u003enotification\r\n    Note over Cocoon: Ignoring\r\n```",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6aba3c4f2e0859241bdeeeca794c8b90b2d6a4e3",
      "old_mode": 33188,
      "old_path": "app_dart/lib/src/model/common/presubmit_completed_check.dart",
      "new_id": "6de08aab8abb7b7e1f00d66f87f607d0c88c83d8",
      "new_mode": 33188,
      "new_path": "app_dart/lib/src/model/common/presubmit_completed_check.dart"
    },
    {
      "type": "modify",
      "old_id": "5878d321174c8d8768bd6d25a100f0c6e6c77863",
      "old_mode": 33188,
      "old_path": "app_dart/lib/src/request_handlers/presubmit_luci_subscription.dart",
      "new_id": "8a96afcfba4e7e103376de25050e9cd00a98a664",
      "new_mode": 33188,
      "new_path": "app_dart/lib/src/request_handlers/presubmit_luci_subscription.dart"
    },
    {
      "type": "modify",
      "old_id": "ced9831a604b6fce8c0cf0a0eb3b039305de23e4",
      "old_mode": 33188,
      "old_path": "app_dart/lib/src/service/scheduler.dart",
      "new_id": "6a712a3b26de8b214c8aadeaf72a8913874fdcc9",
      "new_mode": 33188,
      "new_path": "app_dart/lib/src/service/scheduler.dart"
    },
    {
      "type": "modify",
      "old_id": "79f2ca50d0537f1b0cdca16fe63e9a5f22b10baf",
      "old_mode": 33188,
      "old_path": "app_dart/test/model/common/presubmit_completed_check_test.dart",
      "new_id": "d2fdc3737f347a4ce8b4957e8a5a274a8b89a8c9",
      "new_mode": 33188,
      "new_path": "app_dart/test/model/common/presubmit_completed_check_test.dart"
    },
    {
      "type": "modify",
      "old_id": "1dfae5195202274e3a5936da560605c5694a5ad6",
      "old_mode": 33188,
      "old_path": "app_dart/test/request_handlers/presubmit_luci_subscription_neutral_test.dart",
      "new_id": "1745802fc0e331bb65e13118938d95be40a448d3",
      "new_mode": 33188,
      "new_path": "app_dart/test/request_handlers/presubmit_luci_subscription_neutral_test.dart"
    },
    {
      "type": "modify",
      "old_id": "54f1bb04768ad11606a069865f925ab688da4804",
      "old_mode": 33188,
      "old_path": "app_dart/test/request_handlers/presubmit_luci_subscription_test.dart",
      "new_id": "b5a25fd417b08b520ed2e701a39e7dbafc0f4ba7",
      "new_mode": 33188,
      "new_path": "app_dart/test/request_handlers/presubmit_luci_subscription_test.dart"
    },
    {
      "type": "modify",
      "old_id": "7f849316c53cdc07b441b740ae9049bf118eb3e9",
      "old_mode": 33188,
      "old_path": "app_dart/test/service/scheduler_test.dart",
      "new_id": "8d801d33476ea231c3933be77910f3a472e5eb7d",
      "new_mode": 33188,
      "new_path": "app_dart/test/service/scheduler_test.dart"
    }
  ]
}
