)]}'
{
  "commit": "837699bf55d27975e9e5b881b8794683bb1b10c8",
  "tree": "3aa7377ad7d441e10bfd0cf5e5f73a82de198764",
  "parents": [
    "c5848f3cb9753e94feddc04b8910b4ff113a458c"
  ],
  "author": {
    "name": "Josh Bleecher Snyder",
    "email": "josharian@gmail.com",
    "time": "Wed May 28 18:58:17 2025 +0000"
  },
  "committer": {
    "name": "Josh Bleecher Snyder",
    "email": "josharian@gmail.com",
    "time": "Wed May 28 12:01:29 2025 -0700"
  },
  "message": "github: fix Discord notification to handle multiple commits in queue push\n\nPreviously, commit queue pushes only notified about the final commit\ninstead of all commits being pushed to main. We now properly detect and\nnotify about all commits in a queue push in chronological order.\n\nChanges include:\n\n1. Enhanced push step in queue-main.yml and queue-dev.yml:\n   - Capture range of commits being pushed using git log origin/main..COMMIT_TO_PUSH\n   - Use --reverse flag to get commits in chronological order (oldest first)\n   - Store commit list in GITHUB_OUTPUT for notification step\n\n2. Updated Discord notification steps:\n   - Iterate through all commits in the push (not just the final one)\n   - Checkout each commit individually before calling discord_notify.py\n   - Send separate notification for each commit in correct chronological order\n\n3. Proper edge case handling:\n   - Single commit pushes: Works correctly (sends one notification)\n   - Empty pushes: Skips notification when no commits to notify about\n   - Formatted commits: Includes both original and formatting commits\n\nThe fix ensures that when developers push multiple commits to a queue branch\n(e.g., queue-main-username), Discord notifications are sent for each commit\nthat gets pushed to main, not just the latest one. Notifications appear in\nchronological order matching the actual commit sequence.\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\n\nChange-ID: s6a336eb2f945539fk",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9a56ed4b5775cf63c0580d7b65934df740652009",
      "old_mode": 33188,
      "old_path": ".github/workflows/queue-dev.yml",
      "new_id": "87a4353ac5821f6f4e105c469953be06f5e95843",
      "new_mode": 33188,
      "new_path": ".github/workflows/queue-dev.yml"
    },
    {
      "type": "modify",
      "old_id": "64d23c25c4f91f5dfa43218f0ad6225ec69716eb",
      "old_mode": 33188,
      "old_path": ".github/workflows/queue-main.yml",
      "new_id": "26822f20b02e43e88be3f1d7094a7d1eff482dc1",
      "new_mode": 33188,
      "new_path": ".github/workflows/queue-main.yml"
    }
  ]
}
