)]}'
{
  "commit": "4acf00626f50c342dc35f8525732074cf10e4d1a",
  "tree": "4096c36933030c1c238098a7cb2214adc86421c4",
  "parents": [
    "9bca61ef623ea8cd72a906752be73af572af02a9"
  ],
  "author": {
    "name": "Philip Zeyliger",
    "email": "philip@bold.dev",
    "time": "Thu May 22 13:53:46 2025 -0700"
  },
  "committer": {
    "name": "Philip Zeyliger",
    "email": "philip@bold.dev",
    "time": "Thu May 22 13:53:46 2025 -0700"
  },
  "message": "dockerimg: Add race detector support to sketch binary build\n\nRun this with:\n\n\tgo run -race ./cmd/sketch -C $(pwd) -verbose -termui\u003dfalse\n\n-race requires CGO which makes cross compilation miserable, so, we punt,\nand we use the container to do it.\n\nThe big TODO is that there\u0027s no go caching, so it\u0027s kinda slower than it\nneeds to be. This is probably fixable with a docker volume.\n\nWhen the host binary is built with the race detector enabled (-race flag),\nthe inner sketch binary that runs in Docker will also be built with the race\ndetector. This helps with debugging race conditions in the inner binary.\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\nChange-ID: s822ae1a915dcc857k\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c65d36d3185e4b0e06d471cc4466dfe5dfa665ff",
      "old_mode": 33188,
      "old_path": "dockerimg/dockerimg.go",
      "new_id": "8c0758c034c39b3c44883833d99a14b6ef5f4d69",
      "new_mode": 33188,
      "new_path": "dockerimg/dockerimg.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6bcb7546acd0c5e0d91eb1fe40df9eff6bd42bed",
      "new_mode": 33188,
      "new_path": "dockerimg/racedetector.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "90cd251ffdc1c304d11604e5e4a3fdee310e3c48",
      "new_mode": 33188,
      "new_path": "dockerimg/racedetector_race.go"
    }
  ]
}
