)]}'
{
  "commit": "b948ce813e6c0564b75b92da1cfabfd1fee88a07",
  "tree": "72477324a8790a884908f014c2c3d734fe887809",
  "parents": [
    "bb90be00392b8fb2f697247a0a0534df430ba567"
  ],
  "author": {
    "name": "Aaron Gable",
    "email": "aaron@letsencrypt.org",
    "time": "Fri Sep 24 13:36:57 2021 -0700"
  },
  "committer": {
    "name": "Aaron Gable",
    "email": "aaron@letsencrypt.org",
    "time": "Fri Sep 24 13:41:37 2021 -0700"
  },
  "message": "expiration-mailer: improve search for renewals (#5673)\n\nOverhaul how expiration-mailer checks to see if a `certIsRenewed`.\nFirst, change the helper function to take the list of names (which\ncan be hashed into an fqdnSet) and the issuance date. This allows the\nsearch for renewals to be a much simpler linear scan rather than an\nugly outer left join. Second, update the query to examine both the\n`fqdnSets` and `fqdnSets_old` tables, to account for the fact that\nthis code cares about more time (~90d) than the `fqdnSets` table\ncurrently holds.\n\nAlso export the SA\u0027s `HashNames` method so it can be used by the mailer,\nand update the mailer\u0027s tests to use correct name hashes instead of\nfake human-readable hashes.\n\nFixes #5672\n\n(cherry picked from commit 6c85ae0f2c2f7f644c7a1afeac5f69eee8a8bce0)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f6b02976e7227d02bfdd456a46064203ec8000b8",
      "old_mode": 33188,
      "old_path": "cmd/expiration-mailer/main.go",
      "new_id": "80ac6013e369155f2b53ef48045b90912b06dd88",
      "new_mode": 33188,
      "new_path": "cmd/expiration-mailer/main.go"
    },
    {
      "type": "modify",
      "old_id": "64d90464621361bfcdbb37c398a087e1a9ef4a0e",
      "old_mode": 33188,
      "old_path": "cmd/expiration-mailer/main_test.go",
      "new_id": "fd71dcf9b335e4cb8dc73575dc8979035b60b3dc",
      "new_mode": 33188,
      "new_path": "cmd/expiration-mailer/main_test.go"
    },
    {
      "type": "modify",
      "old_id": "113aa4e5826bb26e73b9f38374b9c4afb6840bc6",
      "old_mode": 33188,
      "old_path": "ra/ra_test.go",
      "new_id": "856ec9502b01572bf88f0b12357f9a6d6f45cd32",
      "new_mode": 33188,
      "new_path": "ra/ra_test.go"
    },
    {
      "type": "modify",
      "old_id": "56f01c58ee5d69d48c76430a95133c5d56cc2257",
      "old_mode": 33188,
      "old_path": "sa/sa.go",
      "new_id": "b0b663e9e11866068feecf48cbdbfefa7f465565",
      "new_mode": 33188,
      "new_path": "sa/sa.go"
    },
    {
      "type": "modify",
      "old_id": "fc35575824a83a987704ffe5ed471be31ea09eab",
      "old_mode": 33188,
      "old_path": "sa/sa_test.go",
      "new_id": "04f922d7c6f0bef6ce729fff6c9697a560eaa8b1",
      "new_mode": 33188,
      "new_path": "sa/sa_test.go"
    }
  ]
}
